Abstract interface for representing a 2-D finite element problem. More...
#include <MesoScaleLinkProblem.hpp>
Public Member Functions | |
MesoScaleLinkProblem (const Teuchos::RCP< Teuchos::ParameterList > ¶ms_, const Teuchos::RCP< ParamLib > ¶mLib_, const int numDim_, const Teuchos::RCP< const Epetra_Comm > &comm_) | |
Default constructor. | |
virtual | ~MesoScaleLinkProblem () |
Destructor. | |
void | getRBMInfoForML (int &numPDEs, int &numMesoScaleLinkDim, int &numScalar, int &nullSpaceDim) |
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 |
std::string | matModel |
std::string | exeName |
Teuchos::RCP< Albany::Layouts > | dl |
Teuchos::RCP< const Epetra_Comm > | comm |
const int & | mpi_comm |
Teuchos::RCP< MPI_Comm > | interCommunicator |
int | numMesoPEs |
Teuchos::ArrayRCP < Teuchos::ArrayRCP < Teuchos::RCP < Intrepid::FieldContainer < RealType > > > > | oldState |
Teuchos::ArrayRCP < Teuchos::ArrayRCP < Teuchos::RCP < Intrepid::FieldContainer < RealType > > > > | newState |
Private Member Functions | |
MesoScaleLinkProblem (const MesoScaleLinkProblem &) | |
Private to prohibit copying. | |
MesoScaleLinkProblem & | operator= (const MesoScaleLinkProblem &) |
Private to prohibit copying. |
Abstract interface for representing a 2-D finite element problem.
Definition at line 33 of file MesoScaleLinkProblem.hpp.
Albany::MesoScaleLinkProblem::MesoScaleLinkProblem | ( | const Teuchos::RCP< Teuchos::ParameterList > & | params_, | |
const Teuchos::RCP< ParamLib > & | paramLib_, | |||
const int | numDim_, | |||
const Teuchos::RCP< const Epetra_Comm > & | comm_ | |||
) |
Default constructor.
Definition at line 25 of file MesoScaleLinkProblem.cpp.
Albany::MesoScaleLinkProblem::~MesoScaleLinkProblem | ( | ) | [virtual] |
Destructor.
Definition at line 66 of file MesoScaleLinkProblem.cpp.
Albany::MesoScaleLinkProblem::MesoScaleLinkProblem | ( | const MesoScaleLinkProblem & | ) | [private] |
Private to prohibit copying.
void Albany::MesoScaleLinkProblem::getRBMInfoForML | ( | int & | numPDEs, | |
int & | numMesoScaleLinkDim, | |||
int & | numScalar, | |||
int & | nullSpaceDim | |||
) |
Definition at line 81 of file MesoScaleLinkProblem.cpp.
virtual int Albany::MesoScaleLinkProblem::spatialDimension | ( | ) | const [inline, virtual] |
Return number of spatial dimensions.
Implements Albany::AbstractProblem.
Definition at line 51 of file MesoScaleLinkProblem.hpp.
void Albany::MesoScaleLinkProblem::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 105 of file MesoScaleLinkProblem.cpp.
Teuchos::Array< Teuchos::RCP< const PHX::FieldTag > > Albany::MesoScaleLinkProblem::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 129 of file MesoScaleLinkProblem.cpp.
Teuchos::RCP< const Teuchos::ParameterList > Albany::MesoScaleLinkProblem::getValidProblemParameters | ( | ) | const [virtual] |
Each problem must generate it's list of valid parameters.
Reimplemented from Albany::AbstractProblem.
Definition at line 233 of file MesoScaleLinkProblem.cpp.
void Albany::MesoScaleLinkProblem::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 250 of file MesoScaleLinkProblem.cpp.
MesoScaleLinkProblem& Albany::MesoScaleLinkProblem::operator= | ( | const MesoScaleLinkProblem & | ) | [private] |
Private to prohibit copying.
Teuchos::RCP< const PHX::FieldTag > Albany::MesoScaleLinkProblem::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 143 of file MesoScaleLinkProblem.hpp.
void Albany::MesoScaleLinkProblem::constructDirichletEvaluators | ( | const Albany::MeshSpecsStruct & | meshSpecs | ) |
Definition at line 145 of file MesoScaleLinkProblem.cpp.
void Albany::MesoScaleLinkProblem::constructNeumannEvaluators | ( | const Teuchos::RCP< Albany::MeshSpecsStruct > & | meshSpecs | ) |
Definition at line 162 of file MesoScaleLinkProblem.cpp.
bool Albany::MesoScaleLinkProblem::haveSource [protected] |
Boundary conditions on source term.
Definition at line 104 of file MesoScaleLinkProblem.hpp.
int Albany::MesoScaleLinkProblem::numDim [protected] |
Definition at line 105 of file MesoScaleLinkProblem.hpp.
std::string Albany::MesoScaleLinkProblem::matModel [protected] |
Definition at line 107 of file MesoScaleLinkProblem.hpp.
std::string Albany::MesoScaleLinkProblem::exeName [protected] |
Definition at line 108 of file MesoScaleLinkProblem.hpp.
Teuchos::RCP<Albany::Layouts> Albany::MesoScaleLinkProblem::dl [protected] |
Definition at line 109 of file MesoScaleLinkProblem.hpp.
Teuchos::RCP<const Epetra_Comm> Albany::MesoScaleLinkProblem::comm [protected] |
Definition at line 110 of file MesoScaleLinkProblem.hpp.
const int& Albany::MesoScaleLinkProblem::mpi_comm [protected] |
Definition at line 111 of file MesoScaleLinkProblem.hpp.
Teuchos::RCP<MPI_Comm> Albany::MesoScaleLinkProblem::interCommunicator [protected] |
Definition at line 112 of file MesoScaleLinkProblem.hpp.
int Albany::MesoScaleLinkProblem::numMesoPEs [protected] |
Definition at line 113 of file MesoScaleLinkProblem.hpp.
Teuchos::ArrayRCP<Teuchos::ArrayRCP<Teuchos::RCP<Intrepid::FieldContainer<RealType> > > > Albany::MesoScaleLinkProblem::oldState [protected] |
Definition at line 115 of file MesoScaleLinkProblem.hpp.
Teuchos::ArrayRCP<Teuchos::ArrayRCP<Teuchos::RCP<Intrepid::FieldContainer<RealType> > > > Albany::MesoScaleLinkProblem::newState [protected] |
Definition at line 116 of file MesoScaleLinkProblem.hpp.