#include <Albany_MpasSTKMeshStruct.hpp>
Public Member Functions | |
MpasSTKMeshStruct (const Teuchos::RCP< Teuchos::ParameterList > ¶ms, const Teuchos::RCP< const Epetra_Comm > &comm, const std::vector< int > &indexToTriangleID, const std::vector< int > &verticesOnTria, int nGlobalTriangles) | |
MpasSTKMeshStruct (const Teuchos::RCP< Teuchos::ParameterList > ¶ms, const Teuchos::RCP< const Epetra_Comm > &comm, const std::vector< int > &indexToTriangleID, const std::vector< int > &verticesOnTria, int nGlobalTriangles, int numLayers, int Ordering=0) | |
MpasSTKMeshStruct (const Teuchos::RCP< Teuchos::ParameterList > ¶ms, const Teuchos::RCP< const Epetra_Comm > &comm, const std::vector< int > &indexToTriangleID, int nGlobalTriangles, int numLayers, int Ordering=0) | |
~MpasSTKMeshStruct () | |
void | setFieldAndBulkData (const Teuchos::RCP< const Epetra_Comm > &comm, const Teuchos::RCP< Teuchos::ParameterList > ¶ms, const unsigned int neq_, const Albany::AbstractFieldContainer::FieldContainerRequirements &req, const Teuchos::RCP< Albany::StateInfoStruct > &sis, const unsigned int worksetSize) |
bool | hasRestartSolution () const |
Flag if solution has a restart values -- used in Init Cond. | |
void | setHasRestartSolution (bool hasRestartSolution) |
void | setRestartDataTime (double restartT) |
double | restartDataTime () const |
If restarting, convenience function to return restart data time. | |
void | constructMesh (const Teuchos::RCP< const Epetra_Comm > &comm, const Teuchos::RCP< Teuchos::ParameterList > ¶ms, const unsigned int neq_, const Albany::AbstractFieldContainer::FieldContainerRequirements &req, const Teuchos::RCP< Albany::StateInfoStruct > &sis, const std::vector< int > &indexToVertexID, const std::vector< double > &verticesCoords, const std::vector< bool > &isVertexBoundary, int nGlobalVertices, const std::vector< int > &verticesOnTria, const std::vector< bool > &isBoundaryEdge, const std::vector< int > &trianglesOnEdge, const std::vector< int > &trianglesPositionsOnEdge, const std::vector< int > &verticesOnEdge, const std::vector< int > &indexToEdgeID, int nGlobalEdges, const unsigned int worksetSize) |
void | constructMesh (const Teuchos::RCP< const Epetra_Comm > &comm, const Teuchos::RCP< Teuchos::ParameterList > ¶ms, const unsigned int neq_, const Albany::AbstractFieldContainer::FieldContainerRequirements &req, const Teuchos::RCP< Albany::StateInfoStruct > &sis, const std::vector< int > &indexToVertexID, const std::vector< double > &verticesCoords, const std::vector< bool > &isVertexBoundary, int nGlobalVertices, const std::vector< int > &verticesOnTria, const std::vector< bool > &isBoundaryEdge, const std::vector< int > &trianglesOnEdge, const std::vector< int > &trianglesPositionsOnEdge, const std::vector< int > &verticesOnEdge, const std::vector< int > &indexToEdgeID, int nGlobalEdges, const std::vector< int > &indexToTriangleID, const unsigned int worksetSize, int numLayers, int Ordering=0) |
void | constructMesh (const Teuchos::RCP< const Epetra_Comm > &comm, const Teuchos::RCP< Teuchos::ParameterList > ¶ms, const unsigned int neq_, const Albany::AbstractFieldContainer::FieldContainerRequirements &req, const Teuchos::RCP< Albany::StateInfoStruct > &sis, const std::vector< int > &indexToVertexID, const std::vector< int > &indexToMpasVertexID, const std::vector< double > &verticesCoords, const std::vector< bool > &isVertexBoundary, int nGlobalVertices, const std::vector< int > &verticesOnTria, const std::vector< bool > &isBoundaryEdge, const std::vector< int > &trianglesOnEdge, const std::vector< int > &trianglesPositionsOnEdge, const std::vector< int > &verticesOnEdge, const std::vector< int > &indexToEdgeID, int nGlobalEdges, const std::vector< int > &indexToTriangleID, const unsigned int worksetSize, int numLayers, int Ordering=0) |
const bool | getInterleavedOrdering () const |
Private Member Functions | |
void | tetrasFromPrismStructured (int const *prismVertexLIds, int const *prismVertexGIds, int tetrasIdsOnPrism[][4]) |
void | setBdFacesOnPrism (const std::vector< std::vector< std::vector< int > > > &prismStruct, const std::vector< int > &prismFaceIds, std::vector< int > &tetraPos, std::vector< int > &facePos) |
Teuchos::RCP< const Teuchos::ParameterList > | getValidDiscretizationParameters () const |
Private Attributes | |
Teuchos::RCP < Teuchos::FancyOStream > | out |
bool | periodic |
int | NumEles |
bool | hasRestartSol |
double | restartTime |
Teuchos::RCP< Epetra_Map > | elem_map |
Definition at line 15 of file Albany_MpasSTKMeshStruct.hpp.
Albany::MpasSTKMeshStruct::MpasSTKMeshStruct | ( | const Teuchos::RCP< Teuchos::ParameterList > & | params, | |
const Teuchos::RCP< const Epetra_Comm > & | comm, | |||
const std::vector< int > & | indexToTriangleID, | |||
const std::vector< int > & | verticesOnTria, | |||
int | nGlobalTriangles | |||
) |
Definition at line 27 of file Albany_MpasSTKMeshStruct.cpp.
Albany::MpasSTKMeshStruct::MpasSTKMeshStruct | ( | const Teuchos::RCP< Teuchos::ParameterList > & | params, | |
const Teuchos::RCP< const Epetra_Comm > & | comm, | |||
const std::vector< int > & | indexToTriangleID, | |||
const std::vector< int > & | verticesOnTria, | |||
int | nGlobalTriangles, | |||
int | numLayers, | |||
int | Ordering = 0 | |||
) |
Definition at line 92 of file Albany_MpasSTKMeshStruct.cpp.
Albany::MpasSTKMeshStruct::MpasSTKMeshStruct | ( | const Teuchos::RCP< Teuchos::ParameterList > & | params, | |
const Teuchos::RCP< const Epetra_Comm > & | comm, | |||
const std::vector< int > & | indexToTriangleID, | |||
int | nGlobalTriangles, | |||
int | numLayers, | |||
int | Ordering = 0 | |||
) |
Definition at line 192 of file Albany_MpasSTKMeshStruct.cpp.
Albany::MpasSTKMeshStruct::~MpasSTKMeshStruct | ( | ) |
Definition at line 295 of file Albany_MpasSTKMeshStruct.cpp.
void Albany::MpasSTKMeshStruct::setFieldAndBulkData | ( | const Teuchos::RCP< const Epetra_Comm > & | comm, | |
const Teuchos::RCP< Teuchos::ParameterList > & | params, | |||
const unsigned int | neq_, | |||
const Albany::AbstractFieldContainer::FieldContainerRequirements & | req, | |||
const Teuchos::RCP< Albany::StateInfoStruct > & | sis, | |||
const unsigned int | worksetSize | |||
) | [inline, virtual] |
Implements Albany::GenericSTKMeshStruct.
Definition at line 34 of file Albany_MpasSTKMeshStruct.hpp.
bool Albany::MpasSTKMeshStruct::hasRestartSolution | ( | ) | const [inline, virtual] |
Flag if solution has a restart values -- used in Init Cond.
Implements Albany::AbstractSTKMeshStruct.
Definition at line 43 of file Albany_MpasSTKMeshStruct.hpp.
void Albany::MpasSTKMeshStruct::setHasRestartSolution | ( | bool | hasRestartSolution | ) | [inline] |
Definition at line 45 of file Albany_MpasSTKMeshStruct.hpp.
void Albany::MpasSTKMeshStruct::setRestartDataTime | ( | double | restartT | ) | [inline] |
Definition at line 47 of file Albany_MpasSTKMeshStruct.hpp.
double Albany::MpasSTKMeshStruct::restartDataTime | ( | ) | const [inline, virtual] |
If restarting, convenience function to return restart data time.
Implements Albany::AbstractSTKMeshStruct.
Definition at line 50 of file Albany_MpasSTKMeshStruct.hpp.
void Albany::MpasSTKMeshStruct::constructMesh | ( | const Teuchos::RCP< const Epetra_Comm > & | comm, | |
const Teuchos::RCP< Teuchos::ParameterList > & | params, | |||
const unsigned int | neq_, | |||
const Albany::AbstractFieldContainer::FieldContainerRequirements & | req, | |||
const Teuchos::RCP< Albany::StateInfoStruct > & | sis, | |||
const std::vector< int > & | indexToVertexID, | |||
const std::vector< double > & | verticesCoords, | |||
const std::vector< bool > & | isVertexBoundary, | |||
int | nGlobalVertices, | |||
const std::vector< int > & | verticesOnTria, | |||
const std::vector< bool > & | isBoundaryEdge, | |||
const std::vector< int > & | trianglesOnEdge, | |||
const std::vector< int > & | trianglesPositionsOnEdge, | |||
const std::vector< int > & | verticesOnEdge, | |||
const std::vector< int > & | indexToEdgeID, | |||
int | nGlobalEdges, | |||
const unsigned int | worksetSize | |||
) |
Definition at line 687 of file Albany_MpasSTKMeshStruct.cpp.
void Albany::MpasSTKMeshStruct::constructMesh | ( | const Teuchos::RCP< const Epetra_Comm > & | comm, | |
const Teuchos::RCP< Teuchos::ParameterList > & | params, | |||
const unsigned int | neq_, | |||
const Albany::AbstractFieldContainer::FieldContainerRequirements & | req, | |||
const Teuchos::RCP< Albany::StateInfoStruct > & | sis, | |||
const std::vector< int > & | indexToVertexID, | |||
const std::vector< double > & | verticesCoords, | |||
const std::vector< bool > & | isVertexBoundary, | |||
int | nGlobalVertices, | |||
const std::vector< int > & | verticesOnTria, | |||
const std::vector< bool > & | isBoundaryEdge, | |||
const std::vector< int > & | trianglesOnEdge, | |||
const std::vector< int > & | trianglesPositionsOnEdge, | |||
const std::vector< int > & | verticesOnEdge, | |||
const std::vector< int > & | indexToEdgeID, | |||
int | nGlobalEdges, | |||
const std::vector< int > & | indexToTriangleID, | |||
const unsigned int | worksetSize, | |||
int | numLayers, | |||
int | Ordering = 0 | |||
) |
Definition at line 300 of file Albany_MpasSTKMeshStruct.cpp.
void Albany::MpasSTKMeshStruct::constructMesh | ( | const Teuchos::RCP< const Epetra_Comm > & | comm, | |
const Teuchos::RCP< Teuchos::ParameterList > & | params, | |||
const unsigned int | neq_, | |||
const Albany::AbstractFieldContainer::FieldContainerRequirements & | req, | |||
const Teuchos::RCP< Albany::StateInfoStruct > & | sis, | |||
const std::vector< int > & | indexToVertexID, | |||
const std::vector< int > & | indexToMpasVertexID, | |||
const std::vector< double > & | verticesCoords, | |||
const std::vector< bool > & | isVertexBoundary, | |||
int | nGlobalVertices, | |||
const std::vector< int > & | verticesOnTria, | |||
const std::vector< bool > & | isBoundaryEdge, | |||
const std::vector< int > & | trianglesOnEdge, | |||
const std::vector< int > & | trianglesPositionsOnEdge, | |||
const std::vector< int > & | verticesOnEdge, | |||
const std::vector< int > & | indexToEdgeID, | |||
int | nGlobalEdges, | |||
const std::vector< int > & | indexToTriangleID, | |||
const unsigned int | worksetSize, | |||
int | numLayers, | |||
int | Ordering = 0 | |||
) |
Definition at line 460 of file Albany_MpasSTKMeshStruct.cpp.
const bool Albany::MpasSTKMeshStruct::getInterleavedOrdering | ( | ) | const [inline] |
Definition at line 96 of file Albany_MpasSTKMeshStruct.hpp.
void Albany::MpasSTKMeshStruct::tetrasFromPrismStructured | ( | int const * | prismVertexLIds, | |
int const * | prismVertexGIds, | |||
int | tetrasIdsOnPrism[][4] | |||
) | [inline, private] |
Definition at line 134 of file Albany_MpasSTKMeshStruct.hpp.
void Albany::MpasSTKMeshStruct::setBdFacesOnPrism | ( | const std::vector< std::vector< std::vector< int > > > & | prismStruct, | |
const std::vector< int > & | prismFaceIds, | |||
std::vector< int > & | tetraPos, | |||
std::vector< int > & | facePos | |||
) | [inline, private] |
Definition at line 172 of file Albany_MpasSTKMeshStruct.hpp.
Teuchos::RCP< const Teuchos::ParameterList > Albany::MpasSTKMeshStruct::getValidDiscretizationParameters | ( | ) | const [private] |
Definition at line 763 of file Albany_MpasSTKMeshStruct.cpp.
Teuchos::RCP<Teuchos::FancyOStream> Albany::MpasSTKMeshStruct::out [private] |
Definition at line 106 of file Albany_MpasSTKMeshStruct.hpp.
bool Albany::MpasSTKMeshStruct::periodic [private] |
Definition at line 107 of file Albany_MpasSTKMeshStruct.hpp.
int Albany::MpasSTKMeshStruct::NumEles [private] |
Definition at line 108 of file Albany_MpasSTKMeshStruct.hpp.
bool Albany::MpasSTKMeshStruct::hasRestartSol [private] |
Definition at line 109 of file Albany_MpasSTKMeshStruct.hpp.
double Albany::MpasSTKMeshStruct::restartTime [private] |
Definition at line 110 of file Albany_MpasSTKMeshStruct.hpp.
Teuchos::RCP<Epetra_Map> Albany::MpasSTKMeshStruct::elem_map [private] |
Definition at line 111 of file Albany_MpasSTKMeshStruct.hpp.