A utility class that encapsulates a defined region of a mesh. More...
#include <QCAD_MeshRegion.hpp>
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::Layouts > | dl |
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< ScalarT > | levelSetField |
Teuchos::RCP < QCAD::MaterialDatabase > | materialDB |
Material database. | |
PHX::EvaluatorUtilities< EvalT, Traits > | utils |
Evaluator utils to hide templating. |
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.
typedef EvalT::ScalarT QCAD::MeshRegion< EvalT, Traits >::ScalarT |
Definition at line 32 of file QCAD_MeshRegion.hpp.
typedef EvalT::MeshScalarT QCAD::MeshRegion< EvalT, Traits >::MeshScalarT |
Definition at line 33 of file QCAD_MeshRegion.hpp.
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.
QCAD::MeshRegion< EvalT, Traits >::~MeshRegion | ( | ) | [inline] |
Definition at line 39 of file QCAD_MeshRegion.hpp.
void QCAD::MeshRegion< EvalT, Traits >::addDependentFields | ( | PHX::EvaluatorWithBaseImpl< Traits > * | evaluator | ) |
Definition at line 65 of file QCAD_MeshRegion_Def.hpp.
void QCAD::MeshRegion< EvalT, Traits >::postRegistrationSetup | ( | PHX::FieldManager< Traits > & | fm | ) |
Definition at line 86 of file QCAD_MeshRegion_Def.hpp.
bool QCAD::MeshRegion< EvalT, Traits >::elementBlockIsInRegion | ( | std::string | ebName | ) | const |
Definition at line 100 of file QCAD_MeshRegion_Def.hpp.
bool QCAD::MeshRegion< EvalT, Traits >::cellIsInRegion | ( | std::size_t | cell | ) |
Definition at line 118 of file QCAD_MeshRegion_Def.hpp.
static Teuchos::RCP<const Teuchos::ParameterList> QCAD::MeshRegion< EvalT, Traits >::getValidParameters | ( | ) | [inline, static] |
Definition at line 76 of file QCAD_MeshRegion.hpp.
std::size_t QCAD::MeshRegion< EvalT, Traits >::numQPs [private] |
Definition at line 48 of file QCAD_MeshRegion.hpp.
std::size_t QCAD::MeshRegion< EvalT, Traits >::numDims [private] |
Definition at line 49 of file QCAD_MeshRegion.hpp.
std::string QCAD::MeshRegion< EvalT, Traits >::coordVecFieldname [private] |
Definition at line 50 of file QCAD_MeshRegion.hpp.
std::string QCAD::MeshRegion< EvalT, Traits >::weightsFieldname [private] |
Definition at line 50 of file QCAD_MeshRegion.hpp.
PHX::MDField<MeshScalarT,Cell,QuadPoint,Dim> QCAD::MeshRegion< EvalT, Traits >::coordVec [private] |
Definition at line 51 of file QCAD_MeshRegion.hpp.
PHX::MDField<MeshScalarT,Cell,QuadPoint> QCAD::MeshRegion< EvalT, Traits >::weights [private] |
Definition at line 52 of file QCAD_MeshRegion.hpp.
Teuchos::RCP<Albany::Layouts> QCAD::MeshRegion< EvalT, Traits >::dl [private] |
Definition at line 53 of file QCAD_MeshRegion.hpp.
std::vector<std::string> QCAD::MeshRegion< EvalT, Traits >::ebNames [private] |
Restricting to element blocks.
Definition at line 56 of file QCAD_MeshRegion.hpp.
bool QCAD::MeshRegion< EvalT, Traits >::bQuantumEBsOnly [private] |
Definition at line 57 of file QCAD_MeshRegion.hpp.
bool QCAD::MeshRegion< EvalT, Traits >::limitX [private] |
Restricting to coordinate ranges.
Definition at line 60 of file QCAD_MeshRegion.hpp.
bool QCAD::MeshRegion< EvalT, Traits >::limitY [private] |
Definition at line 60 of file QCAD_MeshRegion.hpp.
bool QCAD::MeshRegion< EvalT, Traits >::limitZ [private] |
Definition at line 60 of file QCAD_MeshRegion.hpp.
double QCAD::MeshRegion< EvalT, Traits >::xmin [private] |
Definition at line 61 of file QCAD_MeshRegion.hpp.
double QCAD::MeshRegion< EvalT, Traits >::xmax [private] |
Definition at line 61 of file QCAD_MeshRegion.hpp.
double QCAD::MeshRegion< EvalT, Traits >::ymin [private] |
Definition at line 61 of file QCAD_MeshRegion.hpp.
double QCAD::MeshRegion< EvalT, Traits >::ymax [private] |
Definition at line 61 of file QCAD_MeshRegion.hpp.
double QCAD::MeshRegion< EvalT, Traits >::zmin [private] |
Definition at line 61 of file QCAD_MeshRegion.hpp.
double QCAD::MeshRegion< EvalT, Traits >::zmax [private] |
Definition at line 61 of file QCAD_MeshRegion.hpp.
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.
std::string QCAD::MeshRegion< EvalT, Traits >::levelSetFieldname [private] |
Definition at line 65 of file QCAD_MeshRegion.hpp.
double QCAD::MeshRegion< EvalT, Traits >::levelSetFieldMin [private] |
Definition at line 66 of file QCAD_MeshRegion.hpp.
double QCAD::MeshRegion< EvalT, Traits >::levelSetFieldMax [private] |
Definition at line 66 of file QCAD_MeshRegion.hpp.
PHX::MDField<ScalarT> QCAD::MeshRegion< EvalT, Traits >::levelSetField [private] |
Definition at line 67 of file QCAD_MeshRegion.hpp.
Teuchos::RCP<QCAD::MaterialDatabase> QCAD::MeshRegion< EvalT, Traits >::materialDB [private] |
Material database.
Definition at line 70 of file QCAD_MeshRegion.hpp.
PHX::EvaluatorUtilities<EvalT,Traits> QCAD::MeshRegion< EvalT, Traits >::utils [private] |
Evaluator utils to hide templating.
Definition at line 73 of file QCAD_MeshRegion.hpp.