Abstract interface for representing a 2-D finite element problem. More...
#include <LameProblem.hpp>
Public Member Functions | |
LameProblem (const Teuchos::RCP< Teuchos::ParameterList > ¶ms, const Teuchos::RCP< ParamLib > ¶mLib, const int numEqm, const Teuchos::RCP< const Epetra_Comm > &comm) | |
Default constructor. | |
virtual | ~LameProblem () |
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 Albany::MeshSpecsStruct &meshSpecs) |
Protected Attributes | |
bool | haveSource |
Boundary conditions on source term. | |
int | numDim |
bool | haveMatDB |
std::string | mtrlDbFilename |
Teuchos::RCP < QCAD::MaterialDatabase > | materialDB |
Private Member Functions | |
LameProblem (const LameProblem &) | |
Private to prohibit copying. | |
LameProblem & | operator= (const LameProblem &) |
Private to prohibit copying. |
Abstract interface for representing a 2-D finite element problem.
Definition at line 27 of file LameProblem.hpp.
Albany::LameProblem::LameProblem | ( | const Teuchos::RCP< Teuchos::ParameterList > & | params, | |
const Teuchos::RCP< ParamLib > & | paramLib, | |||
const int | numEqm, | |||
const Teuchos::RCP< const Epetra_Comm > & | comm | |||
) |
Default constructor.
Definition at line 11 of file LameProblem.cpp.
Albany::LameProblem::~LameProblem | ( | ) | [virtual] |
Destructor.
Definition at line 51 of file LameProblem.cpp.
Albany::LameProblem::LameProblem | ( | const LameProblem & | ) | [private] |
Private to prohibit copying.
virtual int Albany::LameProblem::spatialDimension | ( | ) | const [inline, virtual] |
Return number of spatial dimensions.
Implements Albany::AbstractProblem.
Definition at line 40 of file LameProblem.hpp.
void Albany::LameProblem::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 57 of file LameProblem.cpp.
Teuchos::Array< Teuchos::RCP< const PHX::FieldTag > > Albany::LameProblem::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 76 of file LameProblem.cpp.
Teuchos::RCP< const Teuchos::ParameterList > Albany::LameProblem::getValidProblemParameters | ( | ) | const [virtual] |
Each problem must generate it's list of valid parameters.
Reimplemented from Albany::AbstractProblem.
Definition at line 106 of file LameProblem.cpp.
LameProblem& Albany::LameProblem::operator= | ( | const LameProblem & | ) | [private] |
Private to prohibit copying.
Teuchos::RCP< const PHX::FieldTag > Albany::LameProblem::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 115 of file LameProblem.hpp.
void Albany::LameProblem::constructDirichletEvaluators | ( | const Albany::MeshSpecsStruct & | meshSpecs | ) |
Definition at line 92 of file LameProblem.cpp.
bool Albany::LameProblem::haveSource [protected] |
Boundary conditions on source term.
Definition at line 84 of file LameProblem.hpp.
int Albany::LameProblem::numDim [protected] |
Definition at line 85 of file LameProblem.hpp.
bool Albany::LameProblem::haveMatDB [protected] |
Definition at line 86 of file LameProblem.hpp.
std::string Albany::LameProblem::mtrlDbFilename [protected] |
Definition at line 87 of file LameProblem.hpp.
Teuchos::RCP<QCAD::MaterialDatabase> Albany::LameProblem::materialDB [protected] |
Definition at line 88 of file LameProblem.hpp.