Public Types | Public Member Functions | Static Public Member Functions | Private Attributes

QCAD::MeshRegion< EvalT, Traits > Class Template Reference

A utility class that encapsulates a defined region of a mesh. More...

#include <QCAD_MeshRegion.hpp>

Collaboration diagram for QCAD::MeshRegion< EvalT, Traits >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef EvalT::ScalarT ScalarT
typedef EvalT::MeshScalarT MeshScalarT

Public Member Functions

 MeshRegion (std::string coordVecName, std::string weightsName, Teuchos::ParameterList &p, const Teuchos::RCP< QCAD::MaterialDatabase > matDB, const Teuchos::RCP< Albany::Layouts > &dl_)
 ~MeshRegion ()
void addDependentFields (PHX::EvaluatorWithBaseImpl< Traits > *evaluator)
void postRegistrationSetup (PHX::FieldManager< Traits > &fm)
bool elementBlockIsInRegion (std::string ebName) const
bool cellIsInRegion (std::size_t cell)

Static Public Member Functions

static Teuchos::RCP< const
Teuchos::ParameterList > 
getValidParameters ()

Private Attributes

std::size_t numQPs
std::size_t numDims
std::string coordVecFieldname
std::string weightsFieldname
PHX::MDField< MeshScalarT,
Cell, QuadPoint, Dim
coordVec
PHX::MDField< MeshScalarT,
Cell, QuadPoint
weights
Teuchos::RCP< Albany::Layoutsdl
std::vector< std::string > ebNames
 Restricting to element blocks.
bool bQuantumEBsOnly
bool limitX
 Restricting to coordinate ranges.
bool limitY
bool limitZ
double xmin
double xmax
double ymin
double ymax
double zmin
double zmax
bool bRestrictToLevelSet
 Restricting to a "boxed" level set of a given field.
std::string levelSetFieldname
double levelSetFieldMin
double levelSetFieldMax
PHX::MDField< ScalarTlevelSetField
Teuchos::RCP
< QCAD::MaterialDatabase
materialDB
 Material database.
PHX::EvaluatorUtilities< EvalT,
Traits > 
utils
 Evaluator utils to hide templating.

Detailed Description

template<typename EvalT, typename Traits>
class QCAD::MeshRegion< EvalT, Traits >

A utility class that encapsulates a defined region of a mesh.

Other evaluators which operator on a mesh region use a MeshRegion instance to determine whether a mesh point lies inside the specified region.

Definition at line 29 of file QCAD_MeshRegion.hpp.


Member Typedef Documentation

template<typename EvalT , typename Traits >
typedef EvalT::ScalarT QCAD::MeshRegion< EvalT, Traits >::ScalarT

Definition at line 32 of file QCAD_MeshRegion.hpp.

template<typename EvalT , typename Traits >
typedef EvalT::MeshScalarT QCAD::MeshRegion< EvalT, Traits >::MeshScalarT

Definition at line 33 of file QCAD_MeshRegion.hpp.


Constructor & Destructor Documentation

template<typename EvalT , typename Traits >
QCAD::MeshRegion< EvalT, Traits >::MeshRegion ( std::string  coordVecName,
std::string  weightsName,
Teuchos::ParameterList &  p,
const Teuchos::RCP< QCAD::MaterialDatabase matDB,
const Teuchos::RCP< Albany::Layouts > &  dl_ 
)

Definition at line 12 of file QCAD_MeshRegion_Def.hpp.

template<typename EvalT , typename Traits >
QCAD::MeshRegion< EvalT, Traits >::~MeshRegion (  )  [inline]

Definition at line 39 of file QCAD_MeshRegion.hpp.


Member Function Documentation

template<typename EvalT , typename Traits >
void QCAD::MeshRegion< EvalT, Traits >::addDependentFields ( PHX::EvaluatorWithBaseImpl< Traits > *  evaluator  ) 

Definition at line 65 of file QCAD_MeshRegion_Def.hpp.

template<typename EvalT , typename Traits >
void QCAD::MeshRegion< EvalT, Traits >::postRegistrationSetup ( PHX::FieldManager< Traits > &  fm  ) 

Definition at line 86 of file QCAD_MeshRegion_Def.hpp.

template<typename EvalT , typename Traits >
bool QCAD::MeshRegion< EvalT, Traits >::elementBlockIsInRegion ( std::string  ebName  )  const

Definition at line 100 of file QCAD_MeshRegion_Def.hpp.

template<typename EvalT , typename Traits >
bool QCAD::MeshRegion< EvalT, Traits >::cellIsInRegion ( std::size_t  cell  ) 

Definition at line 118 of file QCAD_MeshRegion_Def.hpp.

template<typename EvalT , typename Traits >
static Teuchos::RCP<const Teuchos::ParameterList> QCAD::MeshRegion< EvalT, Traits >::getValidParameters (  )  [inline, static]

Definition at line 76 of file QCAD_MeshRegion.hpp.


Member Data Documentation

template<typename EvalT , typename Traits >
std::size_t QCAD::MeshRegion< EvalT, Traits >::numQPs [private]

