|
Teuchos::RCP< const Epetra_Map > | panzer::ModelEvaluator_Epetra::map_x_ |
|
Teuchos::RCP< Epetra_Vector > | panzer::ModelEvaluator_Epetra::x0_ |
|
Teuchos::RCP< Epetra_Vector > | panzer::ModelEvaluator_Epetra::x_dot_init_ |
|
double | panzer::ModelEvaluator_Epetra::t_init_ |
|
Teuchos::RCP< Epetra_Vector > | panzer::ModelEvaluator_Epetra::dummy_f_ |
|
int | panzer::ModelEvaluator_Epetra::addDistributedParameter (const std::string name, const Teuchos::RCP< Epetra_Map > &global_map, const Teuchos::RCP< Epetra_Import > &importer, const Teuchos::RCP< Epetra_Vector > &ghosted_vector) |
|
template<typename ResponseEvaluatorFactory_BuilderT > |
int | panzer::ModelEvaluator_Epetra::addResponse (const std::string &responseName, const std::vector< WorksetDescriptor > &wkst_desc, const ResponseEvaluatorFactory_BuilderT &builder) |
|
void | panzer::ModelEvaluator_Epetra::buildResponses (const std::vector< Teuchos::RCP< panzer::PhysicsBlock > > &physicsBlocks, const panzer::EquationSetFactory &eqset_factory, const panzer::ClosureModelFactory_TemplateManager< panzer::Traits > &cm_factory, const Teuchos::ParameterList &closure_models, const Teuchos::ParameterList &user_data, const bool write_graphviz_file=false, const std::string &graphviz_file_prefix="") |
|
void | panzer::ModelEvaluator_Epetra::buildResponses (const std::vector< Teuchos::RCP< panzer::PhysicsBlock > > &physicsBlocks, const panzer::ClosureModelFactory_TemplateManager< panzer::Traits > &cm_factory, const Teuchos::ParameterList &closure_models, const Teuchos::ParameterList &user_data, const bool write_graphviz_file=false, const std::string &graphviz_file_prefix="") |
|
void | panzer::ModelEvaluator_Epetra::setOneTimeDirichletBeta (const double &beta) const |
|
void | panzer::ModelEvaluator_Epetra::applyDirichletBCs (const Teuchos::RCP< Thyra::VectorBase< double > > &x, const Teuchos::RCP< Thyra::VectorBase< double > > &f) const |
|
void | panzer::ModelEvaluator_Epetra::initializeEpetraObjs (panzer::BlockedEpetraLinearObjFactory< panzer::Traits, int > &lof) |
|
void | panzer::ModelEvaluator_Epetra::initializeParameterVector (const std::vector< Teuchos::RCP< Teuchos::Array< std::string > > > &p_names, const std::vector< Teuchos::RCP< Teuchos::Array< double > > > &p_values, const Teuchos::RCP< panzer::ParamLib > ¶meter_library) |
|
void | panzer::ModelEvaluator_Epetra::evalModel_basic (const InArgs &inArgs, const OutArgs &outArgs) const |
| for evaluation and handling of normal quantities, x,f,W, etc
|
|
void | panzer::ModelEvaluator_Epetra::evalModel_basic_g (AssemblyEngineInArgs ae_inargs, const InArgs &inArgs, const OutArgs &outArgs) const |
|
void | panzer::ModelEvaluator_Epetra::evalModel_basic_dgdx (AssemblyEngineInArgs ae_inargs, const InArgs &inArgs, const OutArgs &outArgs) const |
|
void | panzer::ModelEvaluator_Epetra::evalModel_basic_dfdp (AssemblyEngineInArgs ae_inargs, const InArgs &inArgs, const OutArgs &outArgs) const |
|
bool | panzer::ModelEvaluator_Epetra::required_basic_g (const OutArgs &outArgs) const |
| Are their required responses in the out args? g and DgDx.
|
|
bool | panzer::ModelEvaluator_Epetra::required_basic_dgdx (const OutArgs &outArgs) const |
| Are their required responses in the out args? DgDx.
|
|
bool | panzer::ModelEvaluator_Epetra::required_basic_dfdp (const OutArgs &outArgs) const |
| Are derivatives of the residual with respect to the parameters in the out args? DfDp.
|
|
void | panzer::ModelEvaluator_Epetra::copyEpetraIntoThyra (const Epetra_MultiVector &x, const Teuchos::Ptr< Thyra::VectorBase< double > > &thyraVec) const |
|
void | panzer::ModelEvaluator_Epetra::copyThyraIntoEpetra (const Thyra::VectorBase< double > &thyraVec, Epetra_MultiVector &x) const |
|
int panzer::ModelEvaluator_Epetra::addDistributedParameter |
( |
const std::string | name, |
|
|
const Teuchos::RCP< Epetra_Map > & | global_map, |
|
|
const Teuchos::RCP< Epetra_Import > & | importer, |
|
|
const Teuchos::RCP< Epetra_Vector > & | ghosted_vector ) |
Add a distributed parameter to the model evaluator
Distributed parameters are special in that they most likely will require a global to ghost call before being used in the evaluator. This function registers the parameter and any needed machinery to perform the global to ghost call.
NOTE: We can't use the LinearObjFactory and LinearObjContainers here because those objects require a unique global indexer to build. In general, the distributed parameters may NOT be coming from an object that has an associated unique global indexer. An example of this is multiphysics coupling. The parameters will be coming form another code that may not have a PDE discretization. Generalizing this function to hide the linear algebra type may not be possible unless we refactor the linear object support or write new wrapper objects. Also note that Thyra has no concept of an import/export object so we can't use Thyra here to abstract the objects.
- Parameters
-
[in] | name | Name of the distributed parameter |
[in] | global_map | RCP to Epetra_Map used to construct the global parameter vector. |
[in] | importer | RCP to a Epetra_Import object used for the global to ghost. If set to null, then no global to ghost will be performed. |
[in] | ghosted_vector | RCP to the ghosted vector that is the target of the global to ghost. If set to null, then no global to ghost will be performed. |
- Returns
- The index associated with this parameter for accessing it through the ModelEvaluator interface.
Definition at line 218 of file Panzer_ModelEvaluator_Epetra.cpp.
template<typename ResponseEvaluatorFactory_BuilderT >
int panzer::ModelEvaluator_Epetra::addResponse |
( |
const std::string & | responseName, |
|
|
const std::vector< WorksetDescriptor > & | wkst_desc, |
|
|
const ResponseEvaluatorFactory_BuilderT & | builder ) |
Add a response specified by a list of WorksetDescriptor objects. The specifics of the response are specified by the response factory builder.
NOTE: Response factories must use a response of type ResponseMESupportBase
. This is how the model evaluator parses and puts responses in the right location. If this condition is violated the evalModel
call will fail. Furthermore, this method cannot be called after buildRespones
has been called.
- Parameters
-
[in] | responseName | Name of the response to be added. |
[in] | wkst_desc | A vector of descriptors describing the types of elements that make up the response. |
[in] | builder | Builder that builds the correct response object. |
- Returns
- The index associated with this response for accessing it through the ModelEvaluator interface.
Definition at line 329 of file Panzer_ModelEvaluator_Epetra.hpp.