Alamo
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Attributes
IC::Notch Class Reference

#include <Notch.H>

Inheritance diagram for IC::Notch:
IC::IC< Set::Scalar >

Public Types

enum  Mollifier {
  Dirac , Erf , Gaussian , Cosine ,
  Linear
}
 

Public Member Functions

 Notch (amrex::Vector< amrex::Geometry > &_geom)
 
 Notch (amrex::Vector< amrex::Geometry > &_geom, IO::ParmParse &pp, std::string name)
 
void Add (const int &lev, Set::Field< Set::Scalar > &a_field, Set::Scalar)
 
- Public Member Functions inherited from IC::IC< Set::Scalar >
 IC (amrex::Vector< amrex::Geometry > &_geom)
 
virtual ~IC ()
 
void Add (const int &lev, Set::Field< Set::Scalar > &field)
 
void Initialize (const int &a_lev, Set::Field< Set::Scalar > &a_field, Set::Scalar a_time=0.0)
 
void Initialize (const int &a_lev, Set::Field< Set::Scalar > &a_field, Set::Scalar a_time=0.0)
 
virtual void SetComp (int a_comp) final
 

Static Public Member Functions

static void Parse (Notch &value, IO::ParmParse &pp)
 

Static Public Attributes

static constexpr const char * name = "notch"
 

Private Attributes

amrex::Vector< Set::VectornCenter
 
amrex::Vector< Set::VectornOrientation
 
amrex::Vector< Set::VectornNormal
 
Set::Scalar eps = 1.e-5
 
Set::Scalar eps_sq = eps * eps
 
amrex::Vector< Set::ScalarnThickness
 
amrex::Vector< Set::ScalarnLength
 
amrex::Vector< Set::ScalarnRadius
 
Mollifier moll = Mollifier::Dirac
 

Additional Inherited Members

- Protected Attributes inherited from IC::IC< Set::Scalar >
amrex::Vector< amrex::Geometry > & geom
 
int comp
 

Detailed Description

Definition at line 18 of file Notch.H.

Member Enumeration Documentation

◆ Mollifier

Enumerator
Dirac 
Erf 
Gaussian 
Cosine 
Linear 

Definition at line 24 of file Notch.H.

Constructor & Destructor Documentation

◆ Notch() [1/2]

IC::Notch::Notch ( amrex::Vector< amrex::Geometry > &  _geom)
inline

Definition at line 33 of file Notch.H.

◆ Notch() [2/2]

IC::Notch::Notch ( amrex::Vector< amrex::Geometry > &  _geom,
IO::ParmParse pp,
std::string  name 
)
inline

Definition at line 46 of file Notch.H.

Member Function Documentation

◆ Add()

void IC::Notch::Add ( const int &  lev,
Set::Field< Set::Scalar > &  a_field,
Set::Scalar   
)
inlinevirtual

Implements IC::IC< Set::Scalar >.

Definition at line 52 of file Notch.H.

◆ Parse()

static void IC::Notch::Parse ( Notch value,
IO::ParmParse pp 
)
inlinestatic

Definition at line 368 of file Notch.H.

Field Documentation

◆ eps

Set::Scalar IC::Notch::eps = 1.e-5
private

Definition at line 362 of file Notch.H.

◆ eps_sq

Set::Scalar IC::Notch::eps_sq = eps * eps
private

Definition at line 362 of file Notch.H.

◆ moll

Mollifier IC::Notch::moll = Mollifier::Dirac
private

Definition at line 364 of file Notch.H.

◆ name

constexpr const char* IC::Notch::name = "notch"
staticconstexpr

Definition at line 21 of file Notch.H.

◆ nCenter

amrex::Vector<Set::Vector> IC::Notch::nCenter
private

Definition at line 361 of file Notch.H.

◆ nLength

amrex::Vector<Set::Scalar> IC::Notch::nLength
private

Definition at line 363 of file Notch.H.

◆ nNormal

amrex::Vector<Set::Vector> IC::Notch::nNormal
private

Definition at line 361 of file Notch.H.

◆ nOrientation

amrex::Vector<Set::Vector> IC::Notch::nOrientation
private

Definition at line 361 of file Notch.H.

◆ nRadius

amrex::Vector<Set::Scalar> IC::Notch::nRadius
private

Definition at line 363 of file Notch.H.

◆ nThickness

amrex::Vector<Set::Scalar> IC::Notch::nThickness
private

Definition at line 363 of file Notch.H.


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