WarpX
Public Member Functions | Private Attributes | List of all members
ElectrostaticSolver::EBCalcEfromPhiPerLevel Class Reference

#include <ElectrostaticSolver.H>

Public Member Functions

 EBCalcEfromPhiPerLevel (amrex::Vector< amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > > e_field)
 
void operator() (amrex::MLMG &mlmg, int const lev)
 

Private Attributes

amrex::Vector< amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > > m_e_field
 

Detailed Description

use amrex to directly calculate the electric field since with EB's the

simple finite difference scheme in WarpX::computeE sometimes fails

Constructor & Destructor Documentation

◆ EBCalcEfromPhiPerLevel()

ElectrostaticSolver::EBCalcEfromPhiPerLevel::EBCalcEfromPhiPerLevel ( amrex::Vector< amrex::Array< amrex::MultiFab *, AMREX_SPACEDIM > >  e_field)
inline

Member Function Documentation

◆ operator()()

void ElectrostaticSolver::EBCalcEfromPhiPerLevel::operator() ( amrex::MLMG mlmg,
int const  lev 
)
inline

Member Data Documentation

◆ m_e_field

amrex::Vector< amrex::Array<amrex::MultiFab *, AMREX_SPACEDIM> > ElectrostaticSolver::EBCalcEfromPhiPerLevel::m_e_field
private

The documentation for this class was generated from the following file: