aboutsummaryrefslogtreecommitdiff
path: root/Source/WarpX.H
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WarpX.H')
-rw-r--r--Source/WarpX.H8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/WarpX.H b/Source/WarpX.H
index 8663fd9c4..7d66943d5 100644
--- a/Source/WarpX.H
+++ b/Source/WarpX.H
@@ -596,6 +596,14 @@ public:
amrex::Real const required_precision,
int const max_iters) const;
+ void setPhiBC (amrex::Vector<std::unique_ptr<amrex::MultiFab> >& phi,
+ std::array<bool,AMREX_SPACEDIM> dirichlet_flag,
+ amrex::Array<amrex::Real,AMREX_SPACEDIM> phi_bc_values_lo,
+ amrex::Array<amrex::Real,AMREX_SPACEDIM> phi_bc_values_hi
+ ) const;
+ void getPhiBC (const int idim, amrex::Real &pot_lo,
+ amrex::Real &pot_hi) const;
+
void computeE (amrex::Vector<std::array<std::unique_ptr<amrex::MultiFab>, 3> >& E,
const amrex::Vector<std::unique_ptr<amrex::MultiFab> >& phi,
std::array<amrex::Real, 3> const beta = {{0,0,0}} ) const;