Abstract interface for representing a 1-D finite element problem. More...
#include <HydrideProblem.hpp>
Public Member Functions | |
HydrideProblem (const Teuchos::RCP< Teuchos::ParameterList > ¶ms, const Teuchos::RCP< ParamLib > ¶mLib, const int numDim_, const Teuchos::RCP< const Epetra_Comm > &comm_) | |
Default constructor. | |
~HydrideProblem () | |
Destructor. | |
virtual int | spatialDimension () const |
Return number of spatial dimensions. | |
virtual void | buildProblem (Teuchos::ArrayRCP< Teuchos::RCP< Albany::MeshSpecsStruct > > meshSpecs, StateManager &stateMgr) |
Build the PDE instantiations, boundary conditions, and initial solution. | |
virtual Teuchos::Array < Teuchos::RCP< const PHX::FieldTag > > | buildEvaluators (PHX::FieldManager< PHAL::AlbanyTraits > &fm0, const Albany::MeshSpecsStruct &meshSpecs, Albany::StateManager &stateMgr, Albany::FieldManagerChoice fmchoice, const Teuchos::RCP< Teuchos::ParameterList > &responseList) |
Teuchos::RCP< const Teuchos::ParameterList > | getValidProblemParameters () const |
Each problem must generate it's list of valid parameters. | |
template<typename EvalT > | |
Teuchos::RCP< const PHX::FieldTag > | constructEvaluators (PHX::FieldManager< PHAL::AlbanyTraits > &fm0, const Albany::MeshSpecsStruct &meshSpecs, Albany::StateManager &stateMgr, Albany::FieldManagerChoice fmchoice, const Teuchos::RCP< Teuchos::ParameterList > &responseList) |
Main problem setup routine. Not directly called, but indirectly by following functions. | |
void | constructDirichletEvaluators (const std::vector< std::string > &nodeSetIDs) |
void | constructNeumannEvaluators (const Teuchos::RCP< Albany::MeshSpecsStruct > &meshSpecs) |
Protected Attributes | |
int | numDim |
bool | haveNoise |
Teuchos::RCP< const Epetra_Comm > | comm |
Teuchos::RCP< Albany::Layouts > | dl |
Private Member Functions | |
HydrideProblem (const HydrideProblem &) | |
Private to prohibit copying. | |
HydrideProblem & | operator= (const HydrideProblem &) |
Private to prohibit copying. |
Abstract interface for representing a 1-D finite element problem.
Definition at line 26 of file HydrideProblem.hpp.
Albany::HydrideProblem::HydrideProblem | ( | const Teuchos::RCP< Teuchos::ParameterList > & | params, | |
const Teuchos::RCP< ParamLib > & | paramLib, | |||
const int | numDim_, | |||
const Teuchos::RCP< const Epetra_Comm > & | comm_ | |||
) |
Default constructor.
Definition at line 17 of file HydrideProblem.cpp.
Albany::HydrideProblem::~HydrideProblem | ( | ) |
Destructor.
Definition at line 37 of file HydrideProblem.cpp.
Albany::HydrideProblem::HydrideProblem | ( | const HydrideProblem & | ) | [private] |
Private to prohibit copying.
virtual int Albany::HydrideProblem::spatialDimension | ( | ) | const [inline, virtual] |
Return number of spatial dimensions.
Implements Albany::AbstractProblem.
Definition at line 39 of file HydrideProblem.hpp.
void Albany::HydrideProblem::buildProblem | ( | Teuchos::ArrayRCP< Teuchos::RCP< Albany::MeshSpecsStruct > > | meshSpecs, | |
Albany::StateManager & | stateMgr | |||
) | [virtual] |
Build the PDE instantiations, boundary conditions, and initial solution.
Implements Albany::AbstractProblem.
Definition at line 43 of file HydrideProblem.cpp.
Teuchos::Array< Teuchos::RCP< const PHX::FieldTag > > Albany::HydrideProblem::buildEvaluators | ( | PHX::FieldManager< PHAL::AlbanyTraits > & | fm0, | |
const Albany::MeshSpecsStruct & | meshSpecs, | |||
Albany::StateManager & | stateMgr, | |||
Albany::FieldManagerChoice | fmchoice, | |||
const Teuchos::RCP< Teuchos::ParameterList > & | responseList | |||
) | [virtual] |
Implements Albany::AbstractProblem.
Definition at line 68 of file HydrideProblem.cpp.
Teuchos::RCP< const Teuchos::ParameterList > Albany::HydrideProblem::getValidProblemParameters | ( | ) | const [virtual] |
Each problem must generate it's list of valid parameters.
Reimplemented from Albany::AbstractProblem.
Definition at line 181 of file HydrideProblem.cpp.
HydrideProblem& Albany::HydrideProblem::operator= | ( | const HydrideProblem & | ) | [private] |
Private to prohibit copying.
Teuchos::RCP< const PHX::FieldTag > Albany::HydrideProblem::constructEvaluators | ( | PHX::FieldManager< PHAL::AlbanyTraits > & | fm0, | |
const Albany::MeshSpecsStruct & | meshSpecs, | |||
Albany::StateManager & | stateMgr, | |||
Albany::FieldManagerChoice | fmchoice, | |||
const Teuchos::RCP< Teuchos::ParameterList > & | responseList | |||
) |
Main problem setup routine. Not directly called, but indirectly by following functions.
Definition at line 121 of file HydrideProblem.hpp.
void Albany::HydrideProblem::constructDirichletEvaluators | ( | const std::vector< std::string > & | nodeSetIDs | ) |
Definition at line 85 of file HydrideProblem.cpp.
void Albany::HydrideProblem::constructNeumannEvaluators | ( | const Teuchos::RCP< Albany::MeshSpecsStruct > & | meshSpecs | ) |
Definition at line 102 of file HydrideProblem.cpp.
int Albany::HydrideProblem::numDim [protected] |
Definition at line 83 of file HydrideProblem.hpp.
bool Albany::HydrideProblem::haveNoise [protected] |
Definition at line 85 of file HydrideProblem.hpp.
Teuchos::RCP<const Epetra_Comm> Albany::HydrideProblem::comm [protected] |
Definition at line 87 of file HydrideProblem.hpp.
Teuchos::RCP<Albany::Layouts> Albany::HydrideProblem::dl [protected] |
Definition at line 89 of file HydrideProblem.hpp.