Interface to Peridigm peridynamics code. More...
#include <PeridigmProblem.hpp>
Public Member Functions | |
PeridigmProblem (const Teuchos::RCP< Teuchos::ParameterList > ¶ms, const Teuchos::RCP< ParamLib > ¶mLib, const int numEqm, const Teuchos::RCP< const Epetra_Comm > &comm) | |
Default constructor. | |
virtual | ~PeridigmProblem () |
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 |
Teuchos::RCP < Teuchos::ParameterList > | peridigmParams |
Private Member Functions | |
PeridigmProblem (const PeridigmProblem &) | |
Private to prohibit copying. | |
PeridigmProblem & | operator= (const PeridigmProblem &) |
Private to prohibit copying. |
Interface to Peridigm peridynamics code.
Definition at line 25 of file PeridigmProblem.hpp.
Albany::PeridigmProblem::PeridigmProblem | ( | 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 PeridigmProblem.cpp.
Albany::PeridigmProblem::~PeridigmProblem | ( | ) | [virtual] |
Destructor.
Definition at line 41 of file PeridigmProblem.cpp.
Albany::PeridigmProblem::PeridigmProblem | ( | const PeridigmProblem & | ) | [private] |
Private to prohibit copying.
virtual int Albany::PeridigmProblem::spatialDimension | ( | ) | const [inline, virtual] |
Return number of spatial dimensions.
Implements Albany::AbstractProblem.
Definition at line 38 of file PeridigmProblem.hpp.
void Albany::PeridigmProblem::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 47 of file PeridigmProblem.cpp.
Teuchos::Array< Teuchos::RCP< const PHX::FieldTag > > Albany::PeridigmProblem::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 65 of file PeridigmProblem.cpp.
Teuchos::RCP< const Teuchos::ParameterList > Albany::PeridigmProblem::getValidProblemParameters | ( | ) | const [virtual] |
Each problem must generate it's list of valid parameters.
Reimplemented from Albany::AbstractProblem.
Definition at line 93 of file PeridigmProblem.cpp.
PeridigmProblem& Albany::PeridigmProblem::operator= | ( | const PeridigmProblem & | ) | [private] |
Private to prohibit copying.
Teuchos::RCP< const PHX::FieldTag > Albany::PeridigmProblem::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 102 of file PeridigmProblem.hpp.
void Albany::PeridigmProblem::constructDirichletEvaluators | ( | const Albany::MeshSpecsStruct & | meshSpecs | ) |
Definition at line 80 of file PeridigmProblem.cpp.
bool Albany::PeridigmProblem::haveSource [protected] |
Boundary conditions on source term.
Definition at line 80 of file PeridigmProblem.hpp.
int Albany::PeridigmProblem::numDim [protected] |
Definition at line 81 of file PeridigmProblem.hpp.
bool Albany::PeridigmProblem::haveMatDB [protected] |
Definition at line 82 of file PeridigmProblem.hpp.
std::string Albany::PeridigmProblem::mtrlDbFilename [protected] |
Definition at line 83 of file PeridigmProblem.hpp.
Teuchos::RCP<QCAD::MaterialDatabase> Albany::PeridigmProblem::materialDB [protected] |
Definition at line 84 of file PeridigmProblem.hpp.
Teuchos::RCP<Teuchos::ParameterList> Albany::PeridigmProblem::peridigmParams [protected] |
Definition at line 85 of file PeridigmProblem.hpp.