WarpX
Classes | Enumerations | Functions
WarpXAlgorithmSelection.H File Reference
#include <AMReX_BaseFwd.H>
#include <string>

Go to the source code of this file.

Classes

struct  MediumForEM
 struct to determine the computational medium, i.e., vacuum or material/macroscopic default is vacuum. More...
 
struct  EvolveScheme
 struct to select the overall evolve scheme More...
 
struct  MacroscopicSolverAlgo
 struct to select algorithm for macroscopic Maxwell solver LaxWendroff (semi-implicit) represents sigma*E = sigma*0.5*(E^(n) + E^(n+1)) Backward Euler (fully-implicit) represents sigma*E = sigma*E^(n+1) default is Backward Euler as it is more robust. More...
 
struct  GridType
 
struct  ElectromagneticSolverAlgo
 
struct  ElectrostaticSolverAlgo
 
struct  PoissonSolverAlgo
 
struct  ParticlePusherAlgo
 
struct  CurrentDepositionAlgo
 
struct  ChargeDepositionAlgo
 
struct  GatheringAlgo
 
struct  PSATDSolutionType
 
struct  JInTime
 
struct  RhoInTime
 
struct  LoadBalanceCostsUpdateAlgo
 
struct  ReductionType
 

Enumerations

enum class  PatchType { fine , coarse }
 
enum class  FieldBoundaryType {
  PML = 0 , Periodic = 1 , PEC = 2 , PMC = 3 ,
  Damped = 4 , Absorbing_SilverMueller = 5 , Neumann = 6 , None = 7 ,
  Open = 8
}
 
enum class  ParticleBoundaryType {
  Absorbing = 0 , Open = 1 , Reflecting = 2 , Periodic = 3 ,
  Thermal = 4
}
 

Functions

int GetAlgorithmInteger (const amrex::ParmParse &pp, const char *pp_search_key)
 
FieldBoundaryType GetFieldBCTypeInteger (std::string BCType)
 
ParticleBoundaryType GetParticleBCTypeInteger (std::string BCType)
 
std::string GetFieldBCTypeString (FieldBoundaryType fb_type)
 

Enumeration Type Documentation

◆ FieldBoundaryType

enum FieldBoundaryType
strong

Field boundary conditions at the domain boundary

Enumerator
PML 
Periodic 
PEC 

perfect electric conductor (PEC) with E_tangential=0

PMC 

perfect magnetic conductor (PMC) with B_tangential=0

Damped 
Absorbing_SilverMueller 
Neumann 
None 
Open 

◆ ParticleBoundaryType

enum ParticleBoundaryType
strong

Particle boundary conditions at the domain boundary

Enumerator
Absorbing 

particles crossing domain boundary are removed

Open 

particles cross domain boundary leave with damped j

Reflecting 

particles are reflected

Periodic 

particles are introduced from the periodic boundary

Thermal 

◆ PatchType

enum PatchType
strong
Enumerator
fine 
coarse 

Function Documentation

◆ GetAlgorithmInteger()

int GetAlgorithmInteger ( const amrex::ParmParse pp,
const char *  pp_search_key 
)

◆ GetFieldBCTypeInteger()

FieldBoundaryType GetFieldBCTypeInteger ( std::string  BCType)

Select BC Type for fields, if field=true else select BCType for particles.

◆ GetFieldBCTypeString()

std::string GetFieldBCTypeString ( FieldBoundaryType  fb_type)

Find the name associated with a BC type

◆ GetParticleBCTypeInteger()

ParticleBoundaryType GetParticleBCTypeInteger ( std::string  BCType)

Select BC Type for particles.