Alamo
Public Types | Public Member Functions | Static Public Attributes | Protected Attributes
BC::Operator::Elastic::Elastic Class Referenceabstract
Inheritance diagram for BC::Operator::Elastic::Elastic:
[legend]

Public Types

enum  Type {
  Displacement, Traction, Periodic, Neumann,
  None
}
 
enum  Direction { AMREX_D_DECL =(X=0,Y=1,Z=2) }
 

Public Member Functions

void SetTime (const Set::Scalar a_time)
 
virtual void Init (amrex::MultiFab *a_rhs, const amrex::Geometry &a_geom, bool a_homogeneous=false) const =0
 
virtual void Init (amrex::FabArray< amrex::BaseFab< Set::Vector >> *a_rhs, const amrex::Geometry &a_geom, bool a_homogeneous=false) const =0
 
void Init (Set::Field< Set::Scalar > &a_rhs, const amrex::Vector< amrex::Geometry > &a_geom, bool a_homogeneous=false) const
 
void Init (Set::Field< Set::Vector > &a_rhs, const amrex::Vector< amrex::Geometry > &a_geom, bool a_homogeneous=false) const
 
virtual std::array< Type, AMREX_SPACEDIM > getType (const int &i, const int &j, const int &k, const amrex::Box &domain)=0
 
virtual Set::Vector operator() (const Set::Vector &u, const Set::Matrix &gradu, const Set::Matrix &sigma, const int &i, const int &j, const int &k, const amrex::Box &domain)=0
 

Static Public Attributes

static const int min = 1
 
static const int max = 2
 

Protected Attributes

Set::Scalar m_time = 0.0
 

Detailed Description

Definition at line 18 of file Elastic.H.

Member Enumeration Documentation

◆ Direction

Enumerator
AMREX_D_DECL 

Definition at line 44 of file Elastic.H.

◆ Type

Enumerator
Displacement 
Traction 
Periodic 
Neumann 
None 

Definition at line 24 of file Elastic.H.

Member Function Documentation

◆ getType()

virtual std::array<Type,AMREX_SPACEDIM> BC::Operator::Elastic::Elastic::getType ( const int &  i,
const int &  j,
const int &  k,
const amrex::Box &  domain 
)
pure virtual

◆ Init() [1/4]

virtual void BC::Operator::Elastic::Elastic::Init ( amrex::FabArray< amrex::BaseFab< Set::Vector >> *  a_rhs,
const amrex::Geometry &  a_geom,
bool  a_homogeneous = false 
) const
pure virtual

◆ Init() [2/4]

virtual void BC::Operator::Elastic::Elastic::Init ( amrex::MultiFab *  a_rhs,
const amrex::Geometry &  a_geom,
bool  a_homogeneous = false 
) const
pure virtual

◆ Init() [3/4]

void BC::Operator::Elastic::Elastic::Init ( Set::Field< Set::Scalar > &  a_rhs,
const amrex::Vector< amrex::Geometry > &  a_geom,
bool  a_homogeneous = false 
) const
inline

Definition at line 60 of file Elastic.H.

Here is the call graph for this function:

◆ Init() [4/4]

void BC::Operator::Elastic::Elastic::Init ( Set::Field< Set::Vector > &  a_rhs,
const amrex::Vector< amrex::Geometry > &  a_geom,
bool  a_homogeneous = false 
) const
inline

Definition at line 69 of file Elastic.H.

Here is the call graph for this function:

◆ operator()()

virtual Set::Vector BC::Operator::Elastic::Elastic::operator() ( const Set::Vector u,
const Set::Matrix gradu,
const Set::Matrix sigma,
const int &  i,
const int &  j,
const int &  k,
const amrex::Box &  domain 
)
pure virtual

◆ SetTime()

void BC::Operator::Elastic::Elastic::SetTime ( const Set::Scalar  a_time)
inline

Definition at line 47 of file Elastic.H.

Field Documentation

◆ m_time

Set::Scalar BC::Operator::Elastic::Elastic::m_time = 0.0
protected

Definition at line 93 of file Elastic.H.

◆ max

const int BC::Operator::Elastic::Elastic::max = 2
static

Definition at line 21 of file Elastic.H.

◆ min

const int BC::Operator::Elastic::Elastic::min = 1
static

Definition at line 21 of file Elastic.H.


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