Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
panzer::FieldManagerBuilder Class Reference

#include <Panzer_FieldManagerBuilder.hpp>

Public Types

typedef std::map< unsigned,
panzer::Workset
BCFaceWorksetMap
 

Public Member Functions

 FieldManagerBuilder (bool disablePhysicsBlockScatter=false, bool disablePhysicsBlockGather=false)
 
void print (std::ostream &os) const
 
bool physicsBlockScatterDisabled () const
 
bool physicsBlockGatherDisabled () const
 
void setWorksetContainer (const Teuchos::RCP< WorksetContainer > &wc)
 
Teuchos::RCP< WorksetContainergetWorksetContainer () const
 
const std::vector
< Teuchos::RCP
< PHX::FieldManager
< panzer::Traits > > > & 
getVolumeFieldManagers () const
 
Teuchos::RCP
< PHX::FieldManager
< panzer::Traits > > 
getVolumeFieldManager (const WorksetDescriptor &wd) const
 Look up field manager by an element block ID. More...
 
const std::vector
< WorksetDescriptor > & 
getVolumeWorksetDescriptors () const
 
const std::map< panzer::BC,
std::map< unsigned,
PHX::FieldManager
< panzer::Traits >
>, panzer::LessBC > & 
getBCFieldManagers () const
 
void 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)
 
void 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)
 
