Abstract interface for representing a 1-D finite element problem. More...
#include <Albany_HeatProblem.hpp>
Public Member Functions | |
HeatProblem (const Teuchos::RCP< Teuchos::ParameterList > ¶ms, const Teuchos::RCP< ParamLib > ¶mLib, const int numDim_, const Teuchos::RCP< const Epetra_Comm > &comm_) | |
Default constructor. | |
~HeatProblem () | |
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 valide 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 std::vector< std::string > &nodeSetIDs) |
void | constructNeumannEvaluators (const Teuchos::RCP< Albany::MeshSpecsStruct > &meshSpecs) |
Protected Attributes | |
bool | periodic |
Boundary conditions on source term. | |
bool | haveSource |
bool | haveAbsorption |
int | numDim |
Teuchos::RCP < QCAD::MaterialDatabase > | materialDB |
Teuchos::RCP< const Epetra_Comm > | comm |
Teuchos::RCP< Albany::Layouts > | dl |
Private Member Functions | |
HeatProblem (const HeatProblem &) | |
Private to prohibit copying. | |
HeatProblem & | operator= (const HeatProblem &) |
Private to prohibit copying. |
Abstract interface for representing a 1-D finite element problem.
Definition at line 28 of file Albany_HeatProblem.hpp.
Albany::HeatProblem::HeatProblem | ( | 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 17 of file Albany_HeatProblem.cpp.
Albany::HeatProblem::~HeatProblem | ( | ) |
Destructor.
Definition at line 47 of file Albany_HeatProblem.cpp.
Albany::HeatProblem::HeatProblem | ( | const HeatProblem & | ) | [private] |
Private to prohibit copying.
virtual int Albany::HeatProblem::spatialDimension | ( | ) | const [inline, virtual] |
Return number of spatial dimensions.
Implements Albany::AbstractProblem.
Definition at line 41 of file Albany_HeatProblem.hpp.
void Albany::HeatProblem::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 53 of file Albany_HeatProblem.cpp.
Teuchos::Array< Teuchos::RCP< const PHX::FieldTag > > Albany::HeatProblem::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 80 of file Albany_HeatProblem.cpp.
Teuchos::RCP< const Teuchos::ParameterList > Albany::HeatProblem::getValidProblemParameters | ( | ) | const [virtual] |
Each problem must generate it's list of valide parameters.
Reimplemented from Albany::AbstractProblem.
Definition at line 162 of file Albany_HeatProblem.cpp.
HeatProblem& Albany::HeatProblem::operator= | ( | const HeatProblem & | ) | [private] |
Private to prohibit copying.
Teuchos::RCP< const PHX::FieldTag > Albany::HeatProblem::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 117 of file Albany_HeatProblem.hpp.
void Albany::HeatProblem::constructDirichletEvaluators | ( | const std::vector< std::string > & | nodeSetIDs | ) |
Definition at line 97 of file Albany_HeatProblem.cpp.
void Albany::HeatProblem::constructNeumannEvaluators | ( | const Teuchos::RCP< Albany::MeshSpecsStruct > & | meshSpecs | ) |
Definition at line 109 of file Albany_HeatProblem.cpp.
bool Albany::HeatProblem::periodic [protected] |
Boundary conditions on source term.
Definition at line 86 of file Albany_HeatProblem.hpp.
bool Albany::HeatProblem::haveSource [protected] |
Definition at line 87 of file Albany_HeatProblem.hpp.
bool Albany::HeatProblem::haveAbsorption [protected] |
Definition at line 88 of file Albany_HeatProblem.hpp.
int Albany::HeatProblem::numDim [protected] |
Definition at line 89 of file Albany_HeatProblem.hpp.
Teuchos::RCP<QCAD::MaterialDatabase> Albany::HeatProblem::materialDB [protected] |
Definition at line 91 of file Albany_HeatProblem.hpp.
Teuchos::RCP<const Epetra_Comm> Albany::HeatProblem::comm [protected] |
Definition at line 92 of file Albany_HeatProblem.hpp.
Teuchos::RCP<Albany::Layouts> Albany::HeatProblem::dl [protected] |
Definition at line 94 of file Albany_HeatProblem.hpp.