Abstract interface for representing a 2-D finite element problem. More...
#include <ThermoElasticityProblem.hpp>
Public Member Functions | |
ThermoElasticityProblem (const Teuchos::RCP< Teuchos::ParameterList > ¶ms, const Teuchos::RCP< ParamLib > ¶mLib, const int numEq) | |
Default constructor. | |
virtual | ~ThermoElasticityProblem () |
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. | |
void | getAllocatedStates (Teuchos::ArrayRCP< Teuchos::ArrayRCP< Teuchos::RCP< Intrepid::FieldContainer< RealType > > > > oldState_, Teuchos::ArrayRCP< Teuchos::ArrayRCP< Teuchos::RCP< Intrepid::FieldContainer< RealType > > > > newState_) const |
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 Albany::MeshSpecsStruct &meshSpecs) |
Protected Attributes | |
bool | haveSource |
Boundary conditions on source term. | |
int | T_offset |
int | X_offset |
int | numDim |
Teuchos::ArrayRCP < Teuchos::ArrayRCP < Teuchos::RCP < Intrepid::FieldContainer < RealType > > > > | oldState |
Teuchos::ArrayRCP < Teuchos::ArrayRCP < Teuchos::RCP < Intrepid::FieldContainer < RealType > > > > | newState |
Private Member Functions | |
ThermoElasticityProblem (const ThermoElasticityProblem &) | |
Private to prohibit copying. | |
ThermoElasticityProblem & | operator= (const ThermoElasticityProblem &) |
Private to prohibit copying. |
Abstract interface for representing a 2-D finite element problem.
Definition at line 29 of file ThermoElasticityProblem.hpp.
Albany::ThermoElasticityProblem::ThermoElasticityProblem | ( | const Teuchos::RCP< Teuchos::ParameterList > & | params, | |
const Teuchos::RCP< ParamLib > & | paramLib, | |||
const int | numEq | |||
) |
Default constructor.
Definition at line 13 of file ThermoElasticityProblem.cpp.
Albany::ThermoElasticityProblem::~ThermoElasticityProblem | ( | ) | [virtual] |
Destructor.
Definition at line 52 of file ThermoElasticityProblem.cpp.
Albany::ThermoElasticityProblem::ThermoElasticityProblem | ( | const ThermoElasticityProblem & | ) | [private] |
Private to prohibit copying.
virtual int Albany::ThermoElasticityProblem::spatialDimension | ( | ) | const [inline, virtual] |
Return number of spatial dimensions.
Implements Albany::AbstractProblem.
Definition at line 42 of file ThermoElasticityProblem.hpp.
void Albany::ThermoElasticityProblem::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 58 of file ThermoElasticityProblem.cpp.
Teuchos::Array< Teuchos::RCP< const PHX::FieldTag > > Albany::ThermoElasticityProblem::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 73 of file ThermoElasticityProblem.cpp.
Teuchos::RCP< const Teuchos::ParameterList > Albany::ThermoElasticityProblem::getValidProblemParameters | ( | ) | const [virtual] |
Each problem must generate it's list of valid parameters.
Reimplemented from Albany::AbstractProblem.
Definition at line 104 of file ThermoElasticityProblem.cpp.
void Albany::ThermoElasticityProblem::getAllocatedStates | ( | Teuchos::ArrayRCP< Teuchos::ArrayRCP< Teuchos::RCP< Intrepid::FieldContainer< RealType > > > > | oldState_, | |
Teuchos::ArrayRCP< Teuchos::ArrayRCP< Teuchos::RCP< Intrepid::FieldContainer< RealType > > > > | newState_ | |||
) | const [virtual] |
Reimplemented from Albany::AbstractProblem.
Definition at line 116 of file ThermoElasticityProblem.cpp.
ThermoElasticityProblem& Albany::ThermoElasticityProblem::operator= | ( | const ThermoElasticityProblem & | ) | [private] |
Private to prohibit copying.
Teuchos::RCP< const PHX::FieldTag > Albany::ThermoElasticityProblem::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 128 of file ThermoElasticityProblem.hpp.
void Albany::ThermoElasticityProblem::constructDirichletEvaluators | ( | const Albany::MeshSpecsStruct & | meshSpecs | ) |
Definition at line 89 of file ThermoElasticityProblem.cpp.
bool Albany::ThermoElasticityProblem::haveSource [protected] |
Boundary conditions on source term.
Definition at line 89 of file ThermoElasticityProblem.hpp.
int Albany::ThermoElasticityProblem::T_offset [protected] |
Definition at line 90 of file ThermoElasticityProblem.hpp.
int Albany::ThermoElasticityProblem::X_offset [protected] |
Definition at line 91 of file ThermoElasticityProblem.hpp.
int Albany::ThermoElasticityProblem::numDim [protected] |
Definition at line 92 of file ThermoElasticityProblem.hpp.
Teuchos::ArrayRCP<Teuchos::ArrayRCP<Teuchos::RCP<Intrepid::FieldContainer<RealType> > > > Albany::ThermoElasticityProblem::oldState [protected] |
Definition at line 94 of file ThermoElasticityProblem.hpp.
Teuchos::ArrayRCP<Teuchos::ArrayRCP<Teuchos::RCP<Intrepid::FieldContainer<RealType> > > > Albany::ThermoElasticityProblem::newState [protected] |
Definition at line 95 of file ThermoElasticityProblem.hpp.