Public Member Functions | Protected Attributes | Private Member Functions

QCAD::PoissonProblem Class Reference

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

#include <QCAD_PoissonProblem.hpp>

Inheritance diagram for QCAD::PoissonProblem:
Inheritance graph
[legend]
Collaboration diagram for QCAD::PoissonProblem:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PoissonProblem (const Teuchos::RCP< Teuchos::ParameterList > &params, const Teuchos::RCP< ParamLib > &paramLib, const int numDim_, const Teuchos::RCP< const Epetra_Comm > &comm_)
 Default constructor.
 ~PoissonProblem ()
 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)
void constructNeumannEvaluators (const Teuchos::RCP< Albany::MeshSpecsStruct > &meshSpecs)

Protected Attributes

bool periodic
 Boundary conditions on source term.
Teuchos::RCP< const Epetra_Comm > comm
 Parameters to use when constructing evaluators.
bool haveSource
int numDim
double length_unit_in_m
double energy_unit_in_eV
double temperature
Teuchos::RCP
< QCAD::MaterialDatabase
materialDB
Teuchos::RCP< Albany::Layoutsdl
int nEigenvectors
 Parameters for coupling to Schrodinger.

Private Member Functions

 PoissonProblem (const PoissonProblem &)
 Private to prohibit copying.
PoissonProblemoperator= (const PoissonProblem &)
 Private to prohibit copying.

Detailed Description

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

Definition at line 30 of file QCAD_PoissonProblem.hpp.


Constructor & Destructor Documentation

QCAD::PoissonProblem::PoissonProblem ( 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 12 of file QCAD_PoissonProblem.cpp.

QCAD::PoissonProblem::~PoissonProblem (  ) 

Destructor.

Definition at line 86 of file QCAD_PoissonProblem.cpp.

QCAD::PoissonProblem::PoissonProblem ( const PoissonProblem  )  [private]

Private to prohibit copying.


Member Function Documentation

virtual int QCAD::PoissonProblem::spatialDimension (  )  const [inline, virtual]

Return number of spatial dimensions.

Implements Albany::AbstractProblem.

Definition at line 44 of file QCAD_PoissonProblem.hpp.

void QCAD::PoissonProblem::buildProblem ( Teuchos::ArrayRCP< Teuchos::RCP< Albany::MeshSpecsStruct > >  meshSpecs,
Albany::StateManager stateMgr 
) [virtual]

Build the PDE instantiations, boundary conditions, and initial solution.

Definition at line 92 of file QCAD_PoissonProblem.cpp.

Teuchos::Array< Teuchos::RCP< const PHX::FieldTag > > QCAD::PoissonProblem::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 111 of file QCAD_PoissonProblem.cpp.

Teuchos::RCP< const Teuchos::ParameterList > QCAD::PoissonProblem::getValidProblemParameters (  )  const [virtual]

Each problem must generate it's list of valide parameters.

Reimplemented from Albany::AbstractProblem.

Definition at line 519 of file QCAD_PoissonProblem.cpp.

PoissonProblem& QCAD::PoissonProblem::operator= ( const PoissonProblem  )  [private]

Private to prohibit copying.

template<typename EvalT >
Teuchos::RCP< const PHX::FieldTag > QCAD::PoissonProblem::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 131 of file QCAD_PoissonProblem.hpp.

void QCAD::PoissonProblem::constructDirichletEvaluators ( const Albany::MeshSpecsStruct meshSpecs  ) 

Additional parameters needed for Poisson Dirichlet BCs

Definition at line 127 of file QCAD_PoissonProblem.cpp.

void QCAD::PoissonProblem::constructNeumannEvaluators ( const Teuchos::RCP< Albany::MeshSpecsStruct > &  meshSpecs  ) 

Additional parameters needed for Poisson Dirichlet BCs

Definition at line 249 of file QCAD_PoissonProblem.cpp.


Member Data Documentation

Boundary conditions on source term.

Definition at line 89 of file QCAD_PoissonProblem.hpp.

Teuchos::RCP<const Epetra_Comm> QCAD::PoissonProblem::comm [protected]

Parameters to use when constructing evaluators.

Definition at line 92 of file QCAD_PoissonProblem.hpp.

Definition at line 93 of file QCAD_PoissonProblem.hpp.

Definition at line 94 of file QCAD_PoissonProblem.hpp.

Definition at line 95 of file QCAD_PoissonProblem.hpp.

Definition at line 96 of file QCAD_PoissonProblem.hpp.

Definition at line 97 of file QCAD_PoissonProblem.hpp.

Definition at line 98 of file QCAD_PoissonProblem.hpp.

Teuchos::RCP<Albany::Layouts> QCAD::PoissonProblem::dl [protected]

Definition at line 99 of file QCAD_PoissonProblem.hpp.

Parameters for coupling to Schrodinger.

Definition at line 102 of file QCAD_PoissonProblem.hpp.


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