Panzer
Version of the Day
|
#include <Panzer_ResponseEvaluatorFactory_Functional.hpp>
Public Member Functions | |
ResponseEvaluatorFactory_Functional (MPI_Comm comm, int cubatureDegree=1, bool requiresCellIntegral=true, const std::string &quadPointField="", const Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > &linearObjFactory=Teuchos::null, bool applyDirichletToDerivative=false) | |
virtual | ~ResponseEvaluatorFactory_Functional () |
virtual Teuchos::RCP< ResponseBase > | buildResponseObject (const std::string &responseName) const |
virtual Teuchos::RCP< ResponseBase > | buildResponseObject (const std::string &responseName, const std::vector< WorksetDescriptor > &wkstDesc) const |
virtual void | buildAndRegisterEvaluators (const std::string &responseName, PHX::FieldManager< panzer::Traits > &fm, const panzer::PhysicsBlock &physicsBlock, const Teuchos::ParameterList &user_data) const |
virtual bool | typeSupported () const |
![]() | |
ResponseEvaluatorFactory () | |
virtual | ~ResponseEvaluatorFactory () |
![]() | |
ResponseEvaluatorFactoryBase () | |
virtual | ~ResponseEvaluatorFactoryBase () |
![]() | |
int | setDetailsIndex (const int details_index) |
int | getDetailsIndex () const |
Get the WorksetDetails index. More... | |
Protected Member Functions | |
int | getCubatureDegree () const |
Accessor method for Cubature degree (can be used by sub classes) More... | |
![]() | |
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 |
Private Attributes | |
MPI_Comm | comm_ |
int | cubatureDegree_ |
bool | requiresCellIntegral_ |
std::string | quadPointField_ |
Teuchos::RCP< const panzer::LinearObjFactory< panzer::Traits > > | linearObjFactory_ |
bool | applyDirichletToDerivative_ |
This class defines a response based on a functional.
Definition at line 21 of file Panzer_ResponseEvaluatorFactory_Functional.hpp.
|
inline |
Definition at line 24 of file Panzer_ResponseEvaluatorFactory_Functional.hpp.
|
inlinevirtual |
Definition at line 32 of file Panzer_ResponseEvaluatorFactory_Functional.hpp.
|
virtual |
Build the response object used by this factory. This object assumes the role of the scatter target and will be accessible by all the evaluators in the field managers.
[in] | responseName | Name of response to be built. This name will be used for looking up the response in the GlobalEvaluationDataContainer object. |
Definition at line 20 of file Panzer_ResponseEvaluatorFactory_Functional_impl.hpp.
|
inlinevirtual |
Build the response object used by this factory. This object assumes the role of the scatter target and will be accessible by all the evaluators in the field managers. This is the sideset version of the buildResponseObject function.
[in] | responseName | Name of response to be built. This name will be used for looking up the response in the GlobalEvaluationDataContainer object. |
[in] | wkstdescs | A vector of descriptors for the elements this response is over. |
Implements panzer::ResponseEvaluatorFactory< EvalT >.
Definition at line 45 of file Panzer_ResponseEvaluatorFactory_Functional.hpp.
|
virtual |
Build and register evaluators for a response on a particular physics block.
[in] | responseName | The name of the response to be constructed by these evaluators. |
[in,out] | fm | Field manager to be fuild with the evaluators. |
[in] | physicsBlock | What physics block is being used for constructing the evaluators |
[in] | user_data | The user data parameter list, this stores things that the user may find useful. |
Implements panzer::ResponseEvaluatorFactory< EvalT >.
Definition at line 30 of file Panzer_ResponseEvaluatorFactory_Functional_impl.hpp.
|
virtual |
Is this evaluation type supported by the factory. This is used to determine cases where a response may support a particular evaluation type, however at runtime the user decides not to enable the (say) Jacobian evaluation of this response.
Note that use of this mechanism is complementary to having the builder return Teuchos::null
for a particular evaluation type.
Implements panzer::ResponseEvaluatorFactory< EvalT >.
Definition at line 97 of file Panzer_ResponseEvaluatorFactory_Functional_impl.hpp.
|
inlineprotected |
Accessor method for Cubature degree (can be used by sub classes)
Definition at line 76 of file Panzer_ResponseEvaluatorFactory_Functional.hpp.
|
private |
Definition at line 79 of file Panzer_ResponseEvaluatorFactory_Functional.hpp.
|
private |
Definition at line 80 of file Panzer_ResponseEvaluatorFactory_Functional.hpp.
|
private |
Definition at line 81 of file Panzer_ResponseEvaluatorFactory_Functional.hpp.
|
private |
Definition at line 82 of file Panzer_ResponseEvaluatorFactory_Functional.hpp.
|
private |
Definition at line 83 of file Panzer_ResponseEvaluatorFactory_Functional.hpp.
|
private |
Definition at line 84 of file Panzer_ResponseEvaluatorFactory_Functional.hpp.