Skip to content

Commit

Permalink
...EJB
Browse files Browse the repository at this point in the history
  • Loading branch information
ebylaska committed Nov 18, 2024
1 parent 6afb6e1 commit d9dc226
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Nwpw/pspw/lib/electron/Electron.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ void Electron_Operators::gen_vall()
// fourier transform k-space potentials ****
mygrid->c_unpack(0,vall);
mygrid->cr_fft3d(vall);
mygrid->r_zero_ends(vall);

// add v_field to vall */
if (mypsp->myefield->efield_on)
Expand All @@ -269,6 +270,7 @@ void Electron_Operators::gen_vall()
mygrid->cc_pack_SMul(0, scal2, vl, vall);
mygrid->c_unpack(0, vall);
mygrid->cr_fft3d(vall);
mygrid->r_zero_ends(vall);

/* add vall += vlr_l + vc */
mygrid->rrr_Sum2Add(vlr_l, vc, vall);
Expand Down

0 comments on commit d9dc226

Please sign in to comment.