Abstract interface for representing a 1-D finite element problem. More...
#include <Albany_PNPProblem.hpp>
Public Member Functions | |
PNPProblem (const Teuchos::RCP< Teuchos::ParameterList > ¶ms, const Teuchos::RCP< ParamLib > ¶mLib, const int numDim_) | |
Default constructor. | |
~PNPProblem () | |
Destructor. | |
virtual void | buildProblem (Teuchos::ArrayRCP< Teuchos::RCP< Albany::MeshSpecsStruct > > meshSpecs, Albany::StateManager &stateMgr) |
Build the PDE instantiations, boundary conditions, and initial solution. | |
virtual int | spatialDimension () const |
Return number of spatial dimensions. | |
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 Albany::MeshSpecsStruct &meshSpecs) |
void | constructNeumannEvaluators (const Teuchos::RCP< Albany::MeshSpecsStruct > &meshSpecs) |
Protected Attributes | |
int | numDim |
int | numSpecies |
number of spatial dimentions | |
Teuchos::RCP< Albany::Layouts > | dl |
number of species | |
Private Member Functions | |
PNPProblem (const PNPProblem &) | |
Private to prohibit copying. | |
PNPProblem & | operator= (const PNPProblem &) |
Private to prohibit copying. |
Abstract interface for representing a 1-D finite element problem.
Definition at line 25 of file Albany_PNPProblem.hpp.
Albany::PNPProblem::PNPProblem | ( | const Teuchos::RCP< Teuchos::ParameterList > & | params, | |
const Teuchos::RCP< ParamLib > & | paramLib, | |||
const int | numDim_ | |||
) |
Default constructor.
Definition at line 17 of file Albany_PNPProblem.cpp.
Albany::PNPProblem::~PNPProblem | ( | ) |
Destructor.
Definition at line 35 of file Albany_PNPProblem.cpp.
Albany::PNPProblem::PNPProblem | ( | const PNPProblem & | ) | [private] |
Private to prohibit copying.
void Albany::PNPProblem::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 41 of file Albany_PNPProblem.cpp.
virtual int Albany::PNPProblem::spatialDimension | ( | ) | const [inline, virtual] |
Return number of spatial dimensions.
Implements Albany::AbstractProblem.
Definition at line 42 of file Albany_PNPProblem.hpp.
Teuchos::Array< Teuchos::RCP< const PHX::FieldTag > > Albany::PNPProblem::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 68 of file Albany_PNPProblem.cpp.
Teuchos::RCP< const Teuchos::ParameterList > Albany::PNPProblem::getValidProblemParameters | ( | ) | const [virtual] |
Each problem must generate it's list of valide parameters.
Reimplemented from Albany::AbstractProblem.
Definition at line 161 of file Albany_PNPProblem.cpp.
PNPProblem& Albany::PNPProblem::operator= | ( | const PNPProblem & | ) | [private] |
Private to prohibit copying.
Teuchos::RCP< const PHX::FieldTag > Albany::PNPProblem::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 105 of file Albany_PNPProblem.hpp.
void Albany::PNPProblem::constructDirichletEvaluators | ( | const Albany::MeshSpecsStruct & | meshSpecs | ) |
Definition at line 84 of file Albany_PNPProblem.cpp.
void Albany::PNPProblem::constructNeumannEvaluators | ( | const Teuchos::RCP< Albany::MeshSpecsStruct > & | meshSpecs | ) |
Definition at line 102 of file Albany_PNPProblem.cpp.
int Albany::PNPProblem::numDim [protected] |
Definition at line 81 of file Albany_PNPProblem.hpp.
int Albany::PNPProblem::numSpecies [protected] |
number of spatial dimentions
Definition at line 82 of file Albany_PNPProblem.hpp.
Teuchos::RCP<Albany::Layouts> Albany::PNPProblem::dl [protected] |
number of species
Definition at line 84 of file Albany_PNPProblem.hpp.