diff --git a/Examples/Tests/pec/inputs_test_2d_pec_field_insulator b/Examples/Tests/pec/inputs_test_2d_pec_field_insulator index 3629d84a20e..68a8df1b600 100644 --- a/Examples/Tests/pec/inputs_test_2d_pec_field_insulator +++ b/Examples/Tests/pec/inputs_test_2d_pec_field_insulator @@ -14,8 +14,8 @@ geometry.prob_lo = 0. 2.e-2 # physical domain geometry.prob_hi = 1.e-2 3.e-2 # Boundary condition -boundary.field_lo = neumann periodic -boundary.field_hi = pec_insulator periodic +boundary.field_lo = neumann periodic +boundary.field_hi = PECInsulator periodic warpx.serialize_initial_conditions = 1 diff --git a/Source/BoundaryConditions/PEC_Insulator.cpp b/Source/BoundaryConditions/PEC_Insulator.cpp index 141be57feb5..d1e2f11805b 100644 --- a/Source/BoundaryConditions/PEC_Insulator.cpp +++ b/Source/BoundaryConditions/PEC_Insulator.cpp @@ -97,8 +97,8 @@ namespace // Loop over sides, iside = -1 (lo), iside = +1 (hi) for (int iside = -1; iside <= +1; iside += 2) { bool const isPEC_InsulatorBoundary = ( (iside == -1) - ? fbndry_lo[idim] == FieldBoundaryType::PEC_Insulator - : fbndry_hi[idim] == FieldBoundaryType::PEC_Insulator ); + ? fbndry_lo[idim] == FieldBoundaryType::PECInsulator + : fbndry_hi[idim] == FieldBoundaryType::PECInsulator ); if (isPEC_InsulatorBoundary) { isInsulatorBoundary = ( (iside == -1) ? is_insulator_lo[idim] == 1 diff --git a/Source/BoundaryConditions/WarpXFieldBoundaries.cpp b/Source/BoundaryConditions/WarpXFieldBoundaries.cpp index dec78037127..b428dbd2018 100644 --- a/Source/BoundaryConditions/WarpXFieldBoundaries.cpp +++ b/Source/BoundaryConditions/WarpXFieldBoundaries.cpp @@ -91,7 +91,7 @@ void WarpX::ApplyEfieldBoundary(const int lev, PatchType patch_type) } } - if (::isAnyBoundary(field_boundary_lo, field_boundary_hi)) { + if (::isAnyBoundary(field_boundary_lo, field_boundary_hi)) { amrex::Real const tnew = gett_new(lev); if (patch_type == PatchType::fine) { pec_insulator_boundary->ApplyPEC_InsulatortoEfield( @@ -167,7 +167,7 @@ void WarpX::ApplyBfieldBoundary (const int lev, PatchType patch_type, DtType a_d } } - if (::isAnyBoundary(field_boundary_lo, field_boundary_hi)) { + if (::isAnyBoundary(field_boundary_lo, field_boundary_hi)) { amrex::Real const tnew = gett_new(lev); if (patch_type == PatchType::fine) { pec_insulator_boundary->ApplyPEC_InsulatortoBfield( { diff --git a/Source/Utils/WarpXAlgorithmSelection.H b/Source/Utils/WarpXAlgorithmSelection.H index a680fc72a44..088ef295364 100644 --- a/Source/Utils/WarpXAlgorithmSelection.H +++ b/Source/Utils/WarpXAlgorithmSelection.H @@ -132,7 +132,7 @@ AMREX_ENUM(FieldBoundaryType, Open, // Used in the Integrated Green Function Poisson solver // Note that the solver implicitely assumes open BCs: // no need to enforce them separately - PEC_Insulator // Mixed boundary with PEC and insulator + PECInsulator, // Mixed boundary with PEC and insulator Default = PML); /** Particle boundary conditions at the domain boundary