ImpactX
Namespaces | Classes | Functions
impactx::initialization Namespace Reference

Namespaces

 details
 

Classes

class  AmrCoreData
 

Functions

AmrCoreData init_amr_core ()
 
AmrCoreData amrex_amrcore_gridding ()
 
AmrCoreData one_box_per_rank ()
 
constexpr amrex::RealVect undefined_geometry_prob_lo (-1.0)
 the fake domain size (lower end), used to indicate that the user made no choice for it More...
 
constexpr amrex::RealVect undefined_geometry_prob_hi (1.0)
 the fake domain size (higher end), used to indicate that the user made no choice for it More...
 
void default_init_AMReX (int argc, char *argv[])
 
void default_init_AMReX ()
 
void overwrite_amrex_parser_defaults ()
 

Function Documentation

◆ amrex_amrcore_gridding()

AmrCoreData impactx::initialization::amrex_amrcore_gridding ( )

This lets AMReX AmrCore/AmrMesh build the boxes for each MPI-rank

This uses the regular logic in AmrCore/AmrMesh to grid boxes and refinement levels.

Returns
simulation_geometry the geometry (topology) of the simulation; amr_info contains information on mesh-refinement and box/grid blocks

◆ default_init_AMReX() [1/2]

void impactx::initialization::default_init_AMReX ( int  argc,
char *  argv[] 
)

Initialize AMReX

Initializes AMReX if not already done.

◆ default_init_AMReX() [2/2]

void impactx::initialization::default_init_AMReX ( )

Initialize AMReX

Initializes AMReX if not already done.

◆ init_amr_core()

AmrCoreData impactx::initialization::init_amr_core ( )

This creates AMReX boxes for each MPI-rank

Returns
simulation_geometry the geometry (topology) of the simulation; amr_info contains information on mesh-refinement and box/grid blocks

◆ one_box_per_rank()

AmrCoreData impactx::initialization::one_box_per_rank ( )

This builds one AMReX box per MPI-rank

This is a simple decomposition for particles that we default to if we do not need space charge or load balancing.

Returns
simulation_geometry the geometry (topology) of the simulation; amr_info contains information on mesh-refinement and box/grid blocks

◆ overwrite_amrex_parser_defaults()

void impactx::initialization::overwrite_amrex_parser_defaults ( )

Overwrite defaults in AMReX Inputs

This overwrites defaults in amrex::ParamParse for inputs.

◆ undefined_geometry_prob_hi()

constexpr amrex::RealVect impactx::initialization::undefined_geometry_prob_hi ( 1.  0)

the fake domain size (higher end), used to indicate that the user made no choice for it

◆ undefined_geometry_prob_lo()

constexpr amrex::RealVect impactx::initialization::undefined_geometry_prob_lo ( -1.  0)

the fake domain size (lower end), used to indicate that the user made no choice for it