#include <GradientDamageProblem.hpp>
Public Member Functions | |
GradientDamageProblem (const Teuchos::RCP< Teuchos::ParameterList > ¶ms, const Teuchos::RCP< ParamLib > ¶mLib, const int numEq) | |
Default constructor. | |
virtual | ~GradientDamageProblem () |
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 | numQPts |
int | numNodes |
int | numVertices |
int | D_offset |
int | X_offset |
int | numDim |
std::string | matModel |
Teuchos::ArrayRCP < Teuchos::ArrayRCP < Teuchos::RCP < Intrepid::FieldContainer < RealType > > > > | oldState |
Teuchos::ArrayRCP < Teuchos::ArrayRCP < Teuchos::RCP < Intrepid::FieldContainer < RealType > > > > | newState |
Private Member Functions | |
GradientDamageProblem (const GradientDamageProblem &) | |
Private to prohibit copying. | |
GradientDamageProblem & | operator= (const GradientDamageProblem &) |
Private to prohibit copying. |
Definition at line 22 of file GradientDamageProblem.hpp.
Albany::GradientDamageProblem::GradientDamageProblem | ( | const Teuchos::RCP< Teuchos::ParameterList > & | params, | |
const Teuchos::RCP< ParamLib > & | paramLib, | |||
const int | numEq | |||
) |
Default constructor.
Definition at line 11 of file GradientDamageProblem.cpp.
Albany::GradientDamageProblem::~GradientDamageProblem | ( | ) | [virtual] |
Destructor.
Definition at line 51 of file GradientDamageProblem.cpp.
Albany::GradientDamageProblem::GradientDamageProblem | ( | const GradientDamageProblem & | ) | [private] |
Private to prohibit copying.
virtual int Albany::GradientDamageProblem::spatialDimension | ( | ) | const [inline, virtual] |
Return number of spatial dimensions.
Implements Albany::AbstractProblem.
Definition at line 34 of file GradientDamageProblem.hpp.
void Albany::GradientDamageProblem::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 GradientDamageProblem.cpp.
Teuchos::Array< Teuchos::RCP< const PHX::FieldTag > > Albany::GradientDamageProblem::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 72 of file GradientDamageProblem.cpp.
Teuchos::RCP< const Teuchos::ParameterList > Albany::GradientDamageProblem::getValidProblemParameters | ( | ) | const [virtual] |
Each problem must generate it's list of valid parameters.
Reimplemented from Albany::AbstractProblem.
Definition at line 103 of file GradientDamageProblem.cpp.
void Albany::GradientDamageProblem::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 125 of file GradientDamageProblem.cpp.
GradientDamageProblem& Albany::GradientDamageProblem::operator= | ( | const GradientDamageProblem & | ) | [private] |
Private to prohibit copying.
Teuchos::RCP< const PHX::FieldTag > Albany::GradientDamageProblem::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 126 of file GradientDamageProblem.hpp.
void Albany::GradientDamageProblem::constructDirichletEvaluators | ( | const Albany::MeshSpecsStruct & | meshSpecs | ) |
Definition at line 88 of file GradientDamageProblem.cpp.
bool Albany::GradientDamageProblem::haveSource [protected] |
Boundary conditions on source term.
Definition at line 83 of file GradientDamageProblem.hpp.
int Albany::GradientDamageProblem::numQPts [protected] |
Definition at line 86 of file GradientDamageProblem.hpp.
int Albany::GradientDamageProblem::numNodes [protected] |
Definition at line 87 of file GradientDamageProblem.hpp.
int Albany::GradientDamageProblem::numVertices [protected] |
Definition at line 88 of file GradientDamageProblem.hpp.
int Albany::GradientDamageProblem::D_offset [protected] |
Definition at line 90 of file GradientDamageProblem.hpp.
int Albany::GradientDamageProblem::X_offset [protected] |
Definition at line 91 of file GradientDamageProblem.hpp.
int Albany::GradientDamageProblem::numDim [protected] |
Definition at line 92 of file GradientDamageProblem.hpp.
std::string Albany::GradientDamageProblem::matModel [protected] |
Definition at line 95 of file GradientDamageProblem.hpp.
Teuchos::ArrayRCP<Teuchos::ArrayRCP<Teuchos::RCP<Intrepid::FieldContainer<RealType> > > > Albany::GradientDamageProblem::oldState [protected] |
Definition at line 98 of file GradientDamageProblem.hpp.
Teuchos::ArrayRCP<Teuchos::ArrayRCP<Teuchos::RCP<Intrepid::FieldContainer<RealType> > > > Albany::GradientDamageProblem::newState [protected] |
Definition at line 99 of file GradientDamageProblem.hpp.