void setupBCFieldManagers (const std::vector< panzer::BC > &bcs, const std::vector< Teuchos::RCP< panzer::PhysicsBlock > > &physicsBlocks, 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 setupBCFieldManagers (const std::vector< panzer::BC > &bcs, const std::vector< Teuchos::RCP< panzer::PhysicsBlock > > &physicsBlocks, 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 writeVolumeGraphvizDependencyFiles (std::string filename_prefix, const std::vector< Teuchos::RCP< panzer::PhysicsBlock > > &physicsBlocks) const
 
void writeBCGraphvizDependencyFiles (std::string filename_prefix) const
 
void writeVolumeTextDependencyFiles (std::string filename_prefix, const std::vector< Teuchos::RCP< panzer::PhysicsBlock > > &physicsBlocks) const
 
void writeBCTextDependencyFiles (std::string filename_prefix) const
 

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::UniqueGlobalIndexerBase &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< WorksetDescriptorvolume_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< WorksetContainerworksetContainer_
 
bool disablePhysicsBlockScatter_
 
bool disablePhysicsBlockGather_
 

Detailed Description

Definition at line 81 of file Panzer_FieldManagerBuilder.hpp.

Member Typedef Documentation

Definition at line 85 of file Panzer_FieldManagerBuilder.hpp.

Constructor & Destructor Documentation

panzer::FieldManagerBuilder::FieldManagerBuilder ( bool  disablePhysicsBlockScatter = false,
bool  disablePhysicsBlockGather = false 
)
inline

Definition at line 87 of file Panzer_FieldManagerBuilder.hpp.

Member Function Documentation

void panzer::FieldManagerBuilder::print ( std::ostream &  os) const

Definition at line 74 of file Panzer_FieldManagerBuilder.cpp.

bool panzer::FieldManagerBuilder::physicsBlockScatterDisabled ( ) const
inline

Definition at line 93 of file Panzer_FieldManagerBuilder.hpp.

bool panzer::FieldManagerBuilder::physicsBlockGatherDisabled ( ) const
inline

Definition at line 96 of file Panzer_FieldManagerBuilder.hpp.

void panzer::FieldManagerBuilder::setWorksetContainer ( const Teuchos::RCP< WorksetContainer > &  wc)
inline

Definition at line 99 of file Panzer_FieldManagerBuilder.hpp.

Teuchos::RCP<WorksetContainer> panzer::FieldManagerBuilder::getWorksetContainer ( ) const
inline

Definition at line 102 of file Panzer_FieldManagerBuilder.hpp.

const std::vector< Teuchos::RCP< PHX::FieldManager<panzer::Traits> > >& panzer::FieldManagerBuilder::getVolumeFieldManagers ( ) const
inline

Definition at line 107 of file Panzer_FieldManagerBuilder.hpp.

Teuchos::RCP< PHX::FieldManager<panzer::Traits> > panzer::FieldManagerBuilder::getVolumeFieldManager ( const WorksetDescriptor wd) const
inline

Look up field manager by an element block ID.

Definition at line 111 of file Panzer_FieldManagerBuilder.hpp.

const std::vector<WorksetDescriptor>& panzer::FieldManagerBuilder::getVolumeWorksetDescriptors ( ) const
inline

Definition at line 123 of file Panzer_FieldManagerBuilder.hpp.

const std::map<panzer::BC, std::map<unsigned,PHX::FieldManager<panzer::Traits> >, panzer::LessBC>& panzer::FieldManagerBuilder::getBCFieldManagers ( ) const
inline

Definition at line 128 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 149 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 80 of file Panzer_FieldManagerBuilder.cpp.

void panzer::FieldManagerBuilder::setupBCFieldManagers ( const std::vector< panzer::BC > &  bcs,
const std::vector< Teuchos::RCP< panzer::PhysicsBlock > > &  physicsBlocks,
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 
)
inline

Build the BC field managers.

Definition at line 156 of file Panzer_FieldManagerBuilder.hpp.

void panzer::FieldManagerBuilder::setupBCFieldManagers ( const std::vector< panzer::BC > &  bcs,
const std::vector< Teuchos::RCP< panzer::PhysicsBlock > > &  physicsBlocks,
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 
)
inline

Definition at line 166 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 344 of file Panzer_FieldManagerBuilder.cpp.

void panzer::FieldManagerBuilder::writeBCGraphvizDependencyFiles ( std::string  filename_prefix) const

Definition at line 364 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 395 of file Panzer_FieldManagerBuilder.cpp.

void panzer::FieldManagerBuilder::writeBCTextDependencyFiles ( std::string  filename_prefix) const

Definition at line 423 of file Panzer_FieldManagerBuilder.cpp.

void panzer::FieldManagerBuilder::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 
)
private

Build the BC field managers. This is the real deal, it correclty handles not having an equation set factory.

Definition at line 167 of file Panzer_FieldManagerBuilder.cpp.

void panzer::FieldManagerBuilder::setKokkosExtendedDataTypeDimensions ( const std::string &  eblock,
const panzer::UniqueGlobalIndexerBase globalIndexer,
const Teuchos::ParameterList user_data,
PHX::FieldManager< panzer::Traits > &  fm 
) const
private

Definition at line 461 of file Panzer_FieldManagerBuilder.cpp.

Member Data Documentation

std::vector< Teuchos::RCP< PHX::FieldManager<panzer::Traits> > > panzer::FieldManagerBuilder::phx_volume_field_managers_
private

Phalanx volume field managers for each element block.

Definition at line 204 of file Panzer_FieldManagerBuilder.hpp.

std::vector<WorksetDescriptor> panzer::FieldManagerBuilder::volume_workset_desc_
private

Matches volume field managers so you can determine the appropriate set of worksets for each field manager.

Definition at line 209 of file Panzer_FieldManagerBuilder.hpp.

std::map<panzer::BC, std::map<unsigned,PHX::FieldManager<panzer::Traits> >, panzer::LessBC> panzer::FieldManagerBuilder::bc_field_managers_
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 219 of file Panzer_FieldManagerBuilder.hpp.

Teuchos::RCP<WorksetContainer> panzer::FieldManagerBuilder::worksetContainer_
private

Definition at line 221 of file Panzer_FieldManagerBuilder.hpp.

bool panzer::FieldManagerBuilder::disablePhysicsBlockScatter_
private

Set to false by default, enables/disables physics block scattering in newly created field managers.

Definition at line 226 of file Panzer_FieldManagerBuilder.hpp.

bool panzer::FieldManagerBuilder::disablePhysicsBlockGather_
private

Set to false by default, enables/disables physics block scattering in newly created field managers.

Definition at line 231 of file Panzer_FieldManagerBuilder.hpp.


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