Public Member Functions | Private Member Functions

Albany::AbstractDiscretization Class Reference

#include <Albany_AbstractDiscretization.hpp>

Inheritance diagram for Albany::AbstractDiscretization:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 AbstractDiscretization ()
 Constructor.
virtual ~AbstractDiscretization ()
 Destructor.
virtual Teuchos::RCP< const
Epetra_Map > 
getMap () const =0
 Get DOF map.
virtual Teuchos::RCP< const
Epetra_Map > 
getOverlapMap () const =0
 Get overlapped DOF map.
virtual Teuchos::RCP< const
Epetra_CrsGraph > 
getJacobianGraph () const =0
 Get Jacobian graph.
virtual Teuchos::RCP< const
Epetra_CrsGraph > 
getOverlapJacobianGraph () const =0
 Get overlap Jacobian graph.
virtual Teuchos::RCP< const
Epetra_Map > 
getNodeMap () const =0
 Get Node map.
virtual const NodeSetListgetNodeSets () const =0
 Get Nodal block data.
virtual const NodeSetCoordListgetNodeSetCoords () const =0
virtual const SideSetListgetSideSets (const int ws) const =0
 Get Side set lists.
virtual const WorksetArray
< Teuchos::ArrayRCP
< Teuchos::ArrayRCP
< Teuchos::ArrayRCP< int >
> > >::type & 
getWsElNodeEqID () const =0
 Get map from (Ws, El, Local Node, Eq) -> unkLID.
virtual const WorksetArray
< Teuchos::ArrayRCP
< Teuchos::ArrayRCP< int >
> >::type & 
getWsElNodeID () const =0
virtual Teuchos::ArrayRCP
< double > & 
getCoordinates () const =0
 Retrieve coodinate ptr_field (ws, el, node).
virtual const WorksetArray
< Teuchos::ArrayRCP
< Teuchos::ArrayRCP< double * >
> >::type & 
getCoords () const =0
virtual const WorksetArray
< Teuchos::ArrayRCP
< Teuchos::ArrayRCP< double >
> >::type & 
getSurfaceHeight () const =0
virtual const WorksetArray
< Teuchos::ArrayRCP< double >
>::type & 
getTemperature () const =0
virtual const WorksetArray
< Teuchos::ArrayRCP
< Teuchos::ArrayRCP< double >
> >::type & 
getBasalFriction () const =0
virtual const WorksetArray
< Teuchos::ArrayRCP
< Teuchos::ArrayRCP< double >
> >::type & 
getThickness () const =0
virtual const WorksetArray
< Teuchos::ArrayRCP< double >
>::type & 
getFlowFactor () const =0
virtual const WorksetArray
< Teuchos::ArrayRCP
< Teuchos::ArrayRCP< double * >
> >::type & 
getSurfaceVelocity () const =0
virtual const WorksetArray
< Teuchos::ArrayRCP
< Teuchos::ArrayRCP< double * >
> >::type & 
getVelocityRMS () const =0
virtual void printCoords () const =0
 Print the coords for mesh debugging.
virtual Teuchos::RCP
< Albany::AbstractMeshStruct
getMeshStruct () const =0
virtual Albany::StateArraysgetStateArrays ()=0
virtual const WorksetArray
< std::string >::type & 
getWsEBNames () const =0
 Retrieve Vector (length num worksets) of element block names.
virtual const WorksetArray
< int >::type & 
getWsPhysIndex () const =0
 Retrieve Vector (length num worksets) of Physics Index.
virtual WsLIDListgetElemGIDws ()=0
 Retrieve connectivity map from elementGID to workset.
virtual Teuchos::RCP
< Epetra_Vector > 
getSolutionField () const =0
 Get solution vector from mesh database.
virtual bool hasRestartSolution () const =0
 Flag if solution has a restart values -- used in Init Cond.
virtual bool supportsMOR () const =0
 Does the underlying discretization support MOR?
virtual double restartDataTime () const =0
 File time of restart solution.
virtual int getNumDim () const =0
 Get number of spatial dimensions.
virtual int getNumEq () const =0
 Get number of total DOFs per node.
virtual void setSolutionField (const Epetra_Vector &soln)
virtual void setResidualField (const Epetra_Vector &residual)=0
 Set the residual field for output.
virtual void writeSolution (const Epetra_Vector &solution, const double time, const bool overlapped=false)=0
 Write the solution to the output file.

Private Member Functions

 AbstractDiscretization (const AbstractDiscretization &)
 Private to prohibit copying.
AbstractDiscretizationoperator= (const AbstractDiscretization &)
 Private to prohibit copying.

Detailed Description

Definition at line 57 of file Albany_AbstractDiscretization.hpp.


Constructor & Destructor Documentation

Albany::AbstractDiscretization::AbstractDiscretization (  )  [inline]

Constructor.

Definition at line 61 of file Albany_AbstractDiscretization.hpp.

virtual Albany::AbstractDiscretization::~AbstractDiscretization (  )  [inline, virtual]

Destructor.

Definition at line 64 of file Albany_AbstractDiscretization.hpp.

Albany::AbstractDiscretization::AbstractDiscretization ( const AbstractDiscretization  )  [private]

Private to prohibit copying.


Member Function Documentation

virtual Teuchos::RCP<const Epetra_Map> Albany::AbstractDiscretization::getMap (  )  const [pure virtual]
virtual Teuchos::RCP<const Epetra_Map> Albany::AbstractDiscretization::getOverlapMap (  )  const [pure virtual]
virtual Teuchos::RCP<const Epetra_CrsGraph> Albany::AbstractDiscretization::getJacobianGraph (  )  const [pure virtual]
virtual Teuchos::RCP<const Epetra_CrsGraph> Albany::AbstractDiscretization::getOverlapJacobianGraph (  )  const [pure virtual]
virtual Teuchos::RCP<const Epetra_Map> Albany::AbstractDiscretization::getNodeMap (  )  const [pure virtual]
virtual const NodeSetList& Albany::AbstractDiscretization::getNodeSets (  )  const [pure virtual]

Get Nodal block data.

Get Node set lists (typdef in Albany_Discretization.hpp)

Implemented in Albany::Catalyst::Decorator, AlbPUMI::FMDBDiscretization< Output >, and Albany::STKDiscretization.

virtual const NodeSetCoordList& Albany::AbstractDiscretization::getNodeSetCoords (  )  const [pure virtual]
virtual const SideSetList& Albany::AbstractDiscretization::getSideSets ( const int  ws  )  const [pure virtual]
virtual const WorksetArray<Teuchos::ArrayRCP<Teuchos::ArrayRCP<Teuchos::ArrayRCP<int> > > >::type& Albany::AbstractDiscretization::getWsElNodeEqID (  )  const [pure virtual]

Get map from (Ws, El, Local Node, Eq) -> unkLID.

Implemented in Albany::Catalyst::Decorator, AlbPUMI::FMDBDiscretization< Output >, and Albany::STKDiscretization.

virtual const WorksetArray<Teuchos::ArrayRCP<Teuchos::ArrayRCP<int> > >::type& Albany::AbstractDiscretization::getWsElNodeID (  )  const [pure virtual]
virtual Teuchos::ArrayRCP<double>& Albany::AbstractDiscretization::getCoordinates (  )  const [pure virtual]

Retrieve coodinate ptr_field (ws, el, node).

Implemented in Albany::Catalyst::Decorator, AlbPUMI::FMDBDiscretization< Output >, and Albany::STKDiscretization.

virtual const WorksetArray<Teuchos::ArrayRCP<Teuchos::ArrayRCP<double*> > >::type& Albany::AbstractDiscretization::getCoords (  )  const [pure virtual]
virtual const WorksetArray<Teuchos::ArrayRCP<Teuchos::ArrayRCP<double> > >::type& Albany::AbstractDiscretization::getSurfaceHeight (  )  const [pure virtual]
virtual const WorksetArray<Teuchos::ArrayRCP<double> >::type& Albany::AbstractDiscretization::getTemperature (  )  const [pure virtual]
virtual const WorksetArray<Teuchos::ArrayRCP<Teuchos::ArrayRCP<double> > >::type& Albany::AbstractDiscretization::getBasalFriction (  )  const [pure virtual]
virtual const WorksetArray<Teuchos::ArrayRCP<Teuchos::ArrayRCP<double> > >::type& Albany::AbstractDiscretization::getThickness (  )  const [pure virtual]
virtual const WorksetArray<Teuchos::ArrayRCP<double> >::type& Albany::AbstractDiscretization::getFlowFactor (  )  const [pure virtual]
virtual const WorksetArray<Teuchos::ArrayRCP<Teuchos::ArrayRCP<double*> > >::type& Albany::AbstractDiscretization::getSurfaceVelocity (  )  const [pure virtual]
virtual const WorksetArray<Teuchos::ArrayRCP<Teuchos::ArrayRCP<double*> > >::type& Albany::AbstractDiscretization::getVelocityRMS (  )  const [pure virtual]
virtual void Albany::AbstractDiscretization::printCoords (  )  const [pure virtual]

Print the coords for mesh debugging.

Implemented in Albany::Catalyst::Decorator, AlbPUMI::FMDBDiscretization< Output >, and Albany::STKDiscretization.

virtual Teuchos::RCP<Albany::AbstractMeshStruct> Albany::AbstractDiscretization::getMeshStruct (  )  const [pure virtual]
virtual Albany::StateArrays& Albany::AbstractDiscretization::getStateArrays (  )  [pure virtual]
virtual const WorksetArray<std::string>::type& Albany::AbstractDiscretization::getWsEBNames (  )  const [pure virtual]

Retrieve Vector (length num worksets) of element block names.

Implemented in Albany::Catalyst::Decorator, AlbPUMI::FMDBDiscretization< Output >, and Albany::STKDiscretization.

virtual const WorksetArray<int>::type& Albany::AbstractDiscretization::getWsPhysIndex (  )  const [pure virtual]

Retrieve Vector (length num worksets) of Physics Index.

Implemented in Albany::Catalyst::Decorator, AlbPUMI::FMDBDiscretization< Output >, and Albany::STKDiscretization.

virtual WsLIDList& Albany::AbstractDiscretization::getElemGIDws (  )  [pure virtual]

Retrieve connectivity map from elementGID to workset.

Implemented in Albany::Catalyst::Decorator, AlbPUMI::FMDBDiscretization< Output >, and Albany::STKDiscretization.

virtual Teuchos::RCP<Epetra_Vector> Albany::AbstractDiscretization::getSolutionField (  )  const [pure virtual]

Get solution vector from mesh database.

Implemented in Albany::Catalyst::Decorator, AlbPUMI::FMDBDiscretization< Output >, and Albany::STKDiscretization.

virtual bool Albany::AbstractDiscretization::hasRestartSolution (  )  const [pure virtual]

Flag if solution has a restart values -- used in Init Cond.

Implemented in Albany::Catalyst::Decorator, AlbPUMI::FMDBDiscretization< Output >, and Albany::STKDiscretization.

virtual bool Albany::AbstractDiscretization::supportsMOR (  )  const [pure virtual]

Does the underlying discretization support MOR?

Implemented in Albany::Catalyst::Decorator, AlbPUMI::FMDBDiscretization< Output >, and Albany::STKDiscretization.

virtual double Albany::AbstractDiscretization::restartDataTime (  )  const [pure virtual]
virtual int Albany::AbstractDiscretization::getNumDim (  )  const [pure virtual]

Get number of spatial dimensions.

Implemented in Albany::Catalyst::Decorator, AlbPUMI::FMDBDiscretization< Output >, and Albany::STKDiscretization.

virtual int Albany::AbstractDiscretization::getNumEq (  )  const [pure virtual]

Get number of total DOFs per node.

Implemented in Albany::Catalyst::Decorator, AlbPUMI::FMDBDiscretization< Output >, and Albany::STKDiscretization.

virtual void Albany::AbstractDiscretization::setSolutionField ( const Epetra_Vector &  soln  )  [inline, virtual]
virtual void Albany::AbstractDiscretization::setResidualField ( const Epetra_Vector &  residual  )  [pure virtual]

Set the residual field for output.

Implemented in Albany::Catalyst::Decorator, AlbPUMI::FMDBDiscretization< Output >, and Albany::STKDiscretization.

virtual void Albany::AbstractDiscretization::writeSolution ( const Epetra_Vector &  solution,
const double  time,
const bool  overlapped = false 
) [pure virtual]

Write the solution to the output file.

Implemented in Albany::Catalyst::Decorator, AlbPUMI::FMDBDiscretization< Output >, and Albany::STKDiscretization.

AbstractDiscretization& Albany::AbstractDiscretization::operator= ( const AbstractDiscretization  )  [private]

Private to prohibit copying.


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