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
48  {
49  amrex::Print() << "EB choices: " << std::endl;
51  amrex::Print() << " eb_boundary_type : SlipWall" << std::endl;
53  amrex::Print() << " eb_boundary_type : NoSlipWall" << std::endl;
55  amrex::Print() << " eb_boundary_type : SurfaceLayer" << std::endl;
56  }
57  }
EBBoundaryType eb_boundary_type
Definition: ERF_EBStruct.H:59

Referenced by SolverChoice::display().

Here is the caller graph for this function:

◆ init_params()

void EBChoice::init_params ( std::string  pp_prefix)
inline
30  {
31  amrex::ParmParse pp(pp_prefix);
32 
33  static std::string eb_boundary_type_string = "NoSlipWall";
34  pp.query("eb_boundary_type",eb_boundary_type_string);
35 
36  if (!eb_boundary_type_string.compare("SlipWall")) {
38  } else if (!eb_boundary_type_string.compare("NoSlipWall")) {
40  } else if (!eb_boundary_type_string.compare("SurfaceLayer")) {
42  } else {
43  amrex::Error("Don't know this eb_boundary_type");
44  }
45  }
ParmParse pp("prob")

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


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