|
Panzer Version of the Day
|
A panzer::BCStrategyFactory that contains an internal vector of user BC strategy factories. More...
#include <Panzer_BCStrategy_Factory_Composite.hpp>

Public Member Functions | |
| BCFactoryComposite (const std::vector< Teuchos::RCP< panzer::BCStrategyFactory > > &factories) | |
| Construct from the list of factories to try, in order. | |
| Teuchos::RCP< panzer::BCStrategy_TemplateManager< panzer::Traits > > | buildBCStrategy (const panzer::BC &bc, const Teuchos::RCP< panzer::GlobalData > &global_data) const |
| Builds the BC strategy using the first constituent factory that recognizes the given boundary condition. | |
Public Member Functions inherited from panzer::BCStrategyFactory | |
| BCStrategyFactory () | |
| virtual | ~BCStrategyFactory () |
Private Attributes | |
| std::vector< Teuchos::RCP< panzer::BCStrategyFactory > > | m_bc_strategy_factories |
A panzer::BCStrategyFactory that contains an internal vector of user BC strategy factories.
buildBCStrategy() tries each constituent factory in order and returns the first non-null BC strategy produced; an exception is thrown if none of the factories recognize the given boundary condition's strategy identifier.
Definition at line 28 of file Panzer_BCStrategy_Factory_Composite.hpp.
| panzer::BCFactoryComposite::BCFactoryComposite | ( | const std::vector< Teuchos::RCP< panzer::BCStrategyFactory > > & | factories | ) |
Construct from the list of factories to try, in order.
Definition at line 16 of file Panzer_BCStrategy_Factory_Composite.cpp.
|
virtual |
Builds the BC strategy using the first constituent factory that recognizes the given boundary condition.
| [in] | bc | the boundary condition to build a strategy for; its strategy identifier selects which constituent factory (if any) handles it. |
| [in] | global_data | global data passed through to the constituent factory that builds the strategy. |
Implements panzer::BCStrategyFactory.
Definition at line 23 of file Panzer_BCStrategy_Factory_Composite.cpp.
|
private |
Definition at line 45 of file Panzer_BCStrategy_Factory_Composite.hpp.