Abstract interface for representing a 2-D finite element problem. More...
#include <ElasticityProblem.hpp>
Public Member Functions | |
ElasticityProblem (const Teuchos::RCP< Teuchos::ParameterList > ¶ms_, const Teuchos::RCP< ParamLib > ¶mLib_, const int numDim_) | |
Default constructor. | |
virtual | ~ElasticityProblem () |
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) |
void | constructNeumannEvaluators (const Teuchos::RCP< Albany::MeshSpecsStruct > &meshSpecs) |
Protected Attributes | |
bool | haveSource |
Boundary conditions on source term. | |
int | numDim |
bool | computeError |
Compute exact error in displacement solution. | |
std::string | matModel |
Teuchos::RCP< Albany::Layouts > | dl |
Teuchos::ArrayRCP < Teuchos::ArrayRCP < Teuchos::RCP < Intrepid::FieldContainer < RealType > > > > | oldState |
Teuchos::ArrayRCP < Teuchos::ArrayRCP < Teuchos::RCP < Intrepid::FieldContainer < RealType > > > > | newState |
Private Member Functions | |
ElasticityProblem (const ElasticityProblem &) | |
Private to prohibit copying. | |
ElasticityProblem & | operator= (const ElasticityProblem &) |
Private to prohibit copying. |
Abstract interface for representing a 2-D finite element problem.
Definition at line 27 of file ElasticityProblem.hpp.
Albany::ElasticityProblem::ElasticityProblem | ( | const Teuchos::RCP< Teuchos::ParameterList > & | params_, | |
const Teuchos::RCP< ParamLib > & | paramLib_, | |||
const int | numDim_ | |||
) |
Default constructor.
Definition at line 11 of file ElasticityProblem.cpp.
Albany::ElasticityProblem::~ElasticityProblem | ( | ) | [virtual] |
Destructor.
Definition at line 49 of file ElasticityProblem.cpp.
Albany::ElasticityProblem::ElasticityProblem | ( | const ElasticityProblem & | ) | [private] |
Private to prohibit copying.
virtual int Albany::ElasticityProblem::spatialDimension | ( | ) | const [inline, virtual] |
Return number of spatial dimensions.
Implements Albany::AbstractProblem.
Definition at line 40 of file ElasticityProblem.hpp.
void Albany::ElasticityProblem::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 55 of file ElasticityProblem.cpp.
Teuchos::Array< Teuchos::RCP< const PHX::FieldTag > > Albany::ElasticityProblem::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 80 of file ElasticityProblem.cpp.
Teuchos::RCP< const Teuchos::ParameterList > Albany::ElasticityProblem::getValidProblemParameters | ( | ) | const [virtual] |
Each problem must generate it's list of valid parameters.
Reimplemented from Albany::AbstractProblem.
Definition at line 182 of file ElasticityProblem.cpp.
void Albany::ElasticityProblem::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 233 of file ElasticityProblem.cpp.
ElasticityProblem& Albany::ElasticityProblem::operator= | ( | const ElasticityProblem & | ) | [private] |
Private to prohibit copying.
Teuchos::RCP< const PHX::FieldTag > Albany::ElasticityProblem::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 129 of file ElasticityProblem.hpp.
void Albany::ElasticityProblem::constructDirichletEvaluators | ( | const Albany::MeshSpecsStruct & | meshSpecs | ) |
Definition at line 97 of file ElasticityProblem.cpp.
void Albany::ElasticityProblem::constructNeumannEvaluators | ( | const Teuchos::RCP< Albany::MeshSpecsStruct > & | meshSpecs | ) |
Definition at line 112 of file ElasticityProblem.cpp.
bool Albany::ElasticityProblem::haveSource [protected] |
Boundary conditions on source term.
Definition at line 90 of file ElasticityProblem.hpp.
int Albany::ElasticityProblem::numDim [protected] |
Definition at line 91 of file ElasticityProblem.hpp.
bool Albany::ElasticityProblem::computeError [protected] |
Compute exact error in displacement solution.
Definition at line 94 of file ElasticityProblem.hpp.
std::string Albany::ElasticityProblem::matModel [protected] |
Definition at line 96 of file ElasticityProblem.hpp.
Teuchos::RCP<Albany::Layouts> Albany::ElasticityProblem::dl [protected] |
Definition at line 97 of file ElasticityProblem.hpp.
Teuchos::ArrayRCP<Teuchos::ArrayRCP<Teuchos::RCP<Intrepid::FieldContainer<RealType> > > > Albany::ElasticityProblem::oldState [protected] |
Definition at line 99 of file ElasticityProblem.hpp.
Teuchos::ArrayRCP<Teuchos::ArrayRCP<Teuchos::RCP<Intrepid::FieldContainer<RealType> > > > Albany::ElasticityProblem::newState [protected] |
Definition at line 100 of file ElasticityProblem.hpp.