Panzer Version of the Day
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
panzer::response_bc_adapters::BCFactoryResponse Class Reference

BCStrategyFactory that produces a BCStrategy_TemplateManager wrapping the responses registered for each boundary condition. More...

#include <Panzer_ResponseFactory_BCStrategyAdapter.hpp>

Inheritance diagram for panzer::response_bc_adapters::BCFactoryResponse:
Inheritance graph
[legend]

Public Types

typedef std::vector< std::pair< std::string, Teuchos::RCP< ResponseEvaluatorFactory_TemplateManager< panzer::Traits > > > > RespFact_TM_Vector
 
typedef std::unordered_map< BC, Teuchos::RCP< RespFact_TM_Vector >, BC::BCHash, BC::BCEqualityBCHashMap
 

Public Member Functions

 BCFactoryResponse (const BCHashMap &hashMap)
 Construct from the full map of boundary condition to its (response name, factory) pairs.
 
Teuchos::RCP< panzer::BCStrategy_TemplateManager< panzer::Traits > > buildBCStrategy (const panzer::BC &bc, const Teuchos::RCP< panzer::GlobalData > &) const
 Looks up bc in the hash map and builds a BCStrategy_TemplateManager adapting its response factories.
 
- Public Member Functions inherited from panzer::BCStrategyFactory
 BCStrategyFactory ()
 
virtual ~BCStrategyFactory ()
 

Private Attributes

BCHashMap hashMap_
 Map from boundary condition to the responses registered on it.
 

Detailed Description

BCStrategyFactory that produces a BCStrategy_TemplateManager wrapping the responses registered for each boundary condition.

Constructed once with the full map from boundary condition to its associated response factories; buildBCStrategy() then looks up the entry for a given BC and builds the adapter template manager for it.

Definition at line 174 of file Panzer_ResponseFactory_BCStrategyAdapter.hpp.

Member Typedef Documentation

◆ RespFact_TM_Vector

◆ BCHashMap

Constructor & Destructor Documentation

◆ BCFactoryResponse()

panzer::response_bc_adapters::BCFactoryResponse::BCFactoryResponse ( const BCHashMap hashMap)
inline

Construct from the full map of boundary condition to its (response name, factory) pairs.

Definition at line 180 of file Panzer_ResponseFactory_BCStrategyAdapter.hpp.

Member Function Documentation

◆ buildBCStrategy()

Teuchos::RCP< panzer::BCStrategy_TemplateManager< panzer::Traits > > panzer::response_bc_adapters::BCFactoryResponse::buildBCStrategy ( const panzer::BC bc,
const Teuchos::RCP< panzer::GlobalData > &   
) const
inlinevirtual

Looks up bc in the hash map and builds a BCStrategy_TemplateManager adapting its response factories.

Implements panzer::BCStrategyFactory.

Definition at line 185 of file Panzer_ResponseFactory_BCStrategyAdapter.hpp.

Member Data Documentation

◆ hashMap_

BCHashMap panzer::response_bc_adapters::BCFactoryResponse::hashMap_
private

Map from boundary condition to the responses registered on it.

Definition at line 201 of file Panzer_ResponseFactory_BCStrategyAdapter.hpp.


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