Panzer  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
panzer::ClosureModelFactory< EvalT > Class Template Referenceabstract

#include <Panzer_ClosureModel_Factory.hpp>

Inheritance diagram for panzer::ClosureModelFactory< EvalT >:
Inheritance graph
[legend]

Public Member Functions

 ClosureModelFactory (bool throw_if_model_not_found=true)
 
virtual ~ClosureModelFactory ()
 
virtual Teuchos::RCP
< std::vector< Teuchos::RCP
< PHX::Evaluator
< panzer::Traits > > > > 
buildClosureModels (const std::string &model_id, const Teuchos::ParameterList &models, const panzer::FieldLayoutLibrary &fl, const Teuchos::RCP< panzer::IntegrationRule > &ir, const Teuchos::ParameterList &equation_set_params, const Teuchos::ParameterList &user_data, const Teuchos::RCP< panzer::GlobalData > &global_data, PHX::FieldManager< panzer::Traits > &fm) const =0
 
virtual void registerEvaluators (const std::vector< Teuchos::RCP< PHX::Evaluator< panzer::Traits > > > &evaluators, PHX::FieldManager< panzer::Traits > &fm) const
 
virtual void setThrowOnModelNotFound (bool do_throw)
 
- Public Member Functions inherited from panzer::ClosureModelFactoryBase
 ClosureModelFactoryBase ()
 
virtual ~ClosureModelFactoryBase ()
 
- Public Member Functions inherited from panzer::Base
 Base ()
 
virtual ~Base ()
 
- Public Member Functions inherited from panzer::EvaluatorsRegistrar
int setDetailsIndex (const int details_index)
 
int getDetailsIndex () const
 Get the WorksetDetails index. More...
 

Protected Attributes

bool m_throw_if_model_not_found
 

Additional Inherited Members

- 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
 

Detailed Description

template<typename EvalT>
class panzer::ClosureModelFactory< EvalT >

Definition at line 65 of file Panzer_ClosureModel_Factory.hpp.

Constructor & Destructor Documentation

template<typename EvalT >
panzer::ClosureModelFactory< EvalT >::ClosureModelFactory ( bool  throw_if_model_not_found = true)
inline

Definition at line 71 of file Panzer_ClosureModel_Factory.hpp.

template<typename EvalT >
virtual panzer::ClosureModelFactory< EvalT >::~ClosureModelFactory ( )
inlinevirtual

Definition at line 73 of file Panzer_ClosureModel_Factory.hpp.

Member Function Documentation

template<typename EvalT >
virtual Teuchos::RCP< std::vector< Teuchos::RCP<PHX::Evaluator<panzer::Traits> > > > panzer::ClosureModelFactory< EvalT >::buildClosureModels ( const std::string &  model_id,
const Teuchos::ParameterList models,
const panzer::FieldLayoutLibrary fl,
const Teuchos::RCP< panzer::IntegrationRule > &  ir,
const Teuchos::ParameterList equation_set_params,
const Teuchos::ParameterList user_data,
const Teuchos::RCP< panzer::GlobalData > &  global_data,
PHX::FieldManager< panzer::Traits > &  fm 
) const
pure virtual
template<typename EvalT >
virtual void panzer::ClosureModelFactory< EvalT >::registerEvaluators ( const std::vector< Teuchos::RCP< PHX::Evaluator< panzer::Traits > > > &  evaluators,
PHX::FieldManager< panzer::Traits > &  fm 
) const
inlinevirtual

This a convenience function for registering the evaluators. Essentially this facilitates better usage of the ClosureModel TM and allows an easy registration process externally without knowning the compile-time evaluation type.

Parameters
[in]evaluatorsEvaluators to register
[in]fmField manager where the evaluators will be registered on completion.

Implements panzer::ClosureModelFactoryBase.

Definition at line 92 of file Panzer_ClosureModel_Factory.hpp.

template<typename EvalT >
virtual void panzer::ClosureModelFactory< EvalT >::setThrowOnModelNotFound ( bool  do_throw)
inlinevirtual

Definition at line 99 of file Panzer_ClosureModel_Factory.hpp.

Member Data Documentation

template<typename EvalT >
bool panzer::ClosureModelFactory< EvalT >::m_throw_if_model_not_found
protected

Definition at line 68 of file Panzer_ClosureModel_Factory.hpp.


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