Skip to content

Commit

Permalink
Fix FFT python interface, take 2 (#5081)
Browse files Browse the repository at this point in the history
  • Loading branch information
archermarx authored Jul 29, 2024
1 parent b1e7932 commit e26f7ef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Python/pywarpx/picmi.py
Original file line number Diff line number Diff line change
Expand Up @@ -1351,6 +1351,9 @@ def init(self, kw):

def solver_initialize_inputs(self):

# Open BC means FieldBoundaryType::Open for electrostatic sims, rather than perfectly-matched layer
BC_map['open'] = 'open'

self.grid.grid_initialize_inputs()

if self.relativistic:
Expand All @@ -1371,6 +1374,8 @@ def solver_initialize_inputs(self):
pywarpx.boundary.potential_hi_y = self.grid.potential_ymax
pywarpx.boundary.potential_hi_z = self.grid.potential_zmax

pywarpx.warpx.poisson_solver = self.method


class GaussianLaser(picmistandard.PICMI_GaussianLaser):
def laser_initialize_inputs(self):
Expand Down

0 comments on commit e26f7ef

Please sign in to comment.