Public Member Functions | Protected Attributes | Private Member Functions

Albany::MesoScaleLinkProblem Class Reference

Abstract interface for representing a 2-D finite element problem. More...

#include <MesoScaleLinkProblem.hpp>

Inheritance diagram for Albany::MesoScaleLinkProblem:
Inheritance graph
[legend]
Collaboration diagram for Albany::MesoScaleLinkProblem:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MesoScaleLinkProblem (const Teuchos::RCP< Teuchos::ParameterList > &params_, const Teuchos::RCP< ParamLib > &paramLib_, 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::Layoutsdl
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.
MesoScaleLinkProblemoperator= (const MesoScaleLinkProblem &)
 Private to prohibit copying.

Detailed Description

Abstract interface for representing a 2-D finite element problem.

Definition at line 33 of file MesoScaleLinkProblem.hpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

template<typename EvalT >
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.


Member Data Documentation

Boundary conditions on source term.

Definition at line 104 of file MesoScaleLinkProblem.hpp.

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.

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.

Definition at line 111 of file MesoScaleLinkProblem.hpp.

Teuchos::RCP<MPI_Comm> Albany::MesoScaleLinkProblem::interCommunicator [protected]

Definition at line 112 of file MesoScaleLinkProblem.hpp.

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.


The documentation for this class was generated from the following files: