Skip to content

Commit 60613fd

Browse files
committed
Clean up const's and some spacing
1 parent 607ba8e commit 60613fd

File tree

2 files changed

+148
-148
lines changed

2 files changed

+148
-148
lines changed

Source/BoundaryConditions/PEC_Insulator.H

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ public:
3333
* split pml field
3434
*/
3535
void ApplyPEC_InsulatortoEfield (std::array<amrex::MultiFab*, 3> Efield,
36-
const amrex::Vector<FieldBoundaryType>& field_boundary_lo,
37-
const amrex::Vector<FieldBoundaryType>& field_boundary_hi,
38-
const amrex::IntVect& ng_fieldgather, const amrex::Geometry& geom,
39-
int lev, PatchType patch_type, const amrex::Vector<amrex::IntVect>& ref_ratios,
40-
bool split_pml_field = false);
36+
amrex::Vector<FieldBoundaryType> const & field_boundary_lo,
37+
amrex::Vector<FieldBoundaryType> const & field_boundary_hi,
38+
amrex::IntVect const & ng_fieldgather, amrex::Geometry const & geom,
39+
int lev, PatchType patch_type, amrex::Vector<amrex::IntVect> const & ref_ratios,
40+
bool split_pml_field = false);
4141
/**
4242
* \brief The magnetic field at the insulator boundary are unchanged.
4343
* The tangential guard cell values are set to the specified values.
@@ -53,11 +53,11 @@ public:
5353
* \param[in] time current time of the simulation
5454
*/
5555
void ApplyPEC_InsulatortoBfield (std::array<amrex::MultiFab*, 3> Bfield,
56-
const amrex::Vector<FieldBoundaryType>& field_boundary_lo,
57-
const amrex::Vector<FieldBoundaryType>& field_boundary_hi,
58-
const amrex::IntVect& ng_fieldgather, const amrex::Geometry& geom,
59-
int lev, PatchType patch_type, const amrex::Vector<amrex::IntVect>& ref_ratios,
60-
amrex::Real time);
56+
amrex::Vector<FieldBoundaryType> const & field_boundary_lo,
57+
amrex::Vector<FieldBoundaryType> const & field_boundary_hi,
58+
amrex::IntVect const & ng_fieldgather, amrex::Geometry const & geom,
59+
int lev, PatchType patch_type, amrex::Vector<amrex::IntVect> const & ref_ratios,
60+
amrex::Real time);
6161

6262
private:
6363

0 commit comments

Comments
 (0)