File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -437,11 +437,11 @@ void PlasmaInjector::setupExternalFile (const amrex::ParmParse& pp_species_name)
437
437
utils::parser::queryWithParser (pp_species_name, " q_tot" , q_tot);
438
438
utils::parser::queryWithParser (pp_species_name, " z_shift" ,z_shift);
439
439
440
+ #ifdef WARPX_USE_OPENPMD
440
441
const bool charge_is_specified = pp_species_name.contains (" charge" );
441
442
const bool mass_is_specified = pp_species_name.contains (" mass" );
442
443
const bool species_is_specified = pp_species_name.contains (" species_type" );
443
444
444
- #ifdef WARPX_USE_OPENPMD
445
445
if (amrex::ParallelDescriptor::IOProcessor ()) {
446
446
m_openpmd_input_series = std::make_unique<openPMD::Series>(
447
447
str_injection_file, openPMD::Access::READ_ONLY);
You can’t perform that action at this time.
0 commit comments