Definition at line 48 of file QCAD_MeshRegion.hpp.

template<typename EvalT , typename Traits >
std::size_t QCAD::MeshRegion< EvalT, Traits >::numDims [private]

Definition at line 49 of file QCAD_MeshRegion.hpp.

template<typename EvalT , typename Traits >
std::string QCAD::MeshRegion< EvalT, Traits >::coordVecFieldname [private]

Definition at line 50 of file QCAD_MeshRegion.hpp.

template<typename EvalT , typename Traits >
std::string QCAD::MeshRegion< EvalT, Traits >::weightsFieldname [private]

Definition at line 50 of file QCAD_MeshRegion.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<MeshScalarT,Cell,QuadPoint,Dim> QCAD::MeshRegion< EvalT, Traits >::coordVec [private]

Definition at line 51 of file QCAD_MeshRegion.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<MeshScalarT,Cell,QuadPoint> QCAD::MeshRegion< EvalT, Traits >::weights [private]

Definition at line 52 of file QCAD_MeshRegion.hpp.

template<typename EvalT , typename Traits >
Teuchos::RCP<Albany::Layouts> QCAD::MeshRegion< EvalT, Traits >::dl [private]

Definition at line 53 of file QCAD_MeshRegion.hpp.

template<typename EvalT , typename Traits >
std::vector<std::string> QCAD::MeshRegion< EvalT, Traits >::ebNames [private]

Restricting to element blocks.

Definition at line 56 of file QCAD_MeshRegion.hpp.

template<typename EvalT , typename Traits >
bool QCAD::MeshRegion< EvalT, Traits >::bQuantumEBsOnly [private]

Definition at line 57 of file QCAD_MeshRegion.hpp.

template<typename EvalT , typename Traits >
bool QCAD::MeshRegion< EvalT, Traits >::limitX [private]

Restricting to coordinate ranges.

Definition at line 60 of file QCAD_MeshRegion.hpp.

template<typename EvalT , typename Traits >
bool QCAD::MeshRegion< EvalT, Traits >::limitY [private]

Definition at line 60 of file QCAD_MeshRegion.hpp.

template<typename EvalT , typename Traits >
bool QCAD::MeshRegion< EvalT, Traits >::limitZ [private]

Definition at line 60 of file QCAD_MeshRegion.hpp.

template<typename EvalT , typename Traits >
double QCAD::MeshRegion< EvalT, Traits >::xmin [private]

Definition at line 61 of file QCAD_MeshRegion.hpp.

template<typename EvalT , typename Traits >
double QCAD::MeshRegion< EvalT, Traits >::xmax [private]

Definition at line 61 of file QCAD_MeshRegion.hpp.

template<typename EvalT , typename Traits >
double QCAD::MeshRegion< EvalT, Traits >::ymin [private]

Definition at line 61 of file QCAD_MeshRegion.hpp.

template<typename EvalT , typename Traits >
double QCAD::MeshRegion< EvalT, Traits >::ymax [private]

Definition at line 61 of file QCAD_MeshRegion.hpp.

template<typename EvalT , typename Traits >
double QCAD::MeshRegion< EvalT, Traits >::zmin [private]

Definition at line 61 of file QCAD_MeshRegion.hpp.

template<typename EvalT , typename Traits >
double QCAD::MeshRegion< EvalT, Traits >::zmax [private]

Definition at line 61 of file QCAD_MeshRegion.hpp.

template<typename EvalT , typename Traits >
bool QCAD::MeshRegion< EvalT, Traits >::bRestrictToLevelSet [private]

Restricting to a "boxed" level set of a given field.

Definition at line 64 of file QCAD_MeshRegion.hpp.

template<typename EvalT , typename Traits >
std::string QCAD::MeshRegion< EvalT, Traits >::levelSetFieldname [private]

Definition at line 65 of file QCAD_MeshRegion.hpp.

template<typename EvalT , typename Traits >
double QCAD::MeshRegion< EvalT, Traits >::levelSetFieldMin [private]

Definition at line 66 of file QCAD_MeshRegion.hpp.

template<typename EvalT , typename Traits >
double QCAD::MeshRegion< EvalT, Traits >::levelSetFieldMax [private]

Definition at line 66 of file QCAD_MeshRegion.hpp.

template<typename EvalT , typename Traits >
PHX::MDField<ScalarT> QCAD::MeshRegion< EvalT, Traits >::levelSetField [private]

Definition at line 67 of file QCAD_MeshRegion.hpp.

template<typename EvalT , typename Traits >
Teuchos::RCP<QCAD::MaterialDatabase> QCAD::MeshRegion< EvalT, Traits >::materialDB [private]

Material database.

Definition at line 70 of file QCAD_MeshRegion.hpp.

template<typename EvalT , typename Traits >
PHX::EvaluatorUtilities<EvalT,Traits> QCAD::MeshRegion< EvalT, Traits >::utils [private]

Evaluator utils to hide templating.

Definition at line 73 of file QCAD_MeshRegion.hpp.


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