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

Referenced by SolverChoice::display().

Here is the caller graph for this function:

◆ init_params()

void EBChoice::init_params ( std::string  pp_prefix)
inline
26  {
27  amrex::ParmParse pp(pp_prefix);
28 
29  static std::string eb_boundary_type_string = "NoSlipWall";
30  pp.query("eb_boundary_type",eb_boundary_type_string);
31 
32  if (!eb_boundary_type_string.compare("SlipWall")) {
34  } else if (!eb_boundary_type_string.compare("NoSlipWall")) {
36  } else if (!eb_boundary_type_string.compare("SurfaceLayer")) {
38  } else {
39  amrex::Error("Don't know this eb_boundary_type");
40  }
41  }
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: