Public Member Functions | Private Member Functions | Private Attributes

Albany::Catalyst::Decorator Class Reference

#include <Albany_Catalyst_Decorator.hpp>

Inheritance diagram for Albany::Catalyst::Decorator:
Inheritance graph
[legend]
Collaboration diagram for Albany::Catalyst::Decorator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Decorator (Teuchos::RCP< Albany::AbstractDiscretization > discretization_, const Teuchos::RCP< Teuchos::ParameterList > &catalystParams)
 ~Decorator ()
Teuchos::RCP< const Epetra_Map > getMap () const
 Get DOF map.
Teuchos::RCP< const Epetra_Map > getOverlapMap () const
 Get overlapped DOF map.
Teuchos::RCP< const
Epetra_CrsGraph > 
getJacobianGraph () const
 Get Jacobian graph.
Teuchos::RCP< const
Epetra_CrsGraph > 
getOverlapJacobianGraph () const
 Get overlap Jacobian graph.
Teuchos::RCP< const Epetra_Map > getNodeMap () const
 Get Node map.
const NodeSetListgetNodeSets () const
 Get Node set lists (typedef in Albany_AbstractDiscretization.hpp).
const NodeSetCoordListgetNodeSetCoords () const
const SideSetListgetSideSets (const int workset) const
 Get Side set lists (typedef in Albany_AbstractDiscretization.hpp).
const WorksetArray
< Teuchos::ArrayRCP
< Teuchos::ArrayRCP
< Teuchos::ArrayRCP< int >
> > >::type & 
getWsElNodeEqID () const
 Get map from (Ws, El, Local Node) -> NodeLID.
Teuchos::ArrayRCP< double > & getCoordinates () const
 Retrieve coodinate vector (num_used_nodes * 3).
const WorksetArray
< Teuchos::ArrayRCP
< Teuchos::ArrayRCP< double * >
> >::type & 
getCoords () const
const WorksetArray
< Teuchos::ArrayRCP
< Teuchos::ArrayRCP< double >
> >::type & 
getSurfaceHeight () const
const WorksetArray
< Teuchos::ArrayRCP< double >
>::type & 
getTemperature () const
const WorksetArray
< Teuchos::ArrayRCP
< Teuchos::ArrayRCP< double >
> >::type & 
getBasalFriction () const
const WorksetArray
< Teuchos::ArrayRCP
< Teuchos::ArrayRCP< double >
> >::type & 
getThickness () const
void printCoords () const
 Print the coordinates for debugging.
Teuchos::RCP
< Albany::AbstractMeshStruct
getMeshStruct () const
Albany::StateArraysgetStateArrays ()
const WorksetArray
< std::string >::type & 
getWsEBNames () const
 Retrieve Vector (length num worksets) of element block names.
const WorksetArray< int >::type & getWsPhysIndex () const
 Retrieve Vector (length num worksets) of physics set index.
WsLIDListgetElemGIDws ()
 Get connectivity map from elementGID to workset.
void writeSolution (const Epetra_Vector &soln, const double time, const bool overlapped=false)
 Write the solution to the output file.
vtkUnstructuredGridBase * newVtkUnstructuredGrid ()
Teuchos::RCP< Epetra_Vector > getSolutionField () const
 Get solution vector from mesh database.
void setResidualField (const Epetra_Vector &residual)
 Set the residual field for output.
bool hasRestartSolution () const
 Flag if solution has a restart values -- used in Init Cond.
virtual bool supportsMOR () const
 Does the underlying discretization support MOR?
double restartDataTime () const
 If restarting, convenience function to return restart data time.
int getNumDim () const
 Get number of spatial dimensions.
int getNumEq () const
 Get number of total DOFs per node.

Private Member Functions

 Decorator (const Decorator &)
 Private to prohibit copying.
Decoratoroperator= (const Decorator &)
 Private to prohibit copying.

Private Attributes

Teuchos::RCP
< Albany::AbstractDiscretization
discretization
int timestep

Detailed Description

Definition at line 17 of file Albany_Catalyst_Decorator.hpp.


Constructor & Destructor Documentation

Albany::Catalyst::Decorator::Decorator ( Teuchos::RCP< Albany::AbstractDiscretization discretization_,
const Teuchos::RCP< Teuchos::ParameterList > &  catalystParams 
)
Albany::Catalyst::Decorator::~Decorator (  ) 

