Panzer
Version of the Day
|
#include <Panzer_FieldManagerBuilder.hpp>
Public Types | |
typedef std::map< unsigned, panzer::Workset > | BCFaceWorksetMap |
Private Member Functions | |
void | setupBCFieldManagers (const std::vector< panzer::BC > &bcs, const std::vector< Teuchos::RCP< panzer::PhysicsBlock > > &physicsBlocks, const Teuchos::Ptr< const panzer::EquationSetFactory > &eqset_factory, const panzer::ClosureModelFactory_TemplateManager< panzer::Traits > &cm_factory, const panzer::BCStrategyFactory &bc_factory, const Teuchos::ParameterList &closure_models, const LinearObjFactory< panzer::Traits > &lo_factory, const Teuchos::ParameterList &user_data) |
void | setKokkosExtendedDataTypeDimensions (const std::string &eblock, const panzer::GlobalIndexer &globalIndexer, const Teuchos::ParameterList &user_data, PHX::FieldManager< panzer::Traits > &fm) const |
Private Attributes | |
std::vector< Teuchos::RCP < PHX::FieldManager < panzer::Traits > > > | phx_volume_field_managers_ |
Phalanx volume field managers for each element block. More... | |
std::vector< WorksetDescriptor > | volume_workset_desc_ |
Matches volume field managers so you can determine the appropriate set of worksets for each field manager. More... | |
std::map< panzer::BC, std::map < unsigned, PHX::FieldManager < panzer::Traits > >, panzer::LessBC > | bc_field_managers_ |
Field managers for the boundary conditions. More... | |
Teuchos::RCP< WorksetContainer > | worksetContainer_ |
bool | disablePhysicsBlockScatter_ |
bool | disablePhysicsBlockGather_ |
std::vector< bool > | active_evaluation_types_ |
Entries correspond to evaluation type mpl vector in traits. A value of true means the evaluation type is active. More... | |
Definition at line 81 of file Panzer_FieldManagerBuilder.hpp.
typedef std::map<unsigned,panzer::Workset> panzer::FieldManagerBuilder::BCFaceWorksetMap |
Definition at line 85 of file Panzer_FieldManagerBuilder.hpp.
panzer::FieldManagerBuilder::FieldManagerBuilder | ( | bool | disablePhysicsBlockScatter = false , |
bool | disablePhysicsBlockGather = false |
||
) |
Definition at line 81 of file Panzer_FieldManagerBuilder.cpp.
void panzer::FieldManagerBuilder::print | ( | std::ostream & | os | ) | const |
Definition at line 74 of file Panzer_FieldManagerBuilder.cpp.
|
inline |
Definition at line 91 of file Panzer_FieldManagerBuilder.hpp.
|
inline |
Definition at line 94 of file Panzer_FieldManagerBuilder.hpp.
|
inline |
Definition at line 97 of file Panzer_FieldManagerBuilder.hpp.
|
inline |
Definition at line 100 of file Panzer_FieldManagerBuilder.hpp.
|
inline |
Definition at line 104 of file Panzer_FieldManagerBuilder.hpp.
|
inline |
Look up field manager by an element block ID.
Definition at line 108 of file Panzer_FieldManagerBuilder.hpp.
|
inline |
Definition at line 120 of file Panzer_FieldManagerBuilder.hpp.
|
inline |
Definition at line 125 of file Panzer_FieldManagerBuilder.hpp.
void panzer::FieldManagerBuilder::setupVolumeFieldManagers | ( | const std::vector< Teuchos::RCP< panzer::PhysicsBlock > > & | physicsBlocks, |
const panzer::ClosureModelFactory_TemplateManager< panzer::Traits > & | cm_factory, | ||
const Teuchos::ParameterList & | closure_models, | ||
const LinearObjFactory< panzer::Traits > & | lo_factory, | ||
const Teuchos::ParameterList & | user_data | ||
) |
Setup the volume field managers. This uses the passed in dofManager
and sets it for permenant use.
Definition at line 184 of file Panzer_FieldManagerBuilder.cpp.
void panzer::FieldManagerBuilder::setupVolumeFieldManagers | ( | const std::vector< Teuchos::RCP< panzer::PhysicsBlock > > & | physicsBlocks, |
const std::vector< WorksetDescriptor > & | wkstDesc, | ||
const panzer::ClosureModelFactory_TemplateManager< panzer::Traits > & | cm_factory, | ||
const Teuchos::ParameterList & | closure_models, | ||
const LinearObjFactory< panzer::Traits > & | lo_factory, | ||
const Teuchos::ParameterList & | user_data, | ||
const GenericEvaluatorFactory & | gEvalFact, | ||
bool | closureModelByEBlock = false |
||
) |
Definition at line 111 of file Panzer_FieldManagerBuilder.cpp.
|
inline |
Build the BC field managers.
Definition at line 153 of file Panzer_FieldManagerBuilder.hpp.
|
inline |
Definition at line 163 of file Panzer_FieldManagerBuilder.hpp.
void panzer::FieldManagerBuilder::writeVolumeGraphvizDependencyFiles | ( | std::string | filename_prefix, |
const std::vector< Teuchos::RCP< panzer::PhysicsBlock > > & | physicsBlocks | ||
) | const |
Definition at line 386 of file Panzer_FieldManagerBuilder.cpp.
void panzer::FieldManagerBuilder::writeBCGraphvizDependencyFiles | ( | std::string | filename_prefix | ) | const |
Definition at line 406 of file Panzer_FieldManagerBuilder.cpp.
void panzer::FieldManagerBuilder::writeVolumeTextDependencyFiles | ( | std::string | filename_prefix, |
const std::vector< Teuchos::RCP< panzer::PhysicsBlock > > & | physicsBlocks | ||
) | const |
Definition at line 437 of file Panzer_FieldManagerBuilder.cpp.
void panzer::FieldManagerBuilder::writeBCTextDependencyFiles | ( | std::string | filename_prefix | ) | const |
Definition at line 465 of file Panzer_FieldManagerBuilder.cpp.
void panzer::FieldManagerBuilder::clearVolumeFieldManagers | ( | bool | clearVolumeWorksets = true | ) |
Delete all volume field managers, retaining the BC ones.
Definition at line 540 of file Panzer_FieldManagerBuilder.cpp.
void panzer::FieldManagerBuilder::setActiveEvaluationTypes | ( | const std::vector< bool > & | aet | ) |
Set a vector of active evaluation types to allocate.
Definition at line 535 of file Panzer_FieldManagerBuilder.cpp.
|
private |
Build the BC field managers. This is the real deal, it correclty handles not having an equation set factory.
Definition at line 202 of file Panzer_FieldManagerBuilder.cpp.
|
private |
Definition at line 503 of file Panzer_FieldManagerBuilder.cpp.
|
private |
Phalanx volume field managers for each element block.
Definition at line 207 of file Panzer_FieldManagerBuilder.hpp.
|
private |
Matches volume field managers so you can determine the appropriate set of worksets for each field manager.
Definition at line 212 of file Panzer_FieldManagerBuilder.hpp.
|
private |
Field managers for the boundary conditions.
key is a panzer::BC object. value is a map of field managers where the key is the local side index used by intrepid
Definition at line 222 of file Panzer_FieldManagerBuilder.hpp.
|
private |
Definition at line 224 of file Panzer_FieldManagerBuilder.hpp.
|
private |
Set to false by default, enables/disables physics block scattering in newly created field managers.
Definition at line 229 of file Panzer_FieldManagerBuilder.hpp.
|
private |
Set to false by default, enables/disables physics block scattering in newly created field managers.
Definition at line 234 of file Panzer_FieldManagerBuilder.hpp.
|
private |
Entries correspond to evaluation type mpl vector in traits. A value of true means the evaluation type is active.
Definition at line 237 of file Panzer_FieldManagerBuilder.hpp.