diff options
author | 2019-07-12 17:44:25 -0700 | |
---|---|---|
committer | 2019-07-12 18:10:38 -0700 | |
commit | 31edd3bad5d2747c7e045240b488d7fd101f1a30 (patch) | |
tree | 731f8029cfeb4d7fa0f8eab988d15977190a8e1b /Source/Particles/PhysicalParticleContainer.cpp | |
parent | c0d185c22d473bf5e7dc3ade13c8cce580013668 (diff) | |
download | WarpX-31edd3bad5d2747c7e045240b488d7fd101f1a30.tar.gz WarpX-31edd3bad5d2747c7e045240b488d7fd101f1a30.tar.zst WarpX-31edd3bad5d2747c7e045240b488d7fd101f1a30.zip |
Changed nmodes to n_rz_azimuthal_modes
Diffstat (limited to 'Source/Particles/PhysicalParticleContainer.cpp')
-rw-r--r-- | Source/Particles/PhysicalParticleContainer.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Source/Particles/PhysicalParticleContainer.cpp b/Source/Particles/PhysicalParticleContainer.cpp index 93a0ad7ea..aa9fbada7 100644 --- a/Source/Particles/PhysicalParticleContainer.cpp +++ b/Source/Particles/PhysicalParticleContainer.cpp @@ -482,7 +482,7 @@ PhysicalParticleContainer::AddPlasmaCPU (int lev, RealBox part_realbox) // Replace the x and y, setting an angle theta. // These x and y are used to get the momentum and density Real theta; - if (WarpX::nmodes == 1) { + if (WarpX::n_rz_azimuthal_modes == 1) { // With only 1 mode, the angle doesn't matter so // choose it randomly. theta = 2.*MathConst::pi*amrex::Random(); @@ -734,7 +734,7 @@ PhysicalParticleContainer::AddPlasmaGPU (int lev, RealBox part_realbox) // Replace the x and y, setting an angle theta. // These x and y are used to get the momentum and density Real theta; - if (WarpX::nmodes == 1) { + if (WarpX::n_rz_azimuthal_modes == 1) { // With only 1 mode, the angle doesn't matter so // choose it randomly. theta = 2.*MathConst::pi*amrex::Random(); @@ -1156,7 +1156,7 @@ PhysicalParticleContainer::FieldGather (int lev, BL_TO_FORTRAN_ANYD(bxfab), BL_TO_FORTRAN_ANYD(byfab), BL_TO_FORTRAN_ANYD(bzfab), - &WarpX::nmodes, + &WarpX::n_rz_azimuthal_modes, &ll4symtry, &WarpX::l_lower_order_in_v, &WarpX::do_nodal, &lvect_fieldgathe, &WarpX::field_gathering_algo); @@ -1449,7 +1449,7 @@ PhysicalParticleContainer::Evolve (int lev, BL_TO_FORTRAN_ANYD(*bxfab), BL_TO_FORTRAN_ANYD(*byfab), BL_TO_FORTRAN_ANYD(*bzfab), - &WarpX::nmodes, + &WarpX::n_rz_azimuthal_modes, &ll4symtry, &WarpX::l_lower_order_in_v, &WarpX::do_nodal, &lvect_fieldgathe, &WarpX::field_gathering_algo); @@ -1537,7 +1537,7 @@ PhysicalParticleContainer::Evolve (int lev, BL_TO_FORTRAN_ANYD(*cbxfab), BL_TO_FORTRAN_ANYD(*cbyfab), BL_TO_FORTRAN_ANYD(*cbzfab), - &WarpX::nmodes, + &WarpX::n_rz_azimuthal_modes, &ll4symtry, &WarpX::l_lower_order_in_v, &WarpX::do_nodal, &lvect_fieldgathe, &WarpX::field_gathering_algo); } @@ -1879,7 +1879,7 @@ PhysicalParticleContainer::PushP (int lev, Real dt, BL_TO_FORTRAN_ANYD(bxfab), BL_TO_FORTRAN_ANYD(byfab), BL_TO_FORTRAN_ANYD(bzfab), - &WarpX::nmodes, + &WarpX::n_rz_azimuthal_modes, &ll4symtry, &WarpX::l_lower_order_in_v, &WarpX::do_nodal, &lvect_fieldgathe, &WarpX::field_gathering_algo); |