Abstract interface for representing a 1-D finite element problem. More...
#include <QCAD_SchrodingerProblem.hpp>
Public Member Functions | |
SchrodingerProblem (const Teuchos::RCP< Teuchos::ParameterList > ¶ms, const Teuchos::RCP< ParamLib > ¶mLib, const int numDim_, const Teuchos::RCP< const Epetra_Comm > &comm_) | |
Default constructor. | |
~SchrodingerProblem () | |
Destructor. | |
virtual int | spatialDimension () const |
Return number of spatial dimensions. | |
virtual void | buildProblem (Teuchos::ArrayRCP< Teuchos::RCP< Albany::MeshSpecsStruct > > meshSpecs, Albany::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 Albany::MeshSpecsStruct &meshSpecs) |
Protected Attributes | |
Teuchos::RCP< const Epetra_Comm > | comm |
bool | havePotential |
double | energy_unit_in_eV |
double | length_unit_in_m |
std::string | potentialFieldName |
int | potentialAuxIndex |
std::string | mtrlDbFilename |
int | numDim |
int | nEigenvectorsToOuputAsStates |
bool | bOnlySolveInQuantumBlocks |
Private Member Functions | |
SchrodingerProblem (const SchrodingerProblem &) | |
Private to prohibit copying. | |
SchrodingerProblem & | operator= (const SchrodingerProblem &) |
Private to prohibit copying. |
Abstract interface for representing a 1-D finite element problem.
Definition at line 27 of file QCAD_SchrodingerProblem.hpp.
QCAD::SchrodingerProblem::SchrodingerProblem | ( | 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 18 of file QCAD_SchrodingerProblem.cpp.
QCAD::SchrodingerProblem::~SchrodingerProblem | ( | ) |
Destructor.
Definition at line 77 of file QCAD_SchrodingerProblem.cpp.
QCAD::SchrodingerProblem::SchrodingerProblem | ( | const SchrodingerProblem & | ) | [private] |
Private to prohibit copying.
virtual int QCAD::SchrodingerProblem::spatialDimension | ( | ) | const [inline, virtual] |
Return number of spatial dimensions.
Implements Albany::AbstractProblem.
Definition at line 40 of file QCAD_SchrodingerProblem.hpp.
void QCAD::SchrodingerProblem::buildProblem | ( | Teuchos::ArrayRCP< Teuchos::RCP< Albany::MeshSpecsStruct > > | meshSpecs, | |
Albany::StateManager & | stateMgr | |||
) | [virtual] |
Build the PDE instantiations, boundary conditions, and initial solution.
Definition at line 83 of file QCAD_SchrodingerProblem.cpp.
Teuchos::Array< Teuchos::RCP< const PHX::FieldTag > > QCAD::SchrodingerProblem::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 98 of file QCAD_SchrodingerProblem.cpp.
Teuchos::RCP< const Teuchos::ParameterList > QCAD::SchrodingerProblem::getValidProblemParameters | ( | ) | const [virtual] |
Each problem must generate it's list of valide parameters.
Reimplemented from Albany::AbstractProblem.
Definition at line 126 of file QCAD_SchrodingerProblem.cpp.
SchrodingerProblem& QCAD::SchrodingerProblem::operator= | ( | const SchrodingerProblem & | ) | [private] |
Private to prohibit copying.
Teuchos::RCP< const PHX::FieldTag > QCAD::SchrodingerProblem::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 114 of file QCAD_SchrodingerProblem.hpp.
void QCAD::SchrodingerProblem::constructDirichletEvaluators | ( | const Albany::MeshSpecsStruct & | meshSpecs | ) |
Definition at line 114 of file QCAD_SchrodingerProblem.cpp.
Teuchos::RCP<const Epetra_Comm> QCAD::SchrodingerProblem::comm [protected] |
Definition at line 82 of file QCAD_SchrodingerProblem.hpp.
bool QCAD::SchrodingerProblem::havePotential [protected] |
Definition at line 83 of file QCAD_SchrodingerProblem.hpp.
double QCAD::SchrodingerProblem::energy_unit_in_eV [protected] |
Definition at line 84 of file QCAD_SchrodingerProblem.hpp.
double QCAD::SchrodingerProblem::length_unit_in_m [protected] |
Definition at line 84 of file QCAD_SchrodingerProblem.hpp.
std::string QCAD::SchrodingerProblem::potentialFieldName [protected] |
Definition at line 85 of file QCAD_SchrodingerProblem.hpp.
int QCAD::SchrodingerProblem::potentialAuxIndex [protected] |
Definition at line 86 of file QCAD_SchrodingerProblem.hpp.
std::string QCAD::SchrodingerProblem::mtrlDbFilename [protected] |
Definition at line 87 of file QCAD_SchrodingerProblem.hpp.
int QCAD::SchrodingerProblem::numDim [protected] |
Definition at line 89 of file QCAD_SchrodingerProblem.hpp.
int QCAD::SchrodingerProblem::nEigenvectorsToOuputAsStates [protected] |
Definition at line 90 of file QCAD_SchrodingerProblem.hpp.
bool QCAD::SchrodingerProblem::bOnlySolveInQuantumBlocks [protected] |
Definition at line 91 of file QCAD_SchrodingerProblem.hpp.