This is a container class that deals with managing data values at the nodes of a mesh. More...
#include <Adapt_NodalDataBlock.hpp>
Classes | |
struct | NodeFieldSize |
Public Member Functions | |
NodalDataBlock () | |
virtual | ~NodalDataBlock () |
Destructor. | |
void | resizeLocalMap (const std::vector< int > &local_nodeGIDs, const Epetra_Comm &comm) |
void | resizeOverlapMap (const std::vector< int > &overlap_nodeGIDs, const Epetra_Comm &comm) |
Teuchos::RCP< Epetra_Vector > | getOverlapNodeVec () |
Teuchos::RCP< Epetra_Vector > | getLocalNodeVec () |
Teuchos::RCP< const Epetra_BlockMap > | getOverlapMap () const |
Teuchos::RCP< const Epetra_BlockMap > | getLocalMap () const |
void | initializeVectors (double value) |
void | initializeExport () |
void | exportAddNodalDataBlock () |
void | saveNodalDataState () const |
void | saveEpetraNodalDataVector (const std::string &name, const Teuchos::RCP< const Epetra_Vector > &overlap_node_vec, int offset, int blocksize) const |
int | getBlocksize () |
void | getNDofsAndOffset (const std::string &stateName, int &offset, int &ndofs) const |
void | registerState (const std::string &stateName, int ndofs) |
Teuchos::RCP < Albany::NodeFieldContainer > | getNodeContainer () |
Private Types | |
typedef std::vector < NodeFieldSize > | NodeFieldSizeVector |
typedef std::map< const std::string, std::size_t > | NodeFieldSizeMap |
Private Attributes | |
Teuchos::RCP< const Epetra_BlockMap > | overlap_node_map |
Teuchos::RCP< const Epetra_BlockMap > | local_node_map |
Teuchos::RCP< Epetra_Vector > | overlap_node_vec |
Teuchos::RCP< Epetra_Vector > | local_node_vec |
Teuchos::RCP< Epetra_Import > | importer |
Teuchos::RCP < Albany::NodeFieldContainer > | nodeContainer |
NodeFieldSizeVector | nodeBlockLayout |
NodeFieldSizeMap | nodeBlockMap |
int | blocksize |
bool | mapsHaveChanged |
This is a container class that deals with managing data values at the nodes of a mesh.
Definition at line 22 of file Adapt_NodalDataBlock.hpp.
typedef std::vector<NodeFieldSize> Adapt::NodalDataBlock::NodeFieldSizeVector [private] |
Definition at line 71 of file Adapt_NodalDataBlock.hpp.
typedef std::map<const std::string, std::size_t> Adapt::NodalDataBlock::NodeFieldSizeMap [private] |
Definition at line 72 of file Adapt_NodalDataBlock.hpp.
Adapt::NodalDataBlock::NodalDataBlock | ( | ) |
Definition at line 10 of file Adapt_NodalDataBlock.cpp.
virtual Adapt::NodalDataBlock::~NodalDataBlock | ( | ) | [inline, virtual] |
Destructor.
Definition at line 29 of file Adapt_NodalDataBlock.hpp.
void Adapt::NodalDataBlock::resizeLocalMap | ( | const std::vector< int > & | local_nodeGIDs, | |
const Epetra_Comm & | comm | |||
) |
Definition at line 36 of file Adapt_NodalDataBlock.cpp.
void Adapt::NodalDataBlock::resizeOverlapMap | ( | const std::vector< int > & | overlap_nodeGIDs, | |
const Epetra_Comm & | comm | |||
) |
Definition at line 18 of file Adapt_NodalDataBlock.cpp.
Teuchos::RCP<Epetra_Vector> Adapt::NodalDataBlock::getOverlapNodeVec | ( | ) | [inline] |
Definition at line 35 of file Adapt_NodalDataBlock.hpp.
Teuchos::RCP<Epetra_Vector> Adapt::NodalDataBlock::getLocalNodeVec | ( | ) | [inline] |
Definition at line 36 of file Adapt_NodalDataBlock.hpp.
Teuchos::RCP<const Epetra_BlockMap> Adapt::NodalDataBlock::getOverlapMap | ( | ) | const [inline] |
Definition at line 38 of file Adapt_NodalDataBlock.hpp.
Teuchos::RCP<const Epetra_BlockMap> Adapt::NodalDataBlock::getLocalMap | ( | ) | const [inline] |
Definition at line 39 of file Adapt_NodalDataBlock.hpp.
void Adapt::NodalDataBlock::initializeVectors | ( | double | value | ) | [inline] |
Definition at line 41 of file Adapt_NodalDataBlock.hpp.
void Adapt::NodalDataBlock::initializeExport | ( | ) |
Definition at line 56 of file Adapt_NodalDataBlock.cpp.
void Adapt::NodalDataBlock::exportAddNodalDataBlock | ( | ) |
Definition at line 68 of file Adapt_NodalDataBlock.cpp.
void Adapt::NodalDataBlock::saveNodalDataState | ( | ) | const |
Definition at line 114 of file Adapt_NodalDataBlock.cpp.
void Adapt::NodalDataBlock::saveEpetraNodalDataVector | ( | const std::string & | name, | |
const Teuchos::RCP< const Epetra_Vector > & | overlap_node_vec, | |||
int | offset, | |||
int | blocksize | |||
) | const |
Definition at line 128 of file Adapt_NodalDataBlock.cpp.
int Adapt::NodalDataBlock::getBlocksize | ( | ) | [inline] |
Definition at line 52 of file Adapt_NodalDataBlock.hpp.
void Adapt::NodalDataBlock::getNDofsAndOffset | ( | const std::string & | stateName, | |
int & | offset, | |||
int & | ndofs | |||
) | const |
Definition at line 98 of file Adapt_NodalDataBlock.cpp.
void Adapt::NodalDataBlock::registerState | ( | const std::string & | stateName, | |
int | ndofs | |||
) |
Definition at line 75 of file Adapt_NodalDataBlock.cpp.
Teuchos::RCP<Albany::NodeFieldContainer> Adapt::NodalDataBlock::getNodeContainer | ( | ) | [inline] |
Definition at line 58 of file Adapt_NodalDataBlock.hpp.
Teuchos::RCP<const Epetra_BlockMap> Adapt::NodalDataBlock::overlap_node_map [private] |
Definition at line 74 of file Adapt_NodalDataBlock.hpp.
Teuchos::RCP<const Epetra_BlockMap> Adapt::NodalDataBlock::local_node_map [private] |
Definition at line 75 of file Adapt_NodalDataBlock.hpp.
Teuchos::RCP<Epetra_Vector> Adapt::NodalDataBlock::overlap_node_vec [private] |
Definition at line 77 of file Adapt_NodalDataBlock.hpp.
Teuchos::RCP<Epetra_Vector> Adapt::NodalDataBlock::local_node_vec [private] |
Definition at line 78 of file Adapt_NodalDataBlock.hpp.
Teuchos::RCP<Epetra_Import> Adapt::NodalDataBlock::importer [private] |
Definition at line 80 of file Adapt_NodalDataBlock.hpp.
Teuchos::RCP<Albany::NodeFieldContainer> Adapt::NodalDataBlock::nodeContainer [private] |
Definition at line 82 of file Adapt_NodalDataBlock.hpp.
Definition at line 84 of file Adapt_NodalDataBlock.hpp.
Definition at line 85 of file Adapt_NodalDataBlock.hpp.
int Adapt::NodalDataBlock::blocksize [private] |
Definition at line 87 of file Adapt_NodalDataBlock.hpp.
bool Adapt::NodalDataBlock::mapsHaveChanged [private] |
Definition at line 89 of file Adapt_NodalDataBlock.hpp.