Panzer Version of the Day
|
#include <Panzer_BCStrategy_Dirichlet_DefaultImpl.hpp>
Classes | |
struct | DOFDescriptor |
Public Member Functions | |
BCStrategy_Dirichlet_DefaultImpl (const panzer::BC &bc, const Teuchos::RCP< panzer::GlobalData > &global_data, const bool check_apply_bc=false) | |
virtual | ~BCStrategy_Dirichlet_DefaultImpl () |
virtual void | setup (const panzer::PhysicsBlock &side_pb, const Teuchos::ParameterList &user_data)=0 |
virtual void | buildAndRegisterEvaluators (PHX::FieldManager< panzer::Traits > &fm, const panzer::PhysicsBlock &pb, const panzer::ClosureModelFactory_TemplateManager< panzer::Traits > &factory, const Teuchos::ParameterList &models, const Teuchos::ParameterList &user_data) const =0 |
virtual void | buildAndRegisterGatherScatterEvaluators (PHX::FieldManager< panzer::Traits > &fm, const panzer::PhysicsBlock &pb, const panzer::LinearObjFactory< panzer::Traits > &lof, const Teuchos::ParameterList &user_data) const |
virtual void | buildAndRegisterScatterEvaluators (PHX::FieldManager< panzer::Traits > &fm, const panzer::PhysicsBlock &side_pb, const LinearObjFactory< panzer::Traits > &lof, const Teuchos::ParameterList &user_data) const |
virtual void | buildAndRegisterGatherAndOrientationEvaluators (PHX::FieldManager< panzer::Traits > &fm, const panzer::PhysicsBlock &side_pb, const LinearObjFactory< panzer::Traits > &lof, const Teuchos::ParameterList &user_data) const |
![]() | |
BCStrategy (const panzer::BC &bc) | |
virtual | ~BCStrategy () |
virtual void | setup (const panzer::PhysicsBlock &side_pb, const Teuchos::ParameterList &user_data)=0 |
virtual void | buildAndRegisterEvaluators (PHX::FieldManager< panzer::Traits > &fm, const panzer::PhysicsBlock &side_pb, const panzer::ClosureModelFactory_TemplateManager< panzer::Traits > &factory, const Teuchos::ParameterList &models, const Teuchos::ParameterList &user_data) const =0 |
virtual void | buildAndRegisterScatterEvaluators (PHX::FieldManager< panzer::Traits > &fm, const panzer::PhysicsBlock &side_pb, const LinearObjFactory< panzer::Traits > &lof, const Teuchos::ParameterList &user_data) const =0 |
virtual void | buildAndRegisterGatherAndOrientationEvaluators (PHX::FieldManager< panzer::Traits > &fm, const panzer::PhysicsBlock &side_pb, const LinearObjFactory< panzer::Traits > &lof, const Teuchos::ParameterList &user_data) const =0 |
![]() | |
BCStrategyBase () | |
virtual | ~BCStrategyBase () |
virtual void | setup (const panzer::PhysicsBlock &side_pb, const Teuchos::ParameterList &user_data)=0 |
virtual void | buildAndRegisterEvaluators (PHX::FieldManager< panzer::Traits > &fm, const panzer::PhysicsBlock &side_pb, const panzer::ClosureModelFactory_TemplateManager< panzer::Traits > &factory, const Teuchos::ParameterList &models, const Teuchos::ParameterList &user_data) const =0 |
virtual void | buildAndRegisterScatterEvaluators (PHX::FieldManager< panzer::Traits > &fm, const panzer::PhysicsBlock &side_pb, const LinearObjFactory< panzer::Traits > &lof, const Teuchos::ParameterList &user_data) const =0 |
virtual void | buildAndRegisterGatherAndOrientationEvaluators (PHX::FieldManager< panzer::Traits > &fm, const panzer::PhysicsBlock &side_pb, const LinearObjFactory< panzer::Traits > &lof, const Teuchos::ParameterList &user_data) const =0 |
![]() | |
int | setDetailsIndex (const int details_index) |
int | getDetailsIndex () const |
Get the WorksetDetails index. | |
![]() | |
GlobalDataAcceptorDefaultImpl () | |
GlobalDataAcceptorDefaultImpl (const Teuchos::RCP< panzer::GlobalData > &gd) | |
~GlobalDataAcceptorDefaultImpl () | |
void | setGlobalData (const Teuchos::RCP< panzer::GlobalData > &gd) |
Teuchos::RCP< panzer::GlobalData > | getGlobalData () const |
![]() | |
virtual | ~GlobalDataAcceptor () |
virtual void | setGlobalData (const Teuchos::RCP< panzer::GlobalData > &gd)=0 |
virtual Teuchos::RCP< panzer::GlobalData > | getGlobalData () const =0 |
Protected Types | |
typedef std::map< std::string, DOFDescriptor >::const_iterator | DescriptorIterator |
For convenience, declare the DOFDescriptor iterator. | |
Protected Member Functions | |
void | buildDescriptorMapFromVectors () const |
void | addDOF (const std::string &dofName) |
void | addCoefficientTarget (const std::string &targetName, const std::string &dofName, const std::string &residualName="") |
void | addTarget (const std::string &targetName, const std::string &dofName, const std::string &residualName="") |
void | addDotTarget (const std::string &targetName, const std::string &dofName, const std::string &dotName="", const std::string &residualName="") |
![]() | |
EvaluatorsRegistrar () | |
Default ctor initializes WorksetDetails index to 0. | |
virtual | ~EvaluatorsRegistrar () |
template<typename EvalT > | |
void | registerEvaluator (PHX::FieldManager< panzer::Traits > &fm, const Teuchos::RCP< PHX::Evaluator< panzer::Traits > > &op) const |
Protected Attributes | |
std::map< std::string, DOFDescriptor > | m_provided_dofs_desc |
std::vector< std::string > | required_dof_names |
std::map< std::string, std::string > | residual_to_dof_names_map |
std::map< std::string, std::string > | residual_to_target_field_map |
bool | check_apply_bc |
bool | descriptor_map_built |
![]() | |
const panzer::BC | m_bc |
Definition at line 62 of file Panzer_BCStrategy_Dirichlet_DefaultImpl.hpp.
|
protected |
For convenience, declare the DOFDescriptor iterator.
Definition at line 134 of file Panzer_BCStrategy_Dirichlet_DefaultImpl.hpp.
panzer::BCStrategy_Dirichlet_DefaultImpl< EvalT >::BCStrategy_Dirichlet_DefaultImpl | ( | const panzer::BC & | bc, |
const Teuchos::RCP< panzer::GlobalData > & | global_data, | ||
const bool | check_apply_bc = false |
||
) |
Definition at line 77 of file Panzer_BCStrategy_Dirichlet_DefaultImpl_impl.hpp.
|
virtual |
Definition at line 91 of file Panzer_BCStrategy_Dirichlet_DefaultImpl_impl.hpp.
|
pure virtual |
Must be called before this->buildAndRegisterEvaluators() and this->buildAndRegisterGatherScatterEvaluators().
Implements panzer::BCStrategy< EvalT >.
|
pure virtual |
Implements panzer::BCStrategy< EvalT >.
|
virtual |
Definition at line 99 of file Panzer_BCStrategy_Dirichlet_DefaultImpl_impl.hpp.
|
virtual |
Implements panzer::BCStrategy< EvalT >.
Definition at line 115 of file Panzer_BCStrategy_Dirichlet_DefaultImpl_impl.hpp.
|
virtual |
Implements panzer::BCStrategy< EvalT >.
Definition at line 206 of file Panzer_BCStrategy_Dirichlet_DefaultImpl_impl.hpp.
|
protected |
This is to support backward compatibility and allow a migration path from the old protected data approach of specifying the inputs and outputs of this class.
Definition at line 413 of file Panzer_BCStrategy_Dirichlet_DefaultImpl_impl.hpp.
|
protected |
Definition at line 452 of file Panzer_BCStrategy_Dirichlet_DefaultImpl_impl.hpp.
|
protected |
Alert the panzer library that the DOF should be evaluated using a coefficient residual as opposed to evaluating the basis and forcing the value to be equal at some point in the element.
[in] | targetName | (Required) Name of field that corresponds to the evaluated dirichlet condition. This exists only in the PHX::FieldManager and is required to be distinct from the dofName . |
[in] | dofName | (Required) Name of field to lookup in the unique global indexer. The |
[in] | residualName | (Optional) Name of field that is to be scattered associated with this DOF. If not supplied or an empty string used, the default is to add the prefix "RESIDUAL_" to the dofName for the residual field name. |
Definition at line 482 of file Panzer_BCStrategy_Dirichlet_DefaultImpl_impl.hpp.
|
protected |
Alert the panzer library of a DOF that is required by this boundary condition. This automatically sets up the gather/scatter routines neccessary to evaluate and assemble with this unknown.
[in] | targetName | (Required) Name of field that corresponds to the evaluated dirichlet condition. This exists only in the PHX::FieldManager and is required to be distinct from the dofName . |
[in] | dofName | (Required) Name of field to lookup in the unique global indexer. The |
[in] | residualName | (Optional) Name of field that is to be scattered associated with this DOF. If not supplied or an empty string used, the default is to add the prefix "RESIDUAL_" to the dofName for the residual field name. |
Definition at line 465 of file Panzer_BCStrategy_Dirichlet_DefaultImpl_impl.hpp.
|
protected |
Alert the panzer library that the time derivative of a DOF is required by this boundary condition. This automatically sets up the gather/scatter routines neccessary to evaluate and assemble with this unknown.
[in] | targetName | (Required) Name of field that corresponds to the evaluated dirichlet condition. This exists only in the PHX::FieldManager and is required to be distinct from the dofName . |
[in] | dofName | (Required) Name of field to lookup in the unique global indexer. The |
[in] | residualName | (Optional) Name of field that is to be scattered associated with this DOF. If not supplied or an empty string used, the default is to add the prefix "RESIDUAL_" to the dofName for the residual field name. |
Definition at line 501 of file Panzer_BCStrategy_Dirichlet_DefaultImpl_impl.hpp.
|
protected |
Definition at line 193 of file Panzer_BCStrategy_Dirichlet_DefaultImpl.hpp.
|
protected |
Definition at line 195 of file Panzer_BCStrategy_Dirichlet_DefaultImpl.hpp.
|
protected |
Definition at line 196 of file Panzer_BCStrategy_Dirichlet_DefaultImpl.hpp.
|
protected |
Definition at line 197 of file Panzer_BCStrategy_Dirichlet_DefaultImpl.hpp.
|
protected |
Definition at line 198 of file Panzer_BCStrategy_Dirichlet_DefaultImpl.hpp.
|
mutableprotected |
Definition at line 199 of file Panzer_BCStrategy_Dirichlet_DefaultImpl.hpp.