|
Panzer
Version of the Day
|
#include <Panzer_BCStrategy_Interface_DefaultImpl.hpp>

Public Member Functions | |
| BCStrategy_Interface_DefaultImpl (const panzer::BC &bc, const Teuchos::RCP< panzer::GlobalData > &global_data) | |
| virtual | ~BCStrategy_Interface_DefaultImpl () |
Public Member Functions inherited from panzer::BCStrategy< EvalT > | |
| BCStrategy (const panzer::BC &bc) | |
| virtual | ~BCStrategy () |
Public Member Functions inherited from panzer::BCStrategyBase | |
| BCStrategyBase () | |
| virtual | ~BCStrategyBase () |
Public Member Functions inherited from panzer::EvaluatorsRegistrar | |
| int | setDetailsIndex (const int details_index) |
| int | getDetailsIndex () const |
| Get the WorksetDetails index. More... | |
Public Member Functions inherited from panzer::GlobalDataAcceptorDefaultImpl | |
| GlobalDataAcceptorDefaultImpl () | |
| GlobalDataAcceptorDefaultImpl (const Teuchos::RCP< panzer::GlobalData > &gd) | |
| ~GlobalDataAcceptorDefaultImpl () | |
| void | setGlobalData (const Teuchos::RCP< panzer::GlobalData > &gd) |
| Teuchos::RCP< panzer::GlobalData > | getGlobalData () const |
Public Member Functions inherited from panzer::GlobalDataAcceptor | |
| virtual | ~GlobalDataAcceptor () |
Public Member Functions inherited from panzer::EvaluatorWithBaseImpl< panzer::Traits > | |
| void | setDetailsIndex (const int di) |
| An evaluator builder sets the details index. More... | |
Public Member Functions inherited from panzer::DomainEvaluator | |
| DomainEvaluator (DomainType domain=ALL) | |
| Constructor. More... | |
| virtual | ~DomainEvaluator ()=default |
| Default destructor. More... | |
| void | setDomain (const DomainType domain) |
| Set the domain for the evaluator. More... | |
| DomainType | getDomain () |
| Get the domain for the evaluator. More... | |
| virtual int | cellStartIndex (const panzer::Workset &workset) const |
| Returns the starting cell for the specified domain for a given workset. More... | |
| virtual int | cellEndIndex (const panzer::Workset &workset) const |
| Returns the non-inclusive end cell for the specified domain for a given workset. More... | |
Private Attributes | |
| std::vector< std::tuple < std::string, std::string, std::string, int, Teuchos::RCP < panzer::PureBasis > , Teuchos::RCP < panzer::IntegrationRule > > > | m_residual_contributions |
| A vector of tuples containing information for each residual contribution for a corresponding interface bc. More... | |
| std::vector< std::string > | m_required_dof_names |
| All DOF field names needed by this BC: this vector is used to build gather evaluators for each DOF. More... | |
Derived from PHX::EvaluatorWithDefaultImpl | |
| virtual void | postRegistrationSetup (typename Traits::SetupData d, PHX::FieldManager< Traits > &vm)=0 |
| virtual void | evaluateFields (typename Traits::EvalData d)=0 |
User Interface methods to provide information to the default implementation to be able to build the default evaluators for an interface BC | |
| virtual void | requireDOFGather (const std::string required_dof_name) |
| Requires that a gather evaluator for the DOF be constructed. More... | |
| virtual void | addResidualContribution (const std::string residual_name, const std::string dof_name, const std::string flux_name, const int integration_order, const panzer::PhysicsBlock &side_pb) |
| Adds a residual contribution for an interface condition to a particular equation. More... | |
| const std::vector< std::tuple < std::string, std::string, std::string, int, Teuchos::RCP < panzer::PureBasis > , Teuchos::RCP < panzer::IntegrationRule > > > | getResidualContributionData () const |
| Returns information for the residual contribution integrations associated with this interface BC. More... | |
Query methods for underlying data | |
| const panzer::BC | bc () const |
| Returns the boundary condition data for this object. More... | |
Utility functions used by default implementation | |
| Teuchos::RCP< panzer::PureBasis > | getBasis (const std::string dof_name, const panzer::PhysicsBlock &side_pb) const |
| Finds the basis for the corresponding dof_name in the physics block. More... | |
| Teuchos::RCP < panzer::IntegrationRule > | buildIntegrationRule (const int integration_order, const panzer::PhysicsBlock &side_pb) const |
| Allocates and returns the integration rule associated with an integration order and side physics block. More... | |
Additional Inherited Members | |
Public Types inherited from panzer::DomainEvaluator | |
| enum | DomainType : int { OWNED =0, GHOST =1, REAL =2, VIRTUAL =3, ALL =4 } |
| Domain types supported by worksets. More... | |
Protected Member Functions inherited from panzer::EvaluatorsRegistrar | |
| EvaluatorsRegistrar () | |
| Default ctor initializes WorksetDetails index to 0. More... | |
| virtual | ~EvaluatorsRegistrar () |
| template<typename EvalT > | |
| void | registerEvaluator (PHX::FieldManager< panzer::Traits > &fm, const Teuchos::RCP< PHX::Evaluator< panzer::Traits > > &op) const |
Protected Attributes inherited from panzer::BCStrategy< EvalT > | |
| const panzer::BC | m_bc |
Protected Attributes inherited from panzer::EvaluatorWithBaseImpl< panzer::Traits > | |
| WorksetDetailsAccessor | wda |
Definition at line 67 of file Panzer_BCStrategy_Interface_DefaultImpl.hpp.
| panzer::BCStrategy_Interface_DefaultImpl< EvalT >::BCStrategy_Interface_DefaultImpl | ( | const panzer::BC & | bc, |
| const Teuchos::RCP< panzer::GlobalData > & | global_data | ||
| ) |
Definition at line 70 of file Panzer_BCStrategy_Interface_DefaultImpl_impl.hpp.
|
virtual |
Definition at line 81 of file Panzer_BCStrategy_Interface_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 89 of file Panzer_BCStrategy_Interface_DefaultImpl_impl.hpp.
|
virtual |
Implements panzer::BCStrategy< EvalT >.
Definition at line 165 of file Panzer_BCStrategy_Interface_DefaultImpl_impl.hpp.
|
virtual |
Implements panzer::BCStrategy< EvalT >.
Definition at line 101 of file Panzer_BCStrategy_Interface_DefaultImpl_impl.hpp.
|
pure virtual |
|
pure virtual |
|
virtual |
Requires that a gather evaluator for the DOF be constructed.
Definition at line 224 of file Panzer_BCStrategy_Interface_DefaultImpl_impl.hpp.
|
virtual |
Adds a residual contribution for an interface condition to a particular equation.
| residual_name | [in] Name of the residual field that is to be scattered to the global residual. |
| dof_name | [in] Name of the DOF residual that the interface contribution should be added to. |
| flux_name | [in] Name of the flux field that will be integrated over to form the residual. |
| integration_order | [in] Order of the integration rule needed to define the data layouts for the flux integration. |
| side_pb | [in] The side physics block. Used to build the PureBasis and IntegrationRule for a residual contribution. |
Definition at line 232 of file Panzer_BCStrategy_Interface_DefaultImpl_impl.hpp.
| const std::vector< std::tuple< std::string, std::string, std::string, int, Teuchos::RCP< panzer::PureBasis >, Teuchos::RCP< panzer::IntegrationRule > > > panzer::BCStrategy_Interface_DefaultImpl< EvalT >::getResidualContributionData | ( | ) | const |
Returns information for the residual contribution integrations associated with this interface BC.
Definition at line 253 of file Panzer_BCStrategy_Interface_DefaultImpl_impl.hpp.
| const panzer::BC panzer::BCStrategy_Interface_DefaultImpl< EvalT >::bc | ( | ) | const |
Returns the boundary condition data for this object.
Definition at line 294 of file Panzer_BCStrategy_Interface_DefaultImpl_impl.hpp.
|
private |
Finds the basis for the corresponding dof_name in the physics block.
Definition at line 262 of file Panzer_BCStrategy_Interface_DefaultImpl_impl.hpp.
|
private |
Allocates and returns the integration rule associated with an integration order and side physics block.
Definition at line 284 of file Panzer_BCStrategy_Interface_DefaultImpl_impl.hpp.
|
private |
A vector of tuples containing information for each residual contribution for a corresponding interface bc.
Each entry in the vector is a different contribution to an individual residual equation. A single interface BC can contribute to multiple equations (e.g. all momentum equations). The tuple has 6 entries, with the indices described below. \param index 0 - Name of the residual field that is to be scattered to the global residual.
| index | 1 - Name of the DOF residual that the interface residual contribution should be added to. |
| index | 2 - Name of the flux field that will be integrated over to form the residual. |
| index | 3 - Order of the integration rule needed to define the data layouts for the flux integration. |
| index | 4 - RCP to the basis for the dof that the interface residual contribution is added to. |
| index | 5 - RCP to the Integration Rule for the side integration for the interface residual contribution. |
Definition at line 182 of file Panzer_BCStrategy_Interface_DefaultImpl.hpp.
|
private |
All DOF field names needed by this BC: this vector is used to build gather evaluators for each DOF.
Definition at line 185 of file Panzer_BCStrategy_Interface_DefaultImpl.hpp.
1.8.5