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 49 of file Panzer_FieldManagerBuilder.hpp.
typedef std::map<unsigned,panzer::Workset> panzer::FieldManagerBuilder::BCFaceWorksetMap |
Definition at line 53 of file Panzer_FieldManagerBuilder.hpp.
panzer::FieldManagerBuilder::FieldManagerBuilder | ( | bool | disablePhysicsBlockScatter = false , |
bool | disablePhysicsBlockGather = false |
||
) |
Definition at line 49 of file Panzer_FieldManagerBuilder.cpp.
void panzer::FieldManagerBuilder::print | ( | std::ostream & | os | ) | const |
Definition at line 42 of file Panzer_FieldManagerBuilder.cpp.
|
inline |
Definition at line 59 of file Panzer_FieldManagerBuilder.hpp.
|
inline |
Definition at line 62 of file Panzer_FieldManagerBuilder.hpp.
|
inline |
Definition at line 65 of file Panzer_FieldManagerBuilder.hpp.
|
inline |
Definition at line 68 of file Panzer_FieldManagerBuilder.hpp.
|
inline |
Definition at line 72 of file Panzer_FieldManagerBuilder.hpp.
|
inline |
Look up field manager by an element block ID.
Definition at line 76 of file Panzer_FieldManagerBuilder.hpp.
|
inline |
Definition at line 88 of file Panzer_FieldManagerBuilder.hpp.
|
inline |
Definition at line 93 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 178 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 79 of file Panzer_FieldManagerBuilder.cpp.
|
inline |
Build the BC field managers.
Definition at line 121 of file Panzer_FieldManagerBuilder.hpp.
|
inline |
Definition at line 131 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 380 of file Panzer_FieldManagerBuilder.cpp.
void panzer::FieldManagerBuilder::writeBCGraphvizDependencyFiles | ( | std::string | filename_prefix | ) | const |
Definition at line 400 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 431 of file Panzer_FieldManagerBuilder.cpp.
void panzer::FieldManagerBuilder::writeBCTextDependencyFiles | ( | std::string | filename_prefix | ) | const |
Definition at line 459 of file Panzer_FieldManagerBuilder.cpp.
void panzer::FieldManagerBuilder::clearVolumeFieldManagers | ( | bool | clearVolumeWorksets = true | ) |
Delete all volume field managers, retaining the BC ones.
Definition at line 534 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 529 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 196 of file Panzer_FieldManagerBuilder.cpp.
|
private |
Definition at line 497 of file Panzer_FieldManagerBuilder.cpp.
|
private |
Phalanx volume field managers for each element block.
Definition at line 175 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 180 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 190 of file Panzer_FieldManagerBuilder.hpp.
|
private |
Definition at line 192 of file Panzer_FieldManagerBuilder.hpp.
|
private |
Set to false by default, enables/disables physics block scattering in newly created field managers.
Definition at line 197 of file Panzer_FieldManagerBuilder.hpp.
|
private |
Set to false by default, enables/disables physics block scattering in newly created field managers.
Definition at line 202 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 205 of file Panzer_FieldManagerBuilder.hpp.