ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
EBChoice Struct Reference

#include <ERF_EBStruct.H>

Collaboration diagram for EBChoice:

Public Member Functions

void init_params (std::string pp_prefix)
 
void display ()
 

Public Attributes

EBBoundaryType eb_boundary_type = EBBoundaryType::SlipWall
 

Detailed Description

Container holding EB-related choices

Member Function Documentation

◆ display()

void EBChoice::display ( )
inline
38  {
39  amrex::Print() << "EB choices: " << std::endl;
41  amrex::Print() << " eb_boundary_type : SlipWall" << std::endl;
43  amrex::Print() << " eb_boundary_type : NoSlipWall" << std::endl;
44  }
45  }
EBBoundaryType eb_boundary_type
Definition: ERF_EBStruct.H:47

Referenced by SolverChoice::display().

Here is the caller graph for this function:

◆ init_params()

void EBChoice::init_params ( std::string  pp_prefix)
inline
22  {
23  amrex::ParmParse pp(pp_prefix);
24 
25  static std::string eb_boundary_type_string = "NoSlipWall";
26  pp.query("eb_boundary_type",eb_boundary_type_string);
27 
28  if (!eb_boundary_type_string.compare("SlipWall")) {
30  } else if (!eb_boundary_type_string.compare("NoSlipWall")) {
32  } else {
33  amrex::Error("Don't know this eb_boundary_type");
34  }
35  }
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE amrex::Real pp(amrex::Real y)
Definition: ERF_MicrophysicsUtils.H:233

Referenced by SolverChoice::init_params().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ eb_boundary_type

EBBoundaryType EBChoice::eb_boundary_type = EBBoundaryType::SlipWall

Referenced by display(), and init_params().


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