Definition at line 22 of file Albany_Catalyst_Decorator.cpp.

Albany::Catalyst::Decorator::Decorator ( const Decorator  )  [private]

Private to prohibit copying.


Member Function Documentation

Teuchos::RCP< const Epetra_Map > Albany::Catalyst::Decorator::getMap (  )  const [virtual]

Get DOF map.

Implements Albany::AbstractDiscretization.

Definition at line 27 of file Albany_Catalyst_Decorator.cpp.

Teuchos::RCP< const Epetra_Map > Albany::Catalyst::Decorator::getOverlapMap (  )  const [virtual]

Get overlapped DOF map.

Implements Albany::AbstractDiscretization.

Definition at line 32 of file Albany_Catalyst_Decorator.cpp.

Teuchos::RCP< const Epetra_CrsGraph > Albany::Catalyst::Decorator::getJacobianGraph (  )  const [virtual]

Get Jacobian graph.

Implements Albany::AbstractDiscretization.

Definition at line 37 of file Albany_Catalyst_Decorator.cpp.

Teuchos::RCP< const Epetra_CrsGraph > Albany::Catalyst::Decorator::getOverlapJacobianGraph (  )  const [virtual]

Get overlap Jacobian graph.

Implements Albany::AbstractDiscretization.

Definition at line 43 of file Albany_Catalyst_Decorator.cpp.

Teuchos::RCP< const Epetra_Map > Albany::Catalyst::Decorator::getNodeMap (  )  const [virtual]

Get Node map.

Implements Albany::AbstractDiscretization.

Definition at line 48 of file Albany_Catalyst_Decorator.cpp.

const NodeSetList & Albany::Catalyst::Decorator::getNodeSets (  )  const [virtual]

Get Node set lists (typedef in Albany_AbstractDiscretization.hpp).

Implements Albany::AbstractDiscretization.

Definition at line 53 of file Albany_Catalyst_Decorator.cpp.

const NodeSetCoordList & Albany::Catalyst::Decorator::getNodeSetCoords (  )  const [virtual]

Implements Albany::AbstractDiscretization.

Definition at line 58 of file Albany_Catalyst_Decorator.cpp.

const SideSetList & Albany::Catalyst::Decorator::getSideSets ( const int  workset  )  const [virtual]

Get Side set lists (typedef in Albany_AbstractDiscretization.hpp).

Implements Albany::AbstractDiscretization.

Definition at line 63 of file Albany_Catalyst_Decorator.cpp.

const WorksetArray< Teuchos::ArrayRCP< Teuchos::ArrayRCP< Teuchos::ArrayRCP< int > > > >::type & Albany::Catalyst::Decorator::getWsElNodeEqID (  )  const [virtual]

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

Implements Albany::AbstractDiscretization.

Definition at line 74 of file Albany_Catalyst_Decorator.cpp.

Teuchos::ArrayRCP< double > & Albany::Catalyst::Decorator::getCoordinates (  )  const [virtual]

Retrieve coodinate vector (num_used_nodes * 3).

Implements Albany::AbstractDiscretization.

Definition at line 79 of file Albany_Catalyst_Decorator.cpp.

const WorksetArray< Teuchos::ArrayRCP< Teuchos::ArrayRCP< double * > > >::type & Albany::Catalyst::Decorator::getCoords (  )  const [virtual]

Implements Albany::AbstractDiscretization.

Definition at line 84 of file Albany_Catalyst_Decorator.cpp.

const WorksetArray< Teuchos::ArrayRCP< Teuchos::ArrayRCP< double > > >::type & Albany::Catalyst::Decorator::getSurfaceHeight (  )  const [virtual]

Implements Albany::AbstractDiscretization.

Definition at line 89 of file Albany_Catalyst_Decorator.cpp.

const WorksetArray< Teuchos::ArrayRCP< double > >::type & Albany::Catalyst::Decorator::getTemperature (  )  const [virtual]

Implements Albany::AbstractDiscretization.

Definition at line 95 of file Albany_Catalyst_Decorator.cpp.

const WorksetArray< Teuchos::ArrayRCP< Teuchos::ArrayRCP< double > > >::type & Albany::Catalyst::Decorator::getBasalFriction (  )  const [virtual]

