Skip to content

Commit

Permalink
Update DSMC picmi class initialization function (ECP-WarpX#4646)
Browse files Browse the repository at this point in the history
  • Loading branch information
roelof-groenewald authored Jan 29, 2024
1 parent 67c9aa2 commit c9df448
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion Python/pywarpx/picmi.py
Original file line number Diff line number Diff line change
Expand Up @@ -1575,7 +1575,7 @@ def __init__(self, name, species, scattering_processes, ndt=None, **kw):

self.handle_init(kw)

def initialize_inputs(self):
def collision_initialize_inputs(self):
collision = pywarpx.Collisions.newcollision(self.name)
collision.type = 'dsmc'
collision.species = [species.name for species in self.species]
Expand Down
36 changes: 18 additions & 18 deletions Regression/WarpX-tests.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3079,24 +3079,24 @@ doVis = 0
compareParticles = 0
analysisRoutine = Examples/Tests/electrostatic_dirichlet_bc/analysis.py

# [Python_dsmc_1d]
# buildDir = .
# inputFile = Examples/Physics_applications/capacitive_discharge/PICMI_inputs_1d.py
# runtime_params =
# customRunCmd = python3 PICMI_inputs_1d.py --test --dsmc
# dim = 1
# addToCompileString = USE_PYTHON_MAIN=TRUE USE_OPENPMD=TRUE QED=FALSE
# cmakeSetupOpts = -DWarpX_DIMS=1 -DWarpX_APP=OFF -DWarpX_PYTHON=ON -DWarpX_OPENPMD=ON -DWarpX_QED=OFF
# target = pip_install
# restartTest = 0
# useMPI = 1
# numprocs = 2
# useOMP = 1
# numthreads = 1
# compileTest = 0
# doVis = 0
# compareParticles = 0
# analysisRoutine = Examples/Physics_applications/capacitive_discharge/analysis_dsmc.py
[Python_dsmc_1d]
buildDir = .
inputFile = Examples/Physics_applications/capacitive_discharge/PICMI_inputs_1d.py
runtime_params =
customRunCmd = python3 PICMI_inputs_1d.py --test --dsmc
dim = 1
addToCompileString = USE_PYTHON_MAIN=TRUE USE_OPENPMD=TRUE QED=FALSE
cmakeSetupOpts = -DWarpX_DIMS=1 -DWarpX_APP=OFF -DWarpX_PYTHON=ON -DWarpX_OPENPMD=ON -DWarpX_QED=OFF
target = pip_install
restartTest = 0
useMPI = 1
numprocs = 2
useOMP = 1
numthreads = 1
compileTest = 0
doVis = 0
compareParticles = 0
analysisRoutine = Examples/Physics_applications/capacitive_discharge/analysis_dsmc.py

[Python_ElectrostaticSphereEB]
buildDir = .
Expand Down

0 comments on commit c9df448

Please sign in to comment.