Implements Albany::AbstractDiscretization.

Definition at line 101 of file Albany_Catalyst_Decorator.cpp.

const WorksetArray< Teuchos::ArrayRCP< Teuchos::ArrayRCP< double > > >::type & Albany::Catalyst::Decorator::getThickness (  )  const [virtual]

Implements Albany::AbstractDiscretization.

Definition at line 107 of file Albany_Catalyst_Decorator.cpp.

void Albany::Catalyst::Decorator::printCoords (  )  const [virtual]

Print the coordinates for debugging.

Implements Albany::AbstractDiscretization.

Definition at line 112 of file Albany_Catalyst_Decorator.cpp.

Teuchos::RCP< AbstractMeshStruct > Albany::Catalyst::Decorator::getMeshStruct (  )  const [virtual]

Implements Albany::AbstractDiscretization.

Definition at line 117 of file Albany_Catalyst_Decorator.cpp.

StateArrays & Albany::Catalyst::Decorator::getStateArrays (  )  [virtual]

Implements Albany::AbstractDiscretization.

Definition at line 122 of file Albany_Catalyst_Decorator.cpp.

const WorksetArray< std::string >::type & Albany::Catalyst::Decorator::getWsEBNames (  )  const [virtual]

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

Implements Albany::AbstractDiscretization.

Definition at line 127 of file Albany_Catalyst_Decorator.cpp.

const WorksetArray< int >::type & Albany::Catalyst::Decorator::getWsPhysIndex (  )  const [virtual]

Retrieve Vector (length num worksets) of physics set index.

Implements Albany::AbstractDiscretization.

Definition at line 132 of file Albany_Catalyst_Decorator.cpp.

WsLIDList & Albany::Catalyst::Decorator::getElemGIDws (  )  [virtual]

Get connectivity map from elementGID to workset.

Implements Albany::AbstractDiscretization.

Definition at line 68 of file Albany_Catalyst_Decorator.cpp.

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

Write the solution to the output file.

Implements Albany::AbstractDiscretization.

Definition at line 137 of file Albany_Catalyst_Decorator.cpp.

vtkUnstructuredGridBase * Albany::Catalyst::Decorator::newVtkUnstructuredGrid (  ) 

Definition at line 147 of file Albany_Catalyst_Decorator.cpp.

Teuchos::RCP< Epetra_Vector > Albany::Catalyst::Decorator::getSolutionField (  )  const [virtual]

Get solution vector from mesh database.

Implements Albany::AbstractDiscretization.

Definition at line 162 of file Albany_Catalyst_Decorator.cpp.

void Albany::Catalyst::Decorator::setResidualField ( const Epetra_Vector &  residual  )  [virtual]

Set the residual field for output.

Implements Albany::AbstractDiscretization.

Definition at line 167 of file Albany_Catalyst_Decorator.cpp.

bool Albany::Catalyst::Decorator::hasRestartSolution (  )  const [virtual]

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

Implements Albany::AbstractDiscretization.

Definition at line 172 of file Albany_Catalyst_Decorator.cpp.

bool Albany::Catalyst::Decorator::supportsMOR (  )  const [virtual]

Does the underlying discretization support MOR?

Implements Albany::AbstractDiscretization.

Definition at line 177 of file Albany_Catalyst_Decorator.cpp.

double Albany::Catalyst::Decorator::restartDataTime (  )  const [virtual]

If restarting, convenience function to return restart data time.

Implements Albany::AbstractDiscretization.

Definition at line 186 of file Albany_Catalyst_Decorator.cpp.

int Albany::Catalyst::Decorator::getNumDim (  )  const [virtual]

Get number of spatial dimensions.

Implements Albany::AbstractDiscretization.

Definition at line 191 of file Albany_Catalyst_Decorator.cpp.

int Albany::Catalyst::Decorator::getNumEq (  )  const [virtual]

Get number of total DOFs per node.

Implements Albany::AbstractDiscretization.

Definition at line 196 of file Albany_Catalyst_Decorator.cpp.

Decorator& Albany::Catalyst::Decorator::operator= ( const Decorator  )  [private]

Private to prohibit copying.


Member Data Documentation

Definition at line 103 of file Albany_Catalyst_Decorator.hpp.

Definition at line 104 of file Albany_Catalyst_Decorator.hpp.


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