PolyDiM
C++ library for POLYtopal DIscretization Methods
Loading...
Searching...
No Matches
Gedim::MeshMatricesDAO Class Reference

#include <IMeshDAO.hpp>

Inheritance diagram for Gedim::MeshMatricesDAO:
[legend]

Public Member Functions

 MeshMatricesDAO (Gedim::MeshMatrices &mesh)
 
 ~MeshMatricesDAO ()
 
Gedim::MeshMatricesMeshData ()
 
const Gedim::MeshMatricesMeshData () const
 
void InitializeDimension (const unsigned int &dimension)
 Initialize the mesh dimension.
 
unsigned int Dimension () const
 
void Cell0DsInitialize (const unsigned int &numberCell0Ds)
 Initialize the Cell0Ds container.
 
unsigned int Cell0DAppend (const unsigned int &numberCell0Ds)
 Append Cell0Ds to the Cell0Ds container.
 
void Cell0DRemove (const unsigned int &cell0DIndex)
 Remove the Cell0D from the mesh.
 
void Cell0DInsertCoordinates (const unsigned int &cell0DIndex, const Eigen::Vector3d &coordinates)
 Add the Cell0D Coordinates.
 
void Cell0DsInsertCoordinates (const Eigen::MatrixXd &coordinates)
 Add the Cell0Ds Coordinates.
 
void Cell0DSetMarker (const unsigned int &cell0DIndex, const unsigned int &marker)
 Set the Cell0D Marker.
 
void Cell0DSetState (const unsigned int &cell0DIndex, const bool &state)
 Set the Cell0D state.
 
unsigned int Cell0DTotalNumber () const
 
double Cell0DCoordinateX (const unsigned int &cell0DIndex) const
 
double Cell0DCoordinateY (const unsigned int &cell0DIndex) const
 
double Cell0DCoordinateZ (const unsigned int &cell0DIndex) const
 
Eigen::Vector3d Cell0DCoordinates (const unsigned int &cell0DIndex) const
 
Eigen::MatrixXd Cell0DsCoordinates () const
 
Eigen::MatrixXd Cell0DsCoordinates (const std::vector< unsigned int > &cell0Ds) const
 
unsigned int Cell0DMarker (const unsigned int &cell0DIndex) const
 
std::vector< unsigned intCell0DsMarker () const
 
bool Cell0DIsActive (const unsigned int &cell0DIndex) const
 
std::vector< boolCell0DsState () const
 
bool Cell0DHasUpdatedCell0Ds (const unsigned int &cell0DIndex) const
 
unsigned int Cell0DNumberUpdatedCell0Ds (const unsigned int &cell0DIndex) const
 
bool Cell0DHasUpdatedCell0D (const unsigned int &cell0DIndex, const unsigned int &updatedCell0DIdex) const
 
void Cell0DInsertUpdatedCell0D (const unsigned int &cell0DIndex, const unsigned int &updatedCell0DIdex)
 Add the new Cell0D to an existing Cell0D.
 
bool Cell0DUpdatedCell0Ds (const unsigned int &cell0DIndex, std::list< unsigned int > &updatedCell0DIds) const
 return the updated Cell0D Ids for cell0DIndex
 
std::vector< std::vector< unsigned int > > Cell0DsNeighbourCell1Ds () const
 
void Cell0DsInitializeNeighbourCell1Ds (const std::vector< unsigned int > &numberNeighbourCell1Ds)
 Initialize the Cell0Ds Cell1D neighbours number.
 
void Cell0DInitializeNeighbourCell1Ds (const unsigned int &cell0DIndex, const unsigned int &numberNeighbourCell1Ds)
 Initialize the Cell0D Cell1D neighbours number.
 
void Cell0DInitializeNeighbourCell1Ds (const unsigned int &cell0DIndex, const std::vector< unsigned int > &neighbourCell1Ds)
 
void Cell0DInsertNeighbourCell1D (const unsigned int &cell0DIndex, const unsigned int &neighbourIndex, const unsigned int &neigbourCell1DIndex)
 Insert the Cell0D Cell1D neighbour.
 
unsigned int Cell0DNumberNeighbourCell1D (const unsigned int &cell0DIndex) const
 
unsigned int Cell0DNeighbourCell1D (const unsigned int &cell0DIndex, const unsigned int &neighbourIndex) const
 
std::vector< unsigned intCell0DNeighbourCell1Ds (const unsigned int &cell0DIndex) const
 
bool Cell0DHasNeighbourCell1D (const unsigned int &cell0DIndex, const unsigned int &neighbourIndex) const
 
void Cell0DResetNeighbourCell1D (const unsigned int &cell0DIndex, const unsigned int &neighbourIndex)
 Reset the Cell0D Cell1D neighbour to empty value (Cell0DHasNeighbourCell1D is false)
 
std::vector< std::vector< unsigned int > > Cell0DsNeighbourCell2Ds () const
 
void Cell0DsInitializeNeighbourCell2Ds (const std::vector< unsigned int > &numberNeighbourCell2Ds)
 Initialize the Cell0Ds Cell2D neighbours number.
 
void Cell0DInitializeNeighbourCell2Ds (const unsigned int &cell0DIndex, const unsigned int &numberNeighbourCell2Ds)
 Initialize the Cell0D Cell2D neighbours number.
 
void Cell0DInitializeNeighbourCell2Ds (const unsigned int &cell0DIndex, const std::vector< unsigned int > &neighbourCell2Ds)
 
void Cell0DInsertNeighbourCell2D (const unsigned int &cell0DIndex, const unsigned int &neighbourIndex, const unsigned int &neigbourCell2DIndex)
 Insert the Cell0D Cell2D neighbour.
 
unsigned int Cell0DNumberNeighbourCell2D (const unsigned int &cell0DIndex) const
 
unsigned int Cell0DNeighbourCell2D (const unsigned int &cell0DIndex, const unsigned int &neighbourIndex) const
 
std::vector< unsigned intCell0DNeighbourCell2Ds (const unsigned int &cell0DIndex) const
 
bool Cell0DHasNeighbourCell2D (const unsigned int &cell0DIndex, const unsigned int &neighbourIndex) const
 
void Cell0DResetNeighbourCell2D (const unsigned int &cell0DIndex, const unsigned int &neighbourIndex)
 Reset the Cell0D Cell2D neighbour to empty value (Cell0DHasNeighbourCell2D is false)
 
std::vector< std::vector< unsigned int > > Cell0DsNeighbourCell3Ds () const
 
void Cell0DsInitializeNeighbourCell3Ds (const std::vector< unsigned int > &numberNeighbourCell3Ds)
 Initialize the Cell0Ds Cell3D neighbours number.
 
void Cell0DInitializeNeighbourCell3Ds (const unsigned int &cell0DIndex, const unsigned int &numberNeighbourCell3Ds)
 Initialize the Cell0D Cell3D neighbours number.
 
void Cell0DInitializeNeighbourCell3Ds (const unsigned int &cell0DIndex, const std::vector< unsigned int > &neighbourCell3Ds)
 
void Cell0DInsertNeighbourCell3D (const unsigned int &cell0DIndex, const unsigned int &neighbourIndex, const unsigned int &neigbourCell3DIndex)
 Insert the Cell0D Cell3D neighbour.
 
unsigned int Cell0DNumberNeighbourCell3D (const unsigned int &cell0DIndex) const
 
unsigned int Cell0DNeighbourCell3D (const unsigned int &cell0DIndex, const unsigned int &neighbourIndex) const
 
std::vector< unsigned intCell0DNeighbourCell3Ds (const unsigned int &cell0DIndex) const
 
bool Cell0DHasNeighbourCell3D (const unsigned int &cell0DIndex, const unsigned int &neighbourIndex) const
 
void Cell0DResetNeighbourCell3D (const unsigned int &cell0DIndex, const unsigned int &neighbourIndex)
 Reset the Cell0D Cell3D neighbour to empty value (Cell0DHasNeighbourCell3D is false)
 
void Cell0DInitializeDoubleProperties (const unsigned int &numberDoubleProperties)
 Initialize the Cell0Ds double properties.
 
unsigned int Cell0DAddDoubleProperty (const std::string &propertyId)
 Add the Cell0Ds double property identified by id.
 
void Cell0DsInitializeDoublePropertyValues (const unsigned int &propertyIndex, const std::vector< unsigned int > &propertySizes)
 Initialize the Cell0Ds double property sizes.
 
void Cell0DInitializeDoublePropertyValues (const unsigned int &cell0DIndex, const unsigned int &propertyIndex, const unsigned int &propertySize)
 Initialize the Cell0Ds double property size.
 
void Cell0DInsertDoublePropertyValue (const unsigned int &cell0DIndex, const unsigned int &propertyIndex, const unsigned int &propertyValueIndex, const double &propertyValue)
 Insert the Cell0Ds double property value at position.
 
unsigned int Cell0DNumberDoubleProperties () const
 
std::string Cell0DDoublePropertyId (const unsigned int &propertyIndex) const
 
bool Cell0DDoublePropertyExists (const std::string &propertyId) const
 
unsigned int Cell0DDoublePropertyIndex (const std::string &propertyId) const
 
unsigned int Cell0DDoublePropertySize (const unsigned int &cell0DIndex, const unsigned int &propertyIndex) const
 
double Cell0DDoublePropertyValue (const unsigned int &cell0DIndex, const unsigned int &propertyIndex, const unsigned int &propertyValueIndex) const
 
void Cell1DsInitialize (const unsigned int &numberCell1Ds)
 Initialize the Cell1Ds container.
 
unsigned int Cell1DAppend (const unsigned int &numberCell1Ds)
 Append Cell1Ds to the Cell1Ds container.
 
void Cell1DRemove (const unsigned int &cell1DIndex)
 Remove the Cell1D from the mesh.
 
void Cell1DInsertExtremes (const unsigned int &cell1DIndex, const unsigned int &originCell0DIndex, const unsigned int &endCell0DIndex)
 Set the Cell1D Origin and End.
 
void Cell1DsInsertExtremes (const Eigen::MatrixXi &cell1DExtremes)
 Set the Cell1D Extremes for the whole mesh edges.
 
Eigen::MatrixXi Cell1DsExtremes () const
 
Eigen::MatrixXi Cell1DsExtremes (const std::vector< unsigned int > &cell1Ds) const
 
Eigen::VectorXi Cell1DExtremes (const unsigned int &cell1DIndex) const
 
unsigned int Cell1DByExtremes (const unsigned int &originCell0DIndex, const unsigned int &endCell0DIndex) const
 
void Cell1DSetMarker (const unsigned int &cell1DIndex, const unsigned int &marker)
 Set the Cell1D Marker.
 
void Cell1DSetState (const unsigned int &cell1DIndex, const bool &state)
 Set the Cell1D state.
 
std::vector< std::vector< unsigned int > > Cell1DsNeighbourCell2Ds () const
 
void Cell1DsInitializeNeighbourCell2Ds (const std::vector< unsigned int > &numberNeighbourCell2Ds)
 Initialize the Cell1Ds Cell2D neighbours number.
 
void Cell1DsInitializeNeighbourCell2Ds (const unsigned int &numberNeighbourCell2Ds)
 Initialize the Cell1Ds Cell2D neighbours number.
 
void Cell1DInitializeNeighbourCell2Ds (const unsigned int &cell1DIndex, const unsigned int &numberNeighbourCell2Ds)
 Initialize the Cell1D Cell2D neighbours number.
 
void Cell1DInitializeNeighbourCell2Ds (const unsigned int &cell1DIndex, const std::vector< unsigned int > &neighbourCell2Ds)
 
void Cell1DInsertNeighbourCell2D (const unsigned int &cell1DIndex, const unsigned int &neighbourIndex, const unsigned int &neigbourCell2DIndex)
 Insert the Cell1D Cell2D neighbour.
 
unsigned int Cell1DTotalNumber () const
 
unsigned int Cell1DVertex (const unsigned int &cell1DIndex, const unsigned int &vertexIndex) const
 
unsigned int Cell1DOrigin (const unsigned int &cell1DIndex) const
 
unsigned int Cell1DEnd (const unsigned int &cell1DIndex) const
 
unsigned int Cell1DFindExtreme (const unsigned int &cell1DIndex, const unsigned int &cell0DIndex) const
 
Eigen::MatrixXd Cell1DCoordinates (const unsigned int &cell1DIndex) const
 
Eigen::Vector3d Cell1DOriginCoordinates (const unsigned int &cell1DIndex) const
 
Eigen::Vector3d Cell1DEndCoordinates (const unsigned int &cell1DIndex) const
 
unsigned int Cell1DNumberNeighbourCell2D (const unsigned int &cell1DIndex) const
 
unsigned int Cell1DNeighbourCell2D (const unsigned int &cell1DIndex, const unsigned int &neighbourIndex) const
 
std::vector< unsigned intCell1DNeighbourCell2Ds (const unsigned int &cell1DIndex) const
 
bool Cell1DHasNeighbourCell2D (const unsigned int &cell1DIndex, const unsigned int &neighbourIndex) const
 
void Cell1DResetNeighbourCell2D (const unsigned int &cell1DIndex, const unsigned int &neighbourIndex)
 Reset the Cell1D Cell2D neighbour to empty value (Cell1DHasNeighbourCell2D is false)
 
unsigned int Cell1DMarker (const unsigned int &cell1DIndex) const
 
std::vector< unsigned intCell1DsMarker () const
 
bool Cell1DIsActive (const unsigned int &cell1DIndex) const
 
std::vector< boolCell1DsState () const
 
bool Cell1DHasOriginalCell1D (const unsigned int &updatedCell1DIndex) const
 
unsigned int Cell1DOriginalCell1D (const unsigned int &updatedCell1DIndex) const
 
bool Cell1DHasUpdatedCell1Ds (const unsigned int &cell1DIndex) const
 
unsigned int Cell1DNumberUpdatedCell1Ds (const unsigned int &cell1DIndex) const
 
bool Cell1DHasUpdatedCell1D (const unsigned int &cell1DIndex, const unsigned int &updatedCell1DIdex) const
 
void Cell1DInsertUpdatedCell1D (const unsigned int &cell1DIndex, const unsigned int &updatedCell1DIdex)
 Add the new Cell1D to an existing Cell1D.
 
bool Cell1DUpdatedCell1Ds (const unsigned int &cell1DIndex, std::list< unsigned int > &updatedCell1DIds) const
 return the updated Cell1D Ids for cell1DIndex
 
void Cell1DInitializeDoubleProperties (const unsigned int &numberDoubleProperties)
 Initialize the Cell1Ds double properties.
 
std::vector< std::vector< unsigned int > > Cell1DsNeighbourCell3Ds () const
 
void Cell1DsInitializeNeighbourCell3Ds (const std::vector< unsigned int > &numberNeighbourCell3Ds)
 Initialize the Cell1Ds Cell3D neighbours number.
 
void Cell1DInitializeNeighbourCell3Ds (const unsigned int &cell1DIndex, const unsigned int &numberNeighbourCell3Ds)
 Initialize the Cell1D Cell3D neighbours number.
 
void Cell1DInitializeNeighbourCell3Ds (const unsigned int &cell1DIndex, const std::vector< unsigned int > &neighbourCell3Ds)
 
void Cell1DInsertNeighbourCell3D (const unsigned int &cell1DIndex, const unsigned int &neighbourIndex, const unsigned int &neigbourCell3DIndex)
 Insert the Cell1D Cell3D neighbour.
 
unsigned int Cell1DNumberNeighbourCell3D (const unsigned int &cell1DIndex) const
 
unsigned int Cell1DNeighbourCell3D (const unsigned int &cell1DIndex, const unsigned int &neighbourIndex) const
 
std::vector< unsigned intCell1DNeighbourCell3Ds (const unsigned int &cell1DIndex) const
 
bool Cell1DHasNeighbourCell3D (const unsigned int &cell1DIndex, const unsigned int &neighbourIndex) const
 
void Cell1DResetNeighbourCell3D (const unsigned int &cell1DIndex, const unsigned int &neighbourIndex)
 Reset the Cell1D Cell3D neighbour to empty value (Cell1DHasNeighbourCell3D is false)
 
unsigned int Cell1DAddDoubleProperty (const std::string &propertyId)
 Add the Cell1Ds double property identified by id.
 
void Cell1DsInitializeDoublePropertyValues (const unsigned int &propertyIndex, const std::vector< unsigned int > &propertySizes)
 Initialize the Cell1Ds double property sizes.
 
void Cell1DInitializeDoublePropertyValues (const unsigned int &cell1DIndex, const unsigned int &propertyIndex, const unsigned int &propertySize)
 Initialize the Cell1Ds double property size.
 
void Cell1DInsertDoublePropertyValue (const unsigned int &cell1DIndex, const unsigned int &propertyIndex, const unsigned int &propertyValueIndex, const double &propertyValue)
 Insert the Cell1Ds double property value at position.
 
unsigned int Cell1DNumberDoubleProperties () const
 
std::string Cell1DDoublePropertyId (const unsigned int &propertyIndex) const
 
bool Cell1DDoublePropertyExists (const std::string &propertyId) const
 
unsigned int Cell1DDoublePropertyIndex (const std::string &propertyId) const
 
unsigned int Cell1DDoublePropertySize (const unsigned int &cell1DIndex, const unsigned int &propertyIndex) const
 
double Cell1DDoublePropertyValue (const unsigned int &cell1DIndex, const unsigned int &propertyIndex, const unsigned int &propertyValueIndex) const
 
void Cell2DsInitialize (const unsigned int &numberCell2Ds)
 Initialize the Cell2Ds container.
 
unsigned int Cell2DAppend (const unsigned int &numberCell2Ds)
 Append Cell2Ds to the Cell2Ds container.
 
void Cell2DRemove (const unsigned int &cell2DIndex)
 Remove the Cell2D from the mesh.
 
void Cell2DSetMarker (const unsigned int &cell2DIndex, const unsigned int &marker)
 Set the Cell2D Marker.
 
void Cell2DSetState (const unsigned int &cell2DIndex, const bool &state)
 Set the Cell1D state.
 
void Cell2DsInitializeVertices (const unsigned int &numberCell2DVertices)
 Initialize the Cell2Ds vertices number.
 
void Cell2DsInitializeVertices (const std::vector< unsigned int > &numberCell2DsVertices)
 Initialize the Cell2Ds vertices number.
 
void Cell2DInitializeVertices (const unsigned int &cell2DIndex, const unsigned int &numberCell2DVertices)
 Initialize the Cell2D vertices number.
 
void Cell2DsInitializeEdges (const unsigned int &numberCell2DEdges)
 Initialize the Cell2Ds edges number.
 
void Cell2DsInitializeEdges (const std::vector< unsigned int > &numberCell2DsEdges)
 Initialize the Cell2Ds edges number.
 
void Cell2DInitializeEdges (const unsigned int &cell2DIndex, const unsigned int &numberCell2DEdges)
 Initialize the Cell2D edges number.
 
void Cell2DInsertVertices (const unsigned int &cell2DIndex, const std::vector< unsigned int > &verticesCell0DIndices)
 Insert the Cell2D vertex.
 
void Cell2DInsertVertex (const unsigned int &cell2DIndex, const unsigned int &vertexIndex, const unsigned int &vertexCell0DIndex)
 Insert the Cell2D vertex.
 
void Cell2DInsertEdges (const unsigned int &cell2DIndex, const std::vector< unsigned int > &edgesCell1DIndices)
 Insert the Cell2D edge.
 
void Cell2DInsertEdge (const unsigned int &cell2DIndex, const unsigned int &edgeIndex, const unsigned int &edgeCell1DIndex)
 Insert the Cell2D edge.
 
void Cell2DAddVertices (const unsigned int &cell2DIndex, const std::vector< unsigned int > &verticesCell0DIndices)
 Add the Cell2D vertices.
 
void Cell2DAddEdges (const unsigned int &cell2DIndex, const std::vector< unsigned int > &edgesCell1DIndices)
 Add the Cell2D edges.
 
void Cell2DAddVerticesAndEdges (const unsigned int &cell2DIndex, const Eigen::MatrixXi &verticesAndEdgesIndices)
 Cell2D Add Vertices And Edges.
 
unsigned int Cell2DTotalNumber () const
 
unsigned int Cell2DNumberVertices (const unsigned int &cell2DIndex) const
 
unsigned int Cell2DNumberEdges (const unsigned int &cell2DIndex) const
 
std::vector< unsigned intCell2DVertices (const unsigned int &cell2DIndex) const
 
std::vector< std::vector< unsigned int > > Cell2DsVertices () const
 
std::vector< Eigen::MatrixXi > Cell2DsExtremes () const
 
unsigned int Cell2DVertex (const unsigned int &cell2DIndex, const unsigned int &vertexIndex) const
 
Eigen::Vector3d Cell2DVertexCoordinates (const unsigned int &cell2DIndex, const unsigned int &vertexIndex) const
 
Eigen::MatrixXd Cell2DVerticesCoordinates (const unsigned int &cell2DIndex) const
 
unsigned int Cell2DFindVertex (const unsigned int &cell2DIndex, const unsigned int &cell0DIndex) const
 
std::vector< unsigned intCell2DEdges (const unsigned int &cell2DIndex) const
 
unsigned int Cell2DEdge (const unsigned int &cell2DIndex, const unsigned int &edgeIndex) const
 
unsigned int Cell2DFindEdge (const unsigned int &cell2DIndex, const unsigned int &cell1DIndex) const
 
unsigned int Cell2DFindEdgeByExtremes (const unsigned int &cell2DIndex, const unsigned int &originCell0DIndex, const unsigned int &endCell0DIndex) const
 
unsigned int Cell2DMarker (const unsigned int &cell2DIndex) const
 
std::vector< unsigned intCell2DsMarker () const
 
bool Cell2DIsActive (const unsigned int &cell2DIndex) const
 
std::vector< boolCell2DsState () const
 
bool Cell2DHasUpdatedCell2Ds (const unsigned int &cell2DIndex) const
 
unsigned int Cell2DNumberUpdatedCell2Ds (const unsigned int &cell2DIndex) const
 
bool Cell2DHasUpdatedCell2D (const unsigned int &cell2DIndex, const unsigned int &updatedCell2DIndex) const
 
void Cell2DInsertUpdatedCell2D (const unsigned int &cell2DIndex, const unsigned int &updatedCell2DIdex)
 Add the new Cell2D to an existing Cell2D.
 
bool Cell2DHasOriginalCell2D (const unsigned int &updatedCell2DIndex) const
 
unsigned int Cell2DOriginalCell2D (const unsigned int &updatedCell2DIndex) const
 
bool Cell2DUpdatedCell2Ds (const unsigned int &cell2DIndex, std::list< unsigned int > &updatedCell2DIds) const
 return the updated Cell2D Ids for cell2DIndex
 
std::vector< std::vector< unsigned int > > Cell2DsNeighbourCell3Ds () const
 
void Cell2DsInitializeNeighbourCell3Ds (const std::vector< unsigned int > &numberNeighbourCell3Ds)
 Initialize the Cell2Ds Cell3D neighbours number.
 
void Cell2DInitializeNeighbourCell3Ds (const unsigned int &cell2DIndex, const unsigned int &numberNeighbourCell3Ds)
 Initialize the Cell2D Cell3D neighbours number.
 
void Cell2DInitializeNeighbourCell3Ds (const unsigned int &cell2DIndex, const std::vector< unsigned int > &neighbourCell3Ds)
 
void Cell2DInsertNeighbourCell3D (const unsigned int &cell2DIndex, const unsigned int &neighbourIndex, const unsigned int &neigbourCell3DIndex)
 Insert the Cell2D Cell3D neighbour.
 
unsigned int Cell2DNumberNeighbourCell3D (const unsigned int &cell2DIndex) const
 
unsigned int Cell2DNeighbourCell3D (const unsigned int &cell2DIndex, const unsigned int &neighbourIndex) const
 
std::vector< unsigned intCell2DNeighbourCell3Ds (const unsigned int &cell2DIndex) const
 
bool Cell2DHasNeighbourCell3D (const unsigned int &cell2DIndex, const unsigned int &neighbourIndex) const
 
void Cell2DResetNeighbourCell3D (const unsigned int &cell2DIndex, const unsigned int &neighbourIndex)
 Reset the Cell2D Cell3D neighbour to empty value (Cell2DHasNeighbourCell3D is false)
 
void Cell2DInitializeDoubleProperties (const unsigned int &numberDoubleProperties)
 Initialize the Cell2Ds double properties.
 
unsigned int Cell2DAddDoubleProperty (const std::string &propertyId)
 Add the Cell2Ds double property identified by id.
 
void Cell2DsInitializeDoublePropertyValues (const unsigned int &propertyIndex, const std::vector< unsigned int > &propertySizes)
 Initialize the Cell2Ds double property sizes.
 
void Cell2DInitializeDoublePropertyValues (const unsigned int &cell2DIndex, const unsigned int &propertyIndex, const unsigned int &propertySize)
 Initialize the Cell2Ds double property size.
 
void Cell2DInsertDoublePropertyValue (const unsigned int &cell2DIndex, const unsigned int &propertyIndex, const unsigned int &propertyValueIndex, const double &propertyValue)
 Insert the Cell2Ds double property value at position.
 
unsigned int Cell2DNumberDoubleProperties () const
 
std::string Cell2DDoublePropertyId (const unsigned int &propertyIndex) const
 
bool Cell2DDoublePropertyExists (const std::string &propertyId) const
 
unsigned int Cell2DDoublePropertyIndex (const std::string &propertyId) const
 
unsigned int Cell2DDoublePropertySize (const unsigned int &cell2DIndex, const unsigned int &propertyIndex) const
 
double Cell2DDoublePropertyValue (const unsigned int &cell2DIndex, const unsigned int &propertyIndex, const unsigned int &propertyValueIndex) const
 
void Cell2DsInitializeSubDivision (const std::vector< unsigned int > &numberSubDivisions)
 Initialize the Cell2D subdivision number for each Cell2D.
 
void Cell2DInitializeSubDivision (const unsigned int &cell2DIndex, const unsigned int &numberSubDivision)
 Initialize the Cell2D subdivision number.
 
void Cell2DInsertSubDivision (const unsigned int &cell2DIndex, const unsigned int &subDivisionIndex, const unsigned int &cell0DIndex)
 Insert the subDivision vertex index.
 
unsigned int Cell2DNumberSubDivision (const unsigned int &cell2DIndex) const
 
unsigned int Cell2DSubDivisionCell0D (const unsigned int &cell2DIndex, const unsigned int &subDivisionIndex) const
 
void Cell3DsInitialize (const unsigned int &numberCell3Ds)
 Initialize the Cell3Ds container.
 
unsigned int Cell3DAppend (const unsigned int &numberCell3Ds)
 Append Cell3Ds to the Cell3Ds container.
 
void Cell3DRemove (const unsigned int &cell3DIndex)
 Remove the Cell3D from the mesh.
 
void Cell3DSetMarker (const unsigned int &cell3DIndex, const unsigned int &marker)
 Set the Cell1D Marker.
 
void Cell3DSetState (const unsigned int &cell3DIndex, const bool &state)
 Set the Cell3D state.
 
void Cell3DsInitializeVertices (const std::vector< unsigned int > &numberCell3DsVertices)
 Initialize the Cell3Ds vertices number.
 
void Cell3DsInitializeEdges (const std::vector< unsigned int > &numberCell3DsEdges)
 Initialize the Cell3Ds edges number.
 
void Cell3DsInitializeFaces (const std::vector< unsigned int > &numberCell3DsFaces)
 Initialize the Cell3Ds faces number.
 
void Cell3DInitializeVertices (const unsigned int &cell3DIndex, const unsigned int &numberCell3DVertices)
 Initialize the Cell3D vertices number.
 
void Cell3DInitializeEdges (const unsigned int &cell3DIndex, const unsigned int &numberCell3DEdges)
 Initialize the Cell3D edges number.
 
void Cell3DInitializeFaces (const unsigned int &cell3DIndex, const unsigned int &numberCell3DFaces)
 Initialize the Cell3D faces number.
 
void Cell3DInsertVertex (const unsigned int &cell3DIndex, const unsigned int &vertexIndex, const unsigned int &vertexCell0DIndex)
 Insert the Cell3D vertex.
 
void Cell3DInsertVertices (const unsigned int &cell3DIndex, const std::vector< unsigned int > &verticesCell0DIndices)
 Insert the Cell3D vertex.
 
void Cell3DInsertEdge (const unsigned int &cell3DIndex, const unsigned int &edgeIndex, const unsigned int &edgeCell1DIndex)
 Insert the Cell3D edge.
 
void Cell3DInsertEdges (const unsigned int &cell3DIndex, const std::vector< unsigned int > &edgesCell1DIndices)
 Insert the Cell3D edges.
 
void Cell3DInsertFace (const unsigned int &cell3DIndex, const unsigned int &faceIndex, const unsigned int &faceCell2DIndex)
 Insert the Cell3D face.
 
void Cell3DInsertFaces (const unsigned int &cell3DIndex, const std::vector< unsigned int > &facesCell2DIndices)
 Insert the Cell3D faces.
 
void Cell3DAddVertices (const unsigned int &cell3DIndex, const std::vector< unsigned int > &verticesCell0DIndices)
 Add the Cell3D vertices.
 
void Cell3DAddEdges (const unsigned int &cell3DIndex, const std::vector< unsigned int > &edgesCell1DIndices)
 Add the Cell3D edges.
 
void Cell3DAddFaces (const unsigned int &cell3DIndex, const std::vector< unsigned int > &facesCell2DIndices)
 Add the Cell3D faces.
 
unsigned int Cell3DFindVertex (const unsigned int &cell3DIndex, const unsigned int &cell0DIndex) const
 
unsigned int Cell3DFindEdge (const unsigned int &cell3DIndex, const unsigned int &cell1DIndex) const
 
unsigned int Cell3DFindFace (const unsigned int &cell3DIndex, const unsigned int &cell2DIndex) const
 
unsigned int Cell3DFindEdgeByExtremes (const unsigned int &cell3DIndex, const unsigned int &originCell0DIndex, const unsigned int &endCell0DIndex) const
 
unsigned int Cell3DTotalNumber () const
 
unsigned int Cell3DNumberVertices (const unsigned int &cell3DIndex) const
 
unsigned int Cell3DNumberEdges (const unsigned int &cell3DIndex) const
 
unsigned int Cell3DNumberFaces (const unsigned int &cell3DIndex) const
 
std::vector< unsigned intCell3DVertices (const unsigned int &cell3DIndex) const
 
unsigned int Cell3DVertex (const unsigned int &cell3DIndex, const unsigned int &vertexIndex) const
 
Eigen::Vector3d Cell3DVertexCoordinates (const unsigned int &cell3DIndex, const unsigned int &vertexIndex) const
 
Eigen::MatrixXd Cell3DVerticesCoordinates (const unsigned int &cell3DIndex) const
 
std::vector< unsigned intCell3DEdges (const unsigned int &cell3DIndex) const
 
unsigned int Cell3DEdge (const unsigned int &cell3DIndex, const unsigned int &edgeIndex) const
 
std::vector< unsigned intCell3DFaces (const unsigned int &cell3DIndex) const
 
unsigned int Cell3DFace (const unsigned int &cell3DIndex, const unsigned int &faceIndex) const
 
std::vector< std::vector< std::vector< unsigned int > > > Cell3DsFacesVertices () const
 
std::vector< std::vector< unsigned int > > Cell3DsVertices () const
 
std::vector< std::vector< unsigned int > > Cell3DsEdges () const
 
std::vector< std::vector< unsigned int > > Cell3DsFaces () const
 
unsigned int Cell3DMarker (const unsigned int &cell3DIndex) const
 
std::vector< unsigned intCell3DsMarker () const
 
bool Cell3DIsActive (const unsigned int &cell3DIndex) const
 
std::vector< boolCell3DsState () const
 
bool Cell3DHasUpdatedCell3Ds (const unsigned int &cell3DIndex) const
 
unsigned int Cell3DNumberUpdatedCell3Ds (const unsigned int &cell3DIndex) const
 
bool Cell3DHasUpdatedCell3D (const unsigned int &cell3DIndex, const unsigned int &updatedCell3DIdex) const
 
void Cell3DInsertUpdatedCell3D (const unsigned int &cell3DIndex, const unsigned int &updatedCell3DIdex)
 Add the new Cell3D to an existing Cell3D.
 
bool Cell3DUpdatedCell3Ds (const unsigned int &cell3DIndex, std::list< unsigned int > &updatedCell3DIds) const
 return the updated Cell3D Ids for cell3DIndex
 
bool Cell3DHasOriginalCell3D (const unsigned int &updatedCell3DIndex) const
 
unsigned int Cell3DOriginalCell3D (const unsigned int &updatedCell3DIndex) const
 
void Cell3DInitializeDoubleProperties (const unsigned int &numberDoubleProperties)
 Initialize the Cell3Ds double properties.
 
unsigned int Cell3DAddDoubleProperty (const std::string &propertyId)
 Add the Cell3Ds double property identified by id.
 
void Cell3DsInitializeDoublePropertyValues (const unsigned int &propertyIndex, const std::vector< unsigned int > &propertySizes)
 Initialize the Cell3Ds double property sizes.
 
void Cell3DInitializeDoublePropertyValues (const unsigned int &cell3DIndex, const unsigned int &propertyIndex, const unsigned int &propertySize)
 Initialize the Cell3Ds double property size.
 
void Cell3DInsertDoublePropertyValue (const unsigned int &cell3DIndex, const unsigned int &propertyIndex, const unsigned int &propertyValueIndex, const double &propertyValue)
 Insert the Cell3Ds double property value at position.
 
unsigned int Cell3DNumberDoubleProperties () const
 
std::string Cell3DDoublePropertyId (const unsigned int &propertyIndex) const
 
bool Cell3DDoublePropertyExists (const std::string &propertyId) const
 
unsigned int Cell3DDoublePropertyIndex (const std::string &propertyId) const
 
unsigned int Cell3DDoublePropertySize (const unsigned int &cell3DIndex, const unsigned int &propertyIndex) const
 
double Cell3DDoublePropertyValue (const unsigned int &cell3DIndex, const unsigned int &propertyIndex, const unsigned int &propertyValueIndex) const
 
void Compress ()
 Compact the mesh to save memory.
 
std::string ToString ()
 
template<typename T >
void ResizeNumberVectorWithNewNumberElements (vector< unsigned int > &numberElementVector, vector< T > &elementVector, const unsigned int &numberElements, const unsigned int &vectorIndex, const unsigned int &newNumberElements, const T &newElementInitialization)
 
template<class Container , class T >
void AlignMapContainerHigherElements (unordered_map< unsigned int, Container > &elements, const T &minElement, const T &newElementInitialization)
 
- Public Member Functions inherited from Gedim::IMeshDAO
virtual ~IMeshDAO ()
 

Constructor & Destructor Documentation

◆ MeshMatricesDAO()

Gedim::MeshMatricesDAO::MeshMatricesDAO ( Gedim::MeshMatrices mesh)

◆ ~MeshMatricesDAO()

Gedim::MeshMatricesDAO::~MeshMatricesDAO ( )

Member Function Documentation

◆ AlignMapContainerHigherElements()

template<class Container , class T >
void Gedim::MeshMatricesDAO::AlignMapContainerHigherElements ( unordered_map< unsigned int, Container > &  elements,
const T minElement,
const T newElementInitialization 
)

◆ Cell0DAddDoubleProperty()

unsigned int Gedim::MeshMatricesDAO::Cell0DAddDoubleProperty ( const std::string &  propertyId)
virtual

Add the Cell0Ds double property identified by id.

Parameters
propertyIdthe id of Cell0Ds property
Returns
the double property position

Implements Gedim::IMeshDAO.

◆ Cell0DAppend()

unsigned int Gedim::MeshMatricesDAO::Cell0DAppend ( const unsigned int numberCell0Ds)
virtual

Append Cell0Ds to the Cell0Ds container.

Parameters
numberCell0Dsthe number of Cell0Ds to append
Returns
the previous number of Cell0Ds before the append operation

Implements Gedim::IMeshDAO.

◆ Cell0DCoordinates()

Eigen::Vector3d Gedim::MeshMatricesDAO::Cell0DCoordinates ( const unsigned int cell0DIndex) const
inlinevirtual
Parameters
cell0DIndexthe index of cell0D from 0 to Cell0DTotalNumber()
Returns
the coordinates as Eigen Vector3d of cell0D, size 3x1

Implements Gedim::IMeshDAO.

◆ Cell0DCoordinateX()

double Gedim::MeshMatricesDAO::Cell0DCoordinateX ( const unsigned int cell0DIndex) const
inlinevirtual
Parameters
cell0DIndexthe index of cell0D from 0 to Cell0DTotalNumber()
Returns
the X coordinate of cell0D

Implements Gedim::IMeshDAO.

◆ Cell0DCoordinateY()

double Gedim::MeshMatricesDAO::Cell0DCoordinateY ( const unsigned int cell0DIndex) const
inlinevirtual
Parameters
cell0DIndexthe index of cell0D from 0 to Cell0DTotalNumber()
Returns
the Y coordinate of cell0D

Implements Gedim::IMeshDAO.

◆ Cell0DCoordinateZ()

double Gedim::MeshMatricesDAO::Cell0DCoordinateZ ( const unsigned int cell0DIndex) const
inlinevirtual
Parameters
cell0DIndexthe index of cell0D from 0 to Cell0DTotalNumber()
Returns
the Z coordinate of cell0D

Implements Gedim::IMeshDAO.

◆ Cell0DDoublePropertyExists()

bool Gedim::MeshMatricesDAO::Cell0DDoublePropertyExists ( const std::string &  propertyId) const
inlinevirtual
Returns
true if the double propertyId of Cell0Ds exists
Parameters
propertyIdthe id of Cell0D double property

Implements Gedim::IMeshDAO.

◆ Cell0DDoublePropertyId()

std::string Gedim::MeshMatricesDAO::Cell0DDoublePropertyId ( const unsigned int propertyIndex) const
inlinevirtual
Returns
the id of the double property of Cell0Ds
Parameters
propertyIndexthe index of Cell0D double property from 0 to Cell0DNumberProperties()

Implements Gedim::IMeshDAO.

◆ Cell0DDoublePropertyIndex()

unsigned int Gedim::MeshMatricesDAO::Cell0DDoublePropertyIndex ( const std::string &  propertyId) const
inlinevirtual
Returns
the propertyIndex of the double property of Cell0Ds from 0 to Cell0DNumberProperties()
Parameters
propertyIdthe id of Cell0D double property

Implements Gedim::IMeshDAO.

◆ Cell0DDoublePropertySize()

unsigned int Gedim::MeshMatricesDAO::Cell0DDoublePropertySize ( const unsigned int cell0DIndex,
const unsigned int propertyIndex 
) const
inlinevirtual
Returns
the size of the double property of Cell0D
Parameters
cell0DIndexthe index of Cell0D from 0 to Cell0DTotalNumber()
propertyIndexthe index of Cell0D double property from 0 to Cell0DNumberProperties()

Implements Gedim::IMeshDAO.

◆ Cell0DDoublePropertyValue()

double Gedim::MeshMatricesDAO::Cell0DDoublePropertyValue ( const unsigned int cell0DIndex,
const unsigned int propertyIndex,
const unsigned int propertyValueIndex 
) const
inlinevirtual
Returns
the value of the double property at valueIndex of Cell0D
Parameters
cell0DIndexthe index of Cell0D from 0 to Cell0DTotalNumber()
propertyIndexthe index of Cell0D double property from 0 to Cell0DNumberProperties()
propertyValueIndexthe index of Cell0D double property value from 0 to Cell0DDoublePropertySize()

Implements Gedim::IMeshDAO.

◆ Cell0DHasNeighbourCell1D()

bool Gedim::MeshMatricesDAO::Cell0DHasNeighbourCell1D ( const unsigned int cell0DIndex,
const unsigned int neighbourIndex 
) const
inlinevirtual
Parameters
cell0DIndexthe index of cell0D from 0 to Cell0DTotalNumber()
neighbourIndexthe number of neigbourh Cell1D from 0 to Cell0DNumberNeighbourCell1D(cell0DIndex)
Returns
true if Neighbour Cell1Ds of Cell0D at position neighbourIndex exists

Implements Gedim::IMeshDAO.

◆ Cell0DHasNeighbourCell2D()

bool Gedim::MeshMatricesDAO::Cell0DHasNeighbourCell2D ( const unsigned int cell0DIndex,
const unsigned int neighbourIndex 
) const
inlinevirtual
Parameters
cell0DIndexthe index of cell0D from 0 to Cell0DTotalNumber()
neighbourIndexthe number of neigbourh Cell2D from 0 to Cell0DNumberNeighbourCell2D(cell0DIndex)
Returns
true if Neighbour Cell2Ds of Cell0D at position neighbourIndex exists

Implements Gedim::IMeshDAO.

◆ Cell0DHasNeighbourCell3D()

bool Gedim::MeshMatricesDAO::Cell0DHasNeighbourCell3D ( const unsigned int cell0DIndex,
const unsigned int neighbourIndex 
) const
inlinevirtual
Parameters
cell0DIndexthe index of cell0D from 0 to Cell0DTotalNumber()
neighbourIndexthe number of neigbourh Cell3D from 0 to Cell0DNumberNeighbourCell3D(cell0DIndex)
Returns
true if Neighbour Cell3Ds of Cell0D at position neighbourIndex exists

Implements Gedim::IMeshDAO.

◆ Cell0DHasUpdatedCell0D()

bool Gedim::MeshMatricesDAO::Cell0DHasUpdatedCell0D ( const unsigned int cell0DIndex,
const unsigned int updatedCell0DIdex 
) const
inlinevirtual
Parameters
cell0DIndexthe index of cell0D from 0 to Cell0DTotalNumber()
updatedCell0DIdexthe index of the new cell0D from 0 to Cell0DTotalNumber()
Returns
if the cell0D has the updatedCell0DIdex associated

Implements Gedim::IMeshDAO.

◆ Cell0DHasUpdatedCell0Ds()

bool Gedim::MeshMatricesDAO::Cell0DHasUpdatedCell0Ds ( const unsigned int cell0DIndex) const
inlinevirtual
Parameters
cell0DIndexthe index of cell0D from 0 to Cell0DTotalNumber()
Returns
if the cell0D has new cell0Ds associated

Implements Gedim::IMeshDAO.

◆ Cell0DInitializeDoubleProperties()

void Gedim::MeshMatricesDAO::Cell0DInitializeDoubleProperties ( const unsigned int numberDoubleProperties)
virtual

Initialize the Cell0Ds double properties.

Parameters
numberDoublePropertiesthe total number of Cell0Ds properties
Note
No reset of Cell0Ds is performed

Implements Gedim::IMeshDAO.

◆ Cell0DInitializeDoublePropertyValues()

void Gedim::MeshMatricesDAO::Cell0DInitializeDoublePropertyValues ( const unsigned int cell0DIndex,
const unsigned int propertyIndex,
const unsigned int porpertySize 
)
virtual

Initialize the Cell0Ds double property size.

Parameters
cell0DIndexthe index of Cell0D from 0 to Cell0DTotalNumber()
propertyIndexthe index of Cell0D double property from 0 to Cell0DNumberProperties()
porpertySizethe double property size of Cell0D

Implements Gedim::IMeshDAO.

◆ Cell0DInitializeNeighbourCell1Ds() [1/2]

void Gedim::MeshMatricesDAO::Cell0DInitializeNeighbourCell1Ds ( const unsigned int cell0DIndex,
const std::vector< unsigned int > &  neighbourCell1Ds 
)
virtual

Implements Gedim::IMeshDAO.

◆ Cell0DInitializeNeighbourCell1Ds() [2/2]

void Gedim::MeshMatricesDAO::Cell0DInitializeNeighbourCell1Ds ( const unsigned int cell0DIndex,
const unsigned int numberNeighbourCell1Ds 
)
inlinevirtual

Initialize the Cell0D Cell1D neighbours number.

Parameters
cell0DIndexthe index of Cell0D from 0 to Cell0DTotalNumber()
numberNeighbourCell1Dsthe number of Cell1D neighbours of the Cell0D

Implements Gedim::IMeshDAO.

◆ Cell0DInitializeNeighbourCell2Ds() [1/2]

void Gedim::MeshMatricesDAO::Cell0DInitializeNeighbourCell2Ds ( const unsigned int cell0DIndex,
const std::vector< unsigned int > &  neighbourCell2Ds 
)
virtual

Implements Gedim::IMeshDAO.

◆ Cell0DInitializeNeighbourCell2Ds() [2/2]

void Gedim::MeshMatricesDAO::Cell0DInitializeNeighbourCell2Ds ( const unsigned int cell0DIndex,
const unsigned int numberNeighbourCell2Ds 
)
inlinevirtual

Initialize the Cell0D Cell2D neighbours number.

Parameters
cell0DIndexthe index of Cell0D from 0 to Cell0DTotalNumber()
numberNeighbourCell2Dsthe number of Cell2D neighbours of the Cell0D

Implements Gedim::IMeshDAO.

◆ Cell0DInitializeNeighbourCell3Ds() [1/2]

void Gedim::MeshMatricesDAO::Cell0DInitializeNeighbourCell3Ds ( const unsigned int cell0DIndex,
const std::vector< unsigned int > &  neighbourCell3Ds 
)
virtual

Implements Gedim::IMeshDAO.

◆ Cell0DInitializeNeighbourCell3Ds() [2/2]

void Gedim::MeshMatricesDAO::Cell0DInitializeNeighbourCell3Ds ( const unsigned int cell0DIndex,
const unsigned int numberNeighbourCell3Ds 
)
virtual

Initialize the Cell0D Cell3D neighbours number.

Parameters
cell0DIndexthe index of Cell0D from 0 to Cell0DTotalNumber()
numberNeighbourCell3Dsthe number of Cell3D neighbours of the Cell0D

Implements Gedim::IMeshDAO.

◆ Cell0DInsertCoordinates()

void Gedim::MeshMatricesDAO::Cell0DInsertCoordinates ( const unsigned int cell0DIndex,
const Eigen::Vector3d &  coordinates 
)
virtual

Add the Cell0D Coordinates.

Parameters
cell0DIndexthe index of Cell0D from 0 to Cell0DTotalNumber()
coordinatesthe coordinates of the Cell0D

Implements Gedim::IMeshDAO.

◆ Cell0DInsertDoublePropertyValue()

void Gedim::MeshMatricesDAO::Cell0DInsertDoublePropertyValue ( const unsigned int cell0DIndex,
const unsigned int propertyIndex,
const unsigned int propertyValueIndex,
const double propertyValue 
)
inlinevirtual

Insert the Cell0Ds double property value at position.

Parameters
cell0DIndexthe index of Cell0D from 0 to Cell0DTotalNumber()
propertyIndexthe index of Cell0D double property from 0 to Cell0DNumberProperties()
propertyIndexthe index of Cell0D double property from 0 to Cell0DNumberProperties()

Implements Gedim::IMeshDAO.

◆ Cell0DInsertNeighbourCell1D()

void Gedim::MeshMatricesDAO::Cell0DInsertNeighbourCell1D ( const unsigned int cell0DIndex,
const unsigned int neighbourIndex,
const unsigned int neigbourCell1DIndex 
)
inlinevirtual

Insert the Cell0D Cell1D neighbour.

Parameters
cell0DIndexthe index of Cell0D from 0 to Cell0DTotalNumber()
neighbourIndexthe number of Cell1D neighbour of the Cell0D from 0 to Cell0DNumberNeighbourCell1D(cell0DIndex)
neigbourCell1DIndexthe Cell1D neighbour index from 0 to Cell1DTotalNumber()
Note
Cell0DInitializeNeighbourCell1Ds() shall be called before

Implements Gedim::IMeshDAO.

◆ Cell0DInsertNeighbourCell2D()

void Gedim::MeshMatricesDAO::Cell0DInsertNeighbourCell2D ( const unsigned int cell0DIndex,
const unsigned int neighbourIndex,
const unsigned int neigbourCell2DIndex 
)
inlinevirtual

Insert the Cell0D Cell2D neighbour.

Parameters
cell0DIndexthe index of Cell0D from 0 to Cell0DTotalNumber()
neighbourIndexthe number of Cell2D neighbour of the Cell0D from 0 to Cell0DNumberNeighbourCell2D(cell0DIndex)
neigbourCell2DIndexthe Cell2D neighbour index from 0 to Cell2DTotalNumber()
Note
Cell0DInitializeNeighbourCell2Ds() shall be called before

Implements Gedim::IMeshDAO.

◆ Cell0DInsertNeighbourCell3D()

void Gedim::MeshMatricesDAO::Cell0DInsertNeighbourCell3D ( const unsigned int cell0DIndex,
const unsigned int neighbourIndex,
const unsigned int neigbourCell3DIndex 
)
inlinevirtual

Insert the Cell0D Cell3D neighbour.

Parameters
cell0DIndexthe index of Cell0D from 0 to Cell0DTotalNumber()
neighbourIndexthe number of Cell3D neighbour of the Cell0D from 0 to Cell0DNumberNeighbourCell3D(cell0DIndex)
neigbourCell3DIndexthe Cell3D neighbour index from 0 to Cell3DTotalNumber()
Note
Cell0DInitializeNeighbourCell3Ds() shall be called before

Implements Gedim::IMeshDAO.

◆ Cell0DInsertUpdatedCell0D()

void Gedim::MeshMatricesDAO::Cell0DInsertUpdatedCell0D ( const unsigned int cell0DIndex,
const unsigned int updatedCell0DIdex 
)
virtual

Add the new Cell0D to an existing Cell0D.

Parameters
cell0DIndexthe index of Cell0D from 0 to Cell0DTotalNumber()
updatedCell0DIdexthe index of the new cell0D from 0 to Cell0DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell0DIsActive()

bool Gedim::MeshMatricesDAO::Cell0DIsActive ( const unsigned int cell0DIndex) const
inlinevirtual
Parameters
cell0DIndexthe index of cell0D from 0 to Cell0DTotalNumber()
Returns
if the cell0D is active

Implements Gedim::IMeshDAO.

◆ Cell0DMarker()

unsigned int Gedim::MeshMatricesDAO::Cell0DMarker ( const unsigned int cell0DIndex) const
inlinevirtual
Parameters
cell0DIndexthe index of cell0D from 0 to Cell0DTotalNumber()
Returns
the cell0D marker

Implements Gedim::IMeshDAO.

◆ Cell0DNeighbourCell1D()

unsigned int Gedim::MeshMatricesDAO::Cell0DNeighbourCell1D ( const unsigned int cell0DIndex,
const unsigned int neighbourIndex 
) const
inlinevirtual
Parameters
cell0DIndexthe index of cell0D from 0 to Cell0DTotalNumber()
neighbourIndexthe number of neigbourh Cell1D from 0 to Cell0DNumberNeighbourCell1D(cell0DIndex)
Returns
the Cell1D index of Neighbour Cell1Ds of Cell0D from 0 to Cell1DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell0DNeighbourCell1Ds()

std::vector< unsigned int > Gedim::MeshMatricesDAO::Cell0DNeighbourCell1Ds ( const unsigned int cell0DIndex) const
inlinevirtual

Implements Gedim::IMeshDAO.

◆ Cell0DNeighbourCell2D()

unsigned int Gedim::MeshMatricesDAO::Cell0DNeighbourCell2D ( const unsigned int cell0DIndex,
const unsigned int neighbourIndex 
) const
inlinevirtual
Parameters
cell0DIndexthe index of cell0D from 0 to Cell0DTotalNumber()
neighbourIndexthe number of neigbourh Cell2D from 0 to Cell0DNumberNeighbourCell2D(cell0DIndex)
Returns
the Cell2D index of Neighbour Cell2Ds of Cell0D from 0 to Cell2DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell0DNeighbourCell2Ds()

std::vector< unsigned int > Gedim::MeshMatricesDAO::Cell0DNeighbourCell2Ds ( const unsigned int cell0DIndex) const
inlinevirtual

Implements Gedim::IMeshDAO.

◆ Cell0DNeighbourCell3D()

unsigned int Gedim::MeshMatricesDAO::Cell0DNeighbourCell3D ( const unsigned int cell0DIndex,
const unsigned int neighbourIndex 
) const
inlinevirtual
Parameters
cell0DIndexthe index of cell0D from 0 to Cell0DTotalNumber()
neighbourIndexthe number of neigbourh Cell3D from 0 to Cell0DNumberNeighbourCell3D(cell0DIndex)
Returns
the Cell3D index of Neighbour Cell3Ds of Cell0D from 0 to Cell3DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell0DNeighbourCell3Ds()

std::vector< unsigned int > Gedim::MeshMatricesDAO::Cell0DNeighbourCell3Ds ( const unsigned int cell0DIndex) const
inlinevirtual

Implements Gedim::IMeshDAO.

◆ Cell0DNumberDoubleProperties()

unsigned int Gedim::MeshMatricesDAO::Cell0DNumberDoubleProperties ( ) const
inlinevirtual
Returns
the total number of double properties of Cell0Ds

Implements Gedim::IMeshDAO.

◆ Cell0DNumberNeighbourCell1D()

unsigned int Gedim::MeshMatricesDAO::Cell0DNumberNeighbourCell1D ( const unsigned int cell0DIndex) const
inlinevirtual
Parameters
cell0DIndexthe index of cell0D from 0 to Cell0DTotalNumber()
Returns
the number of Neighbour Cell1Ds of Cell0D

Implements Gedim::IMeshDAO.

◆ Cell0DNumberNeighbourCell2D()

unsigned int Gedim::MeshMatricesDAO::Cell0DNumberNeighbourCell2D ( const unsigned int cell0DIndex) const
inlinevirtual
Parameters
cell0DIndexthe index of cell0D from 0 to Cell0DTotalNumber()
Returns
the number of Neighbour Cell2Ds of Cell0D

Implements Gedim::IMeshDAO.

◆ Cell0DNumberNeighbourCell3D()

unsigned int Gedim::MeshMatricesDAO::Cell0DNumberNeighbourCell3D ( const unsigned int cell0DIndex) const
inlinevirtual
Parameters
cell0DIndexthe index of cell0D from 0 to Cell0DTotalNumber()
Returns
the number of Neighbour Cell3Ds of Cell0D

Implements Gedim::IMeshDAO.

◆ Cell0DNumberUpdatedCell0Ds()

unsigned int Gedim::MeshMatricesDAO::Cell0DNumberUpdatedCell0Ds ( const unsigned int cell0DIndex) const
inlinevirtual
Parameters
cell0DIndexthe index of cell0D from 0 to Cell0DTotalNumber()
Returns
the number of new cell0Ds associated to cell0DIndex

Implements Gedim::IMeshDAO.

◆ Cell0DRemove()

void Gedim::MeshMatricesDAO::Cell0DRemove ( const unsigned int cell0DIndex)
virtual

Remove the Cell0D from the mesh.

Parameters
cell0DIndexthe index of Cell0D from 0 to Cell0DTotalNumber()
Note
the cell0D is removed and no integrity check in the mesh are performed

Implements Gedim::IMeshDAO.

◆ Cell0DResetNeighbourCell1D()

void Gedim::MeshMatricesDAO::Cell0DResetNeighbourCell1D ( const unsigned int cell0DIndex,
const unsigned int neighbourIndex 
)
inlinevirtual

Reset the Cell0D Cell1D neighbour to empty value (Cell0DHasNeighbourCell1D is false)

Parameters
cell0DIndexthe index of Cell0D from 0 to Cell0DTotalNumber()
neighbourIndexthe number of Cell1D neighbour of the Cell0D from 0 to Cell0DNumberNeighbourCell1D(cell0DIndex)

Implements Gedim::IMeshDAO.

◆ Cell0DResetNeighbourCell2D()

void Gedim::MeshMatricesDAO::Cell0DResetNeighbourCell2D ( const unsigned int cell0DIndex,
const unsigned int neighbourIndex 
)
inlinevirtual

Reset the Cell0D Cell2D neighbour to empty value (Cell0DHasNeighbourCell2D is false)

Parameters
cell0DIndexthe index of Cell0D from 0 to Cell0DTotalNumber()
neighbourIndexthe number of Cell2D neighbour of the Cell0D from 0 to Cell0DNumberNeighbourCell2D(cell0DIndex)

Implements Gedim::IMeshDAO.

◆ Cell0DResetNeighbourCell3D()

void Gedim::MeshMatricesDAO::Cell0DResetNeighbourCell3D ( const unsigned int cell0DIndex,
const unsigned int neighbourIndex 
)
inlinevirtual

Reset the Cell0D Cell3D neighbour to empty value (Cell0DHasNeighbourCell3D is false)

Parameters
cell0DIndexthe index of Cell0D from 0 to Cell0DTotalNumber()
neighbourIndexthe number of Cell3D neighbour of the Cell0D from 0 to Cell0DNumberNeighbourCell3D(cell0DIndex)

Implements Gedim::IMeshDAO.

◆ Cell0DsCoordinates() [1/2]

MatrixXd Gedim::MeshMatricesDAO::Cell0DsCoordinates ( ) const
virtual
Returns
the coordinates as Eigen MatrixXd of cell0D, size 3xCell0DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell0DsCoordinates() [2/2]

MatrixXd Gedim::MeshMatricesDAO::Cell0DsCoordinates ( const std::vector< unsigned int > &  cell0Ds) const
virtual

Implements Gedim::IMeshDAO.

◆ Cell0DSetMarker()

void Gedim::MeshMatricesDAO::Cell0DSetMarker ( const unsigned int cell0DIndex,
const unsigned int marker 
)
inlinevirtual

Set the Cell0D Marker.

Parameters
cell0DIndexthe index of Cell0D from 0 to Cell0DTotalNumber()
markerthe marker of the Cell0D

Implements Gedim::IMeshDAO.

◆ Cell0DSetState()

void Gedim::MeshMatricesDAO::Cell0DSetState ( const unsigned int cell0DIndex,
const bool state 
)
inlinevirtual

Set the Cell0D state.

Parameters
cell0DIndexthe index of Cell0D from 0 to Cell0DTotalNumber()
statetrue if Cell0D is active, false otherwise

Implements Gedim::IMeshDAO.

◆ Cell0DsInitialize()

void Gedim::MeshMatricesDAO::Cell0DsInitialize ( const unsigned int numberCell0Ds)
virtual

Initialize the Cell0Ds container.

Parameters
numberCell0Dsthe total number of Cell0Ds
Note
No reset of Cell0Ds is performed

Implements Gedim::IMeshDAO.

◆ Cell0DsInitializeDoublePropertyValues()

void Gedim::MeshMatricesDAO::Cell0DsInitializeDoublePropertyValues ( const unsigned int propertyIndex,
const std::vector< unsigned int > &  porpertySizes 
)
inlinevirtual

Initialize the Cell0Ds double property sizes.

Parameters
propertyIndexthe index of Cell0D double property from 0 to Cell0DNumberProperties()
porpertySizethe double property size of each Cell0D, size 1 x Cell0DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell0DsInitializeNeighbourCell1Ds()

void Gedim::MeshMatricesDAO::Cell0DsInitializeNeighbourCell1Ds ( const std::vector< unsigned int > &  numbersNeighbourCell1Ds)
inlinevirtual

Initialize the Cell0Ds Cell1D neighbours number.

Parameters
numbersNeighbourCell1Dsthe number of Cell1D neighbours of each Cell0D, size 1 x Cell0DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell0DsInitializeNeighbourCell2Ds()

void Gedim::MeshMatricesDAO::Cell0DsInitializeNeighbourCell2Ds ( const std::vector< unsigned int > &  numbersNeighbourCell2Ds)
inlinevirtual

Initialize the Cell0Ds Cell2D neighbours number.

Parameters
numbersNeighbourCell2Dsthe number of Cell2D neighbours of each Cell0D, size 1 x Cell0DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell0DsInitializeNeighbourCell3Ds()

void Gedim::MeshMatricesDAO::Cell0DsInitializeNeighbourCell3Ds ( const std::vector< unsigned int > &  numbersNeighbourCell3Ds)
virtual

Initialize the Cell0Ds Cell3D neighbours number.

Parameters
numbersNeighbourCell3Dsthe number of Cell3D neighbours of each Cell0D, size 1 x Cell0DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell0DsInsertCoordinates()

void Gedim::MeshMatricesDAO::Cell0DsInsertCoordinates ( const Eigen::MatrixXd &  coordinates)
virtual

Add the Cell0Ds Coordinates.

Parameters
coordinatesthe coordinates of the Cell0Ds, size 3 x Cell0DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell0DsMarker()

std::vector< unsigned int > Gedim::MeshMatricesDAO::Cell0DsMarker ( ) const
inlinevirtual

Implements Gedim::IMeshDAO.

◆ Cell0DsNeighbourCell1Ds()

std::vector< std::vector< unsigned int > > Gedim::MeshMatricesDAO::Cell0DsNeighbourCell1Ds ( ) const
virtual

Implements Gedim::IMeshDAO.

◆ Cell0DsNeighbourCell2Ds()

std::vector< std::vector< unsigned int > > Gedim::MeshMatricesDAO::Cell0DsNeighbourCell2Ds ( ) const
virtual

Implements Gedim::IMeshDAO.

◆ Cell0DsNeighbourCell3Ds()

std::vector< std::vector< unsigned int > > Gedim::MeshMatricesDAO::Cell0DsNeighbourCell3Ds ( ) const
virtual

Implements Gedim::IMeshDAO.

◆ Cell0DsState()

std::vector< bool > Gedim::MeshMatricesDAO::Cell0DsState ( ) const
inlinevirtual
Returns
the activation state of all cell0Ds

Implements Gedim::IMeshDAO.

◆ Cell0DTotalNumber()

unsigned int Gedim::MeshMatricesDAO::Cell0DTotalNumber ( ) const
inlinevirtual
Returns
the total number of Cell0Ds

Implements Gedim::IMeshDAO.

◆ Cell0DUpdatedCell0Ds()

bool Gedim::MeshMatricesDAO::Cell0DUpdatedCell0Ds ( const unsigned int cell0DIndex,
std::list< unsigned int > &  updatedCell0DIds 
) const
virtual

return the updated Cell0D Ids for cell0DIndex

Parameters
cell0DIndexthe index of Cell0D from 0 to Cell0DTotalNumber()
updatedCell0DIdsthe list of the new Cell0D Ids associated to cell0DIndex
Returns
true if the cell0DIndex is contained in the updatedCell0DIds list, false otherwise

Implements Gedim::IMeshDAO.

◆ Cell1DAddDoubleProperty()

unsigned int Gedim::MeshMatricesDAO::Cell1DAddDoubleProperty ( const std::string &  propertyId)
virtual

Add the Cell1Ds double property identified by id.

Parameters
propertyIdthe id of Cell1Ds property
Returns
the double property position

Implements Gedim::IMeshDAO.

◆ Cell1DAppend()

unsigned int Gedim::MeshMatricesDAO::Cell1DAppend ( const unsigned int numberCell1Ds)
virtual

Append Cell1Ds to the Cell1Ds container.

Parameters
numberCell1Dsthe number of Cell1Ds to append
Returns
the previous number of Cell1Ds before the append operation

Implements Gedim::IMeshDAO.

◆ Cell1DByExtremes()

unsigned int Gedim::MeshMatricesDAO::Cell1DByExtremes ( const unsigned int originCell0DIndex,
const unsigned int endCell0DIndex 
) const
virtual
Returns
the Cell1D Index if Cell1D (origin->end) exists, Cell1DTotalNumber() otherwise
Parameters
originCell0DIndexthe Cell0D Id of origin from 0 to Cell0DTotalNumber()
endCell0DIndexthe Cell0D Id of origin from 0 to Cell0DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell1DCoordinates()

Eigen::MatrixXd Gedim::MeshMatricesDAO::Cell1DCoordinates ( const unsigned int cell1DIndex) const
inlinevirtual
Parameters
cell1DIndexthe index of cell1D from 0 to Cell1DTotalNumber()
Returns
the coordinates of Cell1D, size 3x2

Implements Gedim::IMeshDAO.

◆ Cell1DDoublePropertyExists()

bool Gedim::MeshMatricesDAO::Cell1DDoublePropertyExists ( const std::string &  propertyId) const
inlinevirtual
Returns
true if the double propertyId of Cell1Ds exists
Parameters
propertyIdthe id of Cell1D double property

Implements Gedim::IMeshDAO.

◆ Cell1DDoublePropertyId()

std::string Gedim::MeshMatricesDAO::Cell1DDoublePropertyId ( const unsigned int propertyIndex) const
inlinevirtual
Returns
the id of the double property of Cell1Ds
Parameters
propertyIndexthe index of Cell1D double property from 0 to Cell1DNumberProperties()

Implements Gedim::IMeshDAO.

◆ Cell1DDoublePropertyIndex()

unsigned int Gedim::MeshMatricesDAO::Cell1DDoublePropertyIndex ( const std::string &  propertyId) const
inlinevirtual
Returns
the propertyIndex of the double property of Cell1Ds from 0 to Cell1DNumberProperties()
Parameters
propertyIdthe id of Cell1D double property

Implements Gedim::IMeshDAO.

◆ Cell1DDoublePropertySize()

unsigned int Gedim::MeshMatricesDAO::Cell1DDoublePropertySize ( const unsigned int cell1DIndex,
const unsigned int propertyIndex 
) const
inlinevirtual
Returns
the size of the double property of Cell1D
Parameters
cell1DIndexthe index of Cell1D from 0 to Cell1DTotalNumber()
propertyIndexthe index of Cell1D double property from 0 to Cell1DNumberProperties()

Implements Gedim::IMeshDAO.

◆ Cell1DDoublePropertyValue()

double Gedim::MeshMatricesDAO::Cell1DDoublePropertyValue ( const unsigned int cell1DIndex,
const unsigned int propertyIndex,
const unsigned int propertyValueIndex 
) const
inlinevirtual
Returns
the value of the double property at valueIndex of Cell1D
Parameters
cell1DIndexthe index of Cell1D from 0 to Cell1DTotalNumber()
propertyIndexthe index of Cell1D double property from 0 to Cell1DNumberProperties()
propertyValueIndexthe index of Cell1D double property value from 0 to Cell1DDoublePropertySize()

Implements Gedim::IMeshDAO.

◆ Cell1DEnd()

unsigned int Gedim::MeshMatricesDAO::Cell1DEnd ( const unsigned int cell1DIndex) const
inlinevirtual
Parameters
cell1DIndexthe index of cell1D from 0 to Cell1DTotalNumber()
Returns
the end Cell0D index of Cell1D from 0 to Cell0DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell1DEndCoordinates()

Eigen::Vector3d Gedim::MeshMatricesDAO::Cell1DEndCoordinates ( const unsigned int cell1DIndex) const
inlinevirtual
Parameters
cell1DIndexthe index of cell1D from 0 to Cell1DTotalNumber()
Returns
the end coordinates of Cell1D

Implements Gedim::IMeshDAO.

◆ Cell1DExtremes()

Eigen::VectorXi Gedim::MeshMatricesDAO::Cell1DExtremes ( const unsigned int cell1DIndex) const
inlinevirtual
Returns
the extrems as Eigen MatrixXi of cell1D, size 2
Parameters
cell1DIndexthe index of Cell1D from 0 to Cell1DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell1DFindExtreme()

unsigned int Gedim::MeshMatricesDAO::Cell1DFindExtreme ( const unsigned int cell1DIndex,
const unsigned int cell0DIndex 
) const
inlinevirtual
Parameters
cell1DIndexthe index of cell1D from 0 to Cell1DTotalNumber()
cell0DIndexthe index of cell0D from 0 to Cell0DTotalNumber()
Returns
the index of the cell0DIndex on the cell1D from 0 to 1, 2 if not found

Implements Gedim::IMeshDAO.

◆ Cell1DHasNeighbourCell2D()

bool Gedim::MeshMatricesDAO::Cell1DHasNeighbourCell2D ( const unsigned int cell1DIndex,
const unsigned int neighbourIndex 
) const
inlinevirtual
Parameters
cell1DIndexthe index of cell1D from 0 to Cell1DTotalNumber()
neighbourIndexthe number of neigbourh Cell2D from 0 to Cell1DNumberNeighbourCell2D(cell1DIndex)
Returns
true if Neighbour Cell2Ds of Cell1D at position neighbourIndex exists

Implements Gedim::IMeshDAO.

◆ Cell1DHasNeighbourCell3D()

bool Gedim::MeshMatricesDAO::Cell1DHasNeighbourCell3D ( const unsigned int cell1DIndex,
const unsigned int neighbourIndex 
) const
inlinevirtual
Parameters
cell1DIndexthe index of cell1D from 0 to Cell1DTotalNumber()
neighbourIndexthe number of neigbourh Cell3D from 0 to Cell1DNumberNeighbourCell3D(cell1DIndex)
Returns
true if Neighbour Cell3Ds of Cell1D at position neighbourIndex exists

Implements Gedim::IMeshDAO.

◆ Cell1DHasOriginalCell1D()

bool Gedim::MeshMatricesDAO::Cell1DHasOriginalCell1D ( const unsigned int updatedCell1DIndex) const
inlinevirtual
Parameters
updatedCell1DIndexthe updated cell1D index, from 0 to Cell1DTotalNumber()
Returns
true if has an original cell, false otherwise (the original cell is itself)

Implements Gedim::IMeshDAO.

◆ Cell1DHasUpdatedCell1D()

bool Gedim::MeshMatricesDAO::Cell1DHasUpdatedCell1D ( const unsigned int cell1DIndex,
const unsigned int updatedCell1DIdex 
) const
inlinevirtual
Parameters
cell1DIndexthe index of cell1D from 0 to Cell1DTotalNumber()
updatedCell1DIdexthe index of the new Cell1D from 0 to Cell1DTotalNumber()
Returns
if the Cell1D has the updatedCell1DIdex associated

Implements Gedim::IMeshDAO.

◆ Cell1DHasUpdatedCell1Ds()

bool Gedim::MeshMatricesDAO::Cell1DHasUpdatedCell1Ds ( const unsigned int cell1DIndex) const
inlinevirtual
Parameters
cell1DIndexthe index of cell1D from 0 to Cell1DTotalNumber()
Returns
if the cell1D has new cell1Ds associated

Implements Gedim::IMeshDAO.

◆ Cell1DInitializeDoubleProperties()

void Gedim::MeshMatricesDAO::Cell1DInitializeDoubleProperties ( const unsigned int numberDoubleProperties)
virtual

Initialize the Cell1Ds double properties.

Parameters
numberDoublePropertiesthe total number of Cell1Ds properties
Note
No reset of Cell1Ds is performed

Implements Gedim::IMeshDAO.

◆ Cell1DInitializeDoublePropertyValues()

void Gedim::MeshMatricesDAO::Cell1DInitializeDoublePropertyValues ( const unsigned int cell1DIndex,
const unsigned int propertyIndex,
const unsigned int porpertySize 
)
virtual

Initialize the Cell1Ds double property size.

Parameters
cell1DIndexthe index of Cell1D from 0 to Cell1DTotalNumber()
propertyIndexthe index of Cell1D double property from 0 to Cell1DNumberProperties()
porpertySizethe double property size of Cell1D

Implements Gedim::IMeshDAO.

◆ Cell1DInitializeNeighbourCell2Ds() [1/2]

void Gedim::MeshMatricesDAO::Cell1DInitializeNeighbourCell2Ds ( const unsigned int cell1DIndex,
const std::vector< unsigned int > &  neighbourCell2Ds 
)
virtual

Implements Gedim::IMeshDAO.

◆ Cell1DInitializeNeighbourCell2Ds() [2/2]

void Gedim::MeshMatricesDAO::Cell1DInitializeNeighbourCell2Ds ( const unsigned int cell1DIndex,
const unsigned int numberNeighbourCell2Ds 
)
virtual

Initialize the Cell1D Cell2D neighbours number.

Parameters
cell1DIndexthe index of Cell1D from 0 to Cell1DTotalNumber()
numberNeighbourCell2Dsthe number of Cell2D neighbours of the Cell1D

Implements Gedim::IMeshDAO.

◆ Cell1DInitializeNeighbourCell3Ds() [1/2]

void Gedim::MeshMatricesDAO::Cell1DInitializeNeighbourCell3Ds ( const unsigned int cell1DIndex,
const std::vector< unsigned int > &  neighbourCell3Ds 
)
virtual

Implements Gedim::IMeshDAO.

◆ Cell1DInitializeNeighbourCell3Ds() [2/2]

void Gedim::MeshMatricesDAO::Cell1DInitializeNeighbourCell3Ds ( const unsigned int cell1DIndex,
const unsigned int numberNeighbourCell3Ds 
)
virtual

Initialize the Cell1D Cell3D neighbours number.

Parameters
cell1DIndexthe index of Cell1D from 0 to Cell1DTotalNumber()
numberNeighbourCell3Dsthe number of Cell3D neighbours of the Cell1D

Implements Gedim::IMeshDAO.

◆ Cell1DInsertDoublePropertyValue()

void Gedim::MeshMatricesDAO::Cell1DInsertDoublePropertyValue ( const unsigned int cell1DIndex,
const unsigned int propertyIndex,
const unsigned int propertyValueIndex,
const double propertyValue 
)
inlinevirtual

Insert the Cell1Ds double property value at position.

Parameters
cell1DIndexthe index of Cell1D from 0 to Cell1DTotalNumber()
propertyIndexthe index of Cell1D double property from 0 to Cell1DNumberProperties()
propertyIndexthe index of Cell1D double property from 0 to Cell1DNumberProperties()

Implements Gedim::IMeshDAO.

◆ Cell1DInsertExtremes()

void Gedim::MeshMatricesDAO::Cell1DInsertExtremes ( const unsigned int cell1DIndex,
const unsigned int originCell0DIndex,
const unsigned int endCell0DIndex 
)
virtual

Set the Cell1D Origin and End.

Parameters
cell1DIndexthe index of Cell1D from 0 to Cell1DTotalNumber()
originCell0DIndexthe Cell0D index of Cell1D origin from 0 to Cell0DTotalNumber()
endCell0DIndexthe Cell0D index of Cell1D end from 0 to Cell0DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell1DInsertNeighbourCell2D()

void Gedim::MeshMatricesDAO::Cell1DInsertNeighbourCell2D ( const unsigned int cell1DIndex,
const unsigned int neighbourIndex,
const unsigned int neigbourCell2DIndex 
)
inlinevirtual

Insert the Cell1D Cell2D neighbour.

Parameters
cell1DIndexthe index of Cell1D from 0 to Cell1DTotalNumber()
neighbourIndexthe number of Cell2D neighbour of the Cell1D from 0 to Cell1DNumberNeighbourCell2D(cell1DIndex)
neigbourCell2DIndexthe Cell2D neighbour index from 0 to Cell2DTotalNumber()
Note
Cell1DInitializeNeighbourCell2Ds() shall be called before

Implements Gedim::IMeshDAO.

◆ Cell1DInsertNeighbourCell3D()

void Gedim::MeshMatricesDAO::Cell1DInsertNeighbourCell3D ( const unsigned int cell1DIndex,
const unsigned int neighbourIndex,
const unsigned int neigbourCell3DIndex 
)
inlinevirtual

Insert the Cell1D Cell3D neighbour.

Parameters
cell1DIndexthe index of Cell1D from 0 to Cell1DTotalNumber()
neighbourIndexthe number of Cell3D neighbour of the Cell1D from 0 to Cell1DNumberNeighbourCell3D(cell1DIndex)
neigbourCell3DIndexthe Cell3D neighbour index from 0 to Cell3DTotalNumber()
Note
Cell1DInitializeNeighbourCell3Ds() shall be called before

Implements Gedim::IMeshDAO.

◆ Cell1DInsertUpdatedCell1D()

void Gedim::MeshMatricesDAO::Cell1DInsertUpdatedCell1D ( const unsigned int cell1DIndex,
const unsigned int updatedCell1DIdex 
)
virtual

Add the new Cell1D to an existing Cell1D.

Parameters
cell1DIndexthe index of Cell1D from 0 to Cell1DTotalNumber()
updatedCell1DIdexthe index of the new Cell1D from 0 to Cell1DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell1DIsActive()

bool Gedim::MeshMatricesDAO::Cell1DIsActive ( const unsigned int cell1DIndex) const
inlinevirtual
Parameters
cell1DIndexthe index of cell1D from 0 to Cell1DTotalNumber()
Returns
if the cell1D is active

Implements Gedim::IMeshDAO.

◆ Cell1DMarker()

unsigned int Gedim::MeshMatricesDAO::Cell1DMarker ( const unsigned int cell1DIndex) const
inlinevirtual
Parameters
cell1DIndexthe index of cell1D from 0 to Cell1DTotalNumber()
Returns
the cell1D marker

Implements Gedim::IMeshDAO.

◆ Cell1DNeighbourCell2D()

unsigned int Gedim::MeshMatricesDAO::Cell1DNeighbourCell2D ( const unsigned int cell1DIndex,
const unsigned int neighbourIndex 
) const
inlinevirtual
Parameters
cell1DIndexthe index of cell1D from 0 to Cell1DTotalNumber()
neighbourIndexthe number of neigbourh Cell2D from 0 to Cell1DNumberNeighbourCell2D(cell1DIndex)
Returns
the Cell2D index of Neighbour Cell2Ds of Cell1D from 0 to Cell2DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell1DNeighbourCell2Ds()

std::vector< unsigned int > Gedim::MeshMatricesDAO::Cell1DNeighbourCell2Ds ( const unsigned int cell1DIndex) const
inlinevirtual

Implements Gedim::IMeshDAO.

◆ Cell1DNeighbourCell3D()

unsigned int Gedim::MeshMatricesDAO::Cell1DNeighbourCell3D ( const unsigned int cell1DIndex,
const unsigned int neighbourIndex 
) const
inlinevirtual
Parameters
cell1DIndexthe index of cell1D from 0 to Cell1DTotalNumber()
neighbourIndexthe number of neigbourh Cell3D from 0 to Cell1DNumberNeighbourCell3D(cell1DIndex)
Returns
the Cell3D index of Neighbour Cell3Ds of Cell1D from 0 to Cell3DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell1DNeighbourCell3Ds()

std::vector< unsigned int > Gedim::MeshMatricesDAO::Cell1DNeighbourCell3Ds ( const unsigned int cell1DIndex) const
inlinevirtual

Implements Gedim::IMeshDAO.

◆ Cell1DNumberDoubleProperties()

unsigned int Gedim::MeshMatricesDAO::Cell1DNumberDoubleProperties ( ) const
inlinevirtual
Returns
the total number of double properties of Cell1Ds

Implements Gedim::IMeshDAO.

◆ Cell1DNumberNeighbourCell2D()

unsigned int Gedim::MeshMatricesDAO::Cell1DNumberNeighbourCell2D ( const unsigned int cell1DIndex) const
inlinevirtual
Parameters
cell1DIndexthe index of cell1D from 0 to Cell1DTotalNumber()
Returns
the number of Neighbour Cell2Ds of Cell1D

Implements Gedim::IMeshDAO.

◆ Cell1DNumberNeighbourCell3D()

unsigned int Gedim::MeshMatricesDAO::Cell1DNumberNeighbourCell3D ( const unsigned int cell1DIndex) const
inlinevirtual
Parameters
cell1DIndexthe index of cell1D from 0 to Cell1DTotalNumber()
Returns
the number of Neighbour Cell3Ds of Cell1D

Implements Gedim::IMeshDAO.

◆ Cell1DNumberUpdatedCell1Ds()

unsigned int Gedim::MeshMatricesDAO::Cell1DNumberUpdatedCell1Ds ( const unsigned int cell1DIndex) const
inlinevirtual
Parameters
cell1DIndexthe index of cell1D from 0 to Cell1DTotalNumber()
Returns
the number of new cell1Ds associated to cell1DIndex

Implements Gedim::IMeshDAO.

◆ Cell1DOrigin()

unsigned int Gedim::MeshMatricesDAO::Cell1DOrigin ( const unsigned int cell1DIndex) const
inlinevirtual
Parameters
cell1DIndexthe index of cell1D from 0 to Cell1DTotalNumber()
Returns
the origin Cell0D index of Cell1D from 0 to Cell0DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell1DOriginalCell1D()

unsigned int Gedim::MeshMatricesDAO::Cell1DOriginalCell1D ( const unsigned int updatedCell1DIndex) const
inlinevirtual
Parameters
updatedCell1DIndexthe updated cell1D index, from 0 to Cell1DTotalNumber()
Returns
the original cell1D index, from 0 to Cell1DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell1DOriginCoordinates()

Eigen::Vector3d Gedim::MeshMatricesDAO::Cell1DOriginCoordinates ( const unsigned int cell1DIndex) const
inlinevirtual
Parameters
cell1DIndexthe index of cell1D from 0 to Cell1DTotalNumber()
Returns
the origin coordinates of Cell1D

Implements Gedim::IMeshDAO.

◆ Cell1DRemove()

void Gedim::MeshMatricesDAO::Cell1DRemove ( const unsigned int cell1DIndex)
virtual

Remove the Cell1D from the mesh.

Parameters
cell1DIndexthe index of Cell1D from 0 to Cell1DTotalNumber()
Note
the cell1D is removed and no integrity check in the mesh are performed

Implements Gedim::IMeshDAO.

◆ Cell1DResetNeighbourCell2D()

void Gedim::MeshMatricesDAO::Cell1DResetNeighbourCell2D ( const unsigned int cell1DIndex,
const unsigned int neighbourIndex 
)
inlinevirtual

Reset the Cell1D Cell2D neighbour to empty value (Cell1DHasNeighbourCell2D is false)

Parameters
cell1DIndexthe index of Cell1D from 0 to Cell1DTotalNumber()
neighbourIndexthe number of Cell2D neighbour of the Cell1D from 0 to Cell1DNumberNeighbourCell2D(cell1DIndex)

Implements Gedim::IMeshDAO.

◆ Cell1DResetNeighbourCell3D()

void Gedim::MeshMatricesDAO::Cell1DResetNeighbourCell3D ( const unsigned int cell1DIndex,
const unsigned int neighbourIndex 
)
inlinevirtual

Reset the Cell1D Cell3D neighbour to empty value (Cell1DHasNeighbourCell3D is false)

Parameters
cell1DIndexthe index of Cell1D from 0 to Cell1DTotalNumber()
neighbourIndexthe number of Cell3D neighbour of the Cell1D from 0 to Cell1DNumberNeighbourCell3D(cell1DIndex)

Implements Gedim::IMeshDAO.

◆ Cell1DSetMarker()

void Gedim::MeshMatricesDAO::Cell1DSetMarker ( const unsigned int cell1DIndex,
const unsigned int marker 
)
inlinevirtual

Set the Cell1D Marker.

Parameters
cell1DIndexthe index of Cell1D from 0 to Cell1DTotalNumber()
markerthe marker of the Cell1D

Implements Gedim::IMeshDAO.

◆ Cell1DSetState()

void Gedim::MeshMatricesDAO::Cell1DSetState ( const unsigned int cell1DIndex,
const bool state 
)
inlinevirtual

Set the Cell1D state.

Parameters
cell1DIndexthe index of Cell1D from 0 to Cell1DTotalNumber()
statetrue if Cell1D is active, false otherwise

Implements Gedim::IMeshDAO.

◆ Cell1DsExtremes() [1/2]

Eigen::MatrixXi Gedim::MeshMatricesDAO::Cell1DsExtremes ( ) const
virtual
Returns
the extrems as Eigen MatrixXi of cell1Ds, size 2xCell1DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell1DsExtremes() [2/2]

MatrixXi Gedim::MeshMatricesDAO::Cell1DsExtremes ( const std::vector< unsigned int > &  cell1Ds) const
virtual

Implements Gedim::IMeshDAO.

◆ Cell1DsInitialize()

void Gedim::MeshMatricesDAO::Cell1DsInitialize ( const unsigned int numberCell1Ds)
virtual

Initialize the Cell1Ds container.

Parameters
numberCell1Dsthe total number of Cell1Ds
Note
No reset of Cell1Ds is performed

Implements Gedim::IMeshDAO.

◆ Cell1DsInitializeDoublePropertyValues()

void Gedim::MeshMatricesDAO::Cell1DsInitializeDoublePropertyValues ( const unsigned int propertyIndex,
const std::vector< unsigned int > &  porpertySizes 
)
inlinevirtual

Initialize the Cell1Ds double property sizes.

Parameters
propertyIndexthe index of Cell1D double property from 0 to Cell1DNumberProperties()
porpertySizethe double property size of each Cell1D, size 1 x Cell1DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell1DsInitializeNeighbourCell2Ds() [1/2]

void Gedim::MeshMatricesDAO::Cell1DsInitializeNeighbourCell2Ds ( const std::vector< unsigned int > &  numbersNeighbourCell2Ds)
inlinevirtual

Initialize the Cell1Ds Cell2D neighbours number.

Parameters
numbersNeighbourCell2Dsthe number of Cell2D neighbours of each Cell1D, size 1 x Cell1DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell1DsInitializeNeighbourCell2Ds() [2/2]

void Gedim::MeshMatricesDAO::Cell1DsInitializeNeighbourCell2Ds ( const unsigned int numberNeighbourCell2Ds)
inlinevirtual

Initialize the Cell1Ds Cell2D neighbours number.

Parameters
numberNeighbourCell2Dsthe number of Cell2D neighbours of the Cell1D

Implements Gedim::IMeshDAO.

◆ Cell1DsInitializeNeighbourCell3Ds()

void Gedim::MeshMatricesDAO::Cell1DsInitializeNeighbourCell3Ds ( const std::vector< unsigned int > &  numbersNeighbourCell3Ds)
virtual

Initialize the Cell1Ds Cell3D neighbours number.

Parameters
numbersNeighbourCell3Dsthe number of Cell2D neighbours of each Cell1D, size 1 x Cell1DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell1DsInsertExtremes()

void Gedim::MeshMatricesDAO::Cell1DsInsertExtremes ( const Eigen::MatrixXi &  cell1DExtremes)
virtual

Set the Cell1D Extremes for the whole mesh edges.

Parameters
cell1DExtremesthe origin and end indices of all the edges, size 2 x Cell1DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell1DsMarker()

std::vector< unsigned int > Gedim::MeshMatricesDAO::Cell1DsMarker ( ) const
inlinevirtual

Implements Gedim::IMeshDAO.

◆ Cell1DsNeighbourCell2Ds()

std::vector< std::vector< unsigned int > > Gedim::MeshMatricesDAO::Cell1DsNeighbourCell2Ds ( ) const
virtual

Implements Gedim::IMeshDAO.

◆ Cell1DsNeighbourCell3Ds()

std::vector< std::vector< unsigned int > > Gedim::MeshMatricesDAO::Cell1DsNeighbourCell3Ds ( ) const
virtual

Implements Gedim::IMeshDAO.

◆ Cell1DsState()

std::vector< bool > Gedim::MeshMatricesDAO::Cell1DsState ( ) const
inlinevirtual
Returns
the activation state of all cell1Ds

Implements Gedim::IMeshDAO.

◆ Cell1DTotalNumber()

unsigned int Gedim::MeshMatricesDAO::Cell1DTotalNumber ( ) const
inlinevirtual
Returns
the total number of Cell1Ds

Implements Gedim::IMeshDAO.

◆ Cell1DUpdatedCell1Ds()

bool Gedim::MeshMatricesDAO::Cell1DUpdatedCell1Ds ( const unsigned int cell1DIndex,
std::list< unsigned int > &  updatedCell1DIds 
) const
virtual

return the updated Cell1D Ids for cell1DIndex

Parameters
cell1DIndexthe index of Cell1D from 0 to Cell1DTotalNumber()
updatedCell1DIdsthe list of the new Cell1D Ids associated to cell1DIndex
Returns
true if the cell1DIndex is contained in the updatedCell1DIds list, false otherwise

Implements Gedim::IMeshDAO.

◆ Cell1DVertex()

unsigned int Gedim::MeshMatricesDAO::Cell1DVertex ( const unsigned int cell1DIndex,
const unsigned int vertexIndex 
) const
inlinevirtual
Parameters
cell1DIndexthe index of cell1D from 0 to Cell1DTotalNumber()
vertexIndexthe index of the vertex from 0 to 2
Returns
Cell0D index of the vertex of Cell1D

Implements Gedim::IMeshDAO.

◆ Cell2DAddDoubleProperty()

unsigned int Gedim::MeshMatricesDAO::Cell2DAddDoubleProperty ( const std::string &  propertyId)
virtual

Add the Cell2Ds double property identified by id.

Parameters
propertyIdthe id of Cell2Ds property
Returns
the double property position

Implements Gedim::IMeshDAO.

◆ Cell2DAddEdges()

void Gedim::MeshMatricesDAO::Cell2DAddEdges ( const unsigned int cell2DIndex,
const std::vector< unsigned int > &  edgesCell1DIndices 
)
virtual

Add the Cell2D edges.

Parameters
cell2DIndexthe index of Cell2D from 0 to Cell2DTotalNumber()
edgesCell1DIndicesthe Cell1D edges indices from 0 to Cell1DTotalNumber()
Note
No itialization is necessary

Implements Gedim::IMeshDAO.

◆ Cell2DAddVertices()

void Gedim::MeshMatricesDAO::Cell2DAddVertices ( const unsigned int cell2DIndex,
const std::vector< unsigned int > &  verticesCell0DIndices 
)
virtual

Add the Cell2D vertices.

Parameters
cell2DIndexthe index of Cell2D from 0 to Cell2DTotalNumber()
vertexCell0DIndicesthe Cell0D vertices indices from 0 to Cell0DTotalNumber()
Note
No itialization is necessary

Implements Gedim::IMeshDAO.

◆ Cell2DAddVerticesAndEdges()

void Gedim::MeshMatricesDAO::Cell2DAddVerticesAndEdges ( const unsigned int cell2DIndex,
const Eigen::MatrixXi &  verticesAndEdgesIndices 
)
virtual

Cell2D Add Vertices And Edges.

Parameters
cell2DIndexthe index of Cell2D from 0 to Cell2DTotalNumber()
verticesAndEdgesIndicesthe matrix of Cell0Ds and Cell1Ds indices
Note
No itialization is necessary

Implements Gedim::IMeshDAO.

◆ Cell2DAppend()

unsigned int Gedim::MeshMatricesDAO::Cell2DAppend ( const unsigned int numberCell2Ds)
virtual

Append Cell2Ds to the Cell2Ds container.

Parameters
numberCell2Dsthe number of Cell2Ds to append
Returns
the previous number of Cell2Ds before the append operation

Implements Gedim::IMeshDAO.

◆ Cell2DDoublePropertyExists()

bool Gedim::MeshMatricesDAO::Cell2DDoublePropertyExists ( const std::string &  propertyId) const
inlinevirtual
Returns
true if the double propertyId of Cell2Ds exists
Parameters
propertyIdthe id of Cell2D double property

Implements Gedim::IMeshDAO.

◆ Cell2DDoublePropertyId()

std::string Gedim::MeshMatricesDAO::Cell2DDoublePropertyId ( const unsigned int propertyIndex) const
inlinevirtual
Returns
the id of the double property of Cell2Ds
Parameters
propertyIndexthe index of Cell2D double property from 0 to Cell2DNumberProperties()

Implements Gedim::IMeshDAO.

◆ Cell2DDoublePropertyIndex()

unsigned int Gedim::MeshMatricesDAO::Cell2DDoublePropertyIndex ( const std::string &  propertyId) const
inlinevirtual
Returns
the propertyIndex of the double property of Cell2Ds from 0 to Cell2DNumberProperties()
Parameters
propertyIdthe id of Cell2D double property

Implements Gedim::IMeshDAO.

◆ Cell2DDoublePropertySize()

unsigned int Gedim::MeshMatricesDAO::Cell2DDoublePropertySize ( const unsigned int cell2DIndex,
const unsigned int propertyIndex 
) const
inlinevirtual
Returns
the size of the double property of Cell2D
Parameters
cell2DIndexthe index of Cell2D from 0 to Cell2DTotalNumber()
propertyIndexthe index of Cell2D double property from 0 to Cell2DNumberProperties()

Implements Gedim::IMeshDAO.

◆ Cell2DDoublePropertyValue()

double Gedim::MeshMatricesDAO::Cell2DDoublePropertyValue ( const unsigned int cell2DIndex,
const unsigned int propertyIndex,
const unsigned int propertyValueIndex 
) const
inlinevirtual
Returns
the value of the double property at valueIndex of Cell2D
Parameters
cell2DIndexthe index of Cell2D from 0 to Cell2DTotalNumber()
propertyIndexthe index of Cell2D double property from 0 to Cell2DNumberProperties()
propertyValueIndexthe index of Cell2D double property value from 0 to Cell2DDoublePropertySize()

Implements Gedim::IMeshDAO.

◆ Cell2DEdge()

unsigned int Gedim::MeshMatricesDAO::Cell2DEdge ( const unsigned int cell2DIndex,
const unsigned int edgeIndex 
) const
inlinevirtual
Parameters
cell2DIndexthe index of cell2D from 0 to Cell2DTotalNumber()
edgeIndexthe index of cell1D edge from 0 to NumberCell2DEdges(cell2DIndex)
Returns
the Cell1D index of edge of Cell2D from 0 to Cell1DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell2DEdges()

std::vector< unsigned int > Gedim::MeshMatricesDAO::Cell2DEdges ( const unsigned int cell2DIndex) const
inlinevirtual
Parameters
cell2DIndexthe index of cell2D from 0 to Cell2DTotalNumber()
Returns
the Cell1D index collections of Cell2D from 0 to Cell1DTotalNumber(), size Cell2DNumberEdges(cell2DIndex)

Implements Gedim::IMeshDAO.

◆ Cell2DFindEdge()

unsigned int Gedim::MeshMatricesDAO::Cell2DFindEdge ( const unsigned int cell2DIndex,
const unsigned int cell1DIndex 
) const
virtual
Parameters
cell2DIndexthe index of cell2D from 0 to Cell2DTotalNumber()
cell1DIndexthe index of cell1D from 0 to Cell1DTotalNumber()
Returns
the index of the cell1DIndex on the cell2D from 0 to NumberCell2DEdges(cell2DIndex), NumberCell2DEdges(cell2DIndex) if not found

Implements Gedim::IMeshDAO.

◆ Cell2DFindEdgeByExtremes()

unsigned int Gedim::MeshMatricesDAO::Cell2DFindEdgeByExtremes ( const unsigned int cell2DIndex,
const unsigned int originCell0DIndex,
const unsigned int endCell0DIndex 
) const
virtual
Parameters
cell2DIndexthe index of cell2D from 0 to Cell2DTotalNumber()
originCell0DIndexthe Cell0D Id of origin from 0 to Cell0DTotalNumber()
endCell0DIndexthe Cell0D Id of origin from 0 to Cell0DTotalNumber()
Returns
the index of the cell1DIndex on the cell2D from 0 to NumberCell2DEdges(cell2DIndex), NumberCell2DEdges(cell2DIndex) otherwise

Implements Gedim::IMeshDAO.

◆ Cell2DFindVertex()

unsigned int Gedim::MeshMatricesDAO::Cell2DFindVertex ( const unsigned int cell2DIndex,
const unsigned int cell0DIndex 
) const
virtual
Parameters
cell2DIndexthe index of cell2D from 0 to Cell2DTotalNumber()
cell0DIndexthe index of cell0D from 0 to Cell0DTotalNumber()
Returns
the index of the cell0DIndex on the cell2D from 0 to NumberCell2DVertices(cell2DIndex), NumberCell2DVertices(cell2DIndex) if not found

Implements Gedim::IMeshDAO.

◆ Cell2DHasNeighbourCell3D()

bool Gedim::MeshMatricesDAO::Cell2DHasNeighbourCell3D ( const unsigned int cell2DIndex,
const unsigned int neighbourIndex 
) const
inlinevirtual
Parameters
cell2DIndexthe index of cell2D from 0 to Cell2DTotalNumber()
neighbourIndexthe number of neigbourh Cell3D from 0 to Cell2DNumberNeighbourCell3D(cell2DIndex)
Returns
true if Neighbour Cell3Ds of Cell2D at position neighbourIndex exists

Implements Gedim::IMeshDAO.

◆ Cell2DHasOriginalCell2D()

bool Gedim::MeshMatricesDAO::Cell2DHasOriginalCell2D ( const unsigned int updatedCell2DIndex) const
inlinevirtual
Parameters
updatedCell2DIndexthe updated cell2D index, from 0 to Cell2DTotalNumber()
Returns
true if has an original cell, false otherwise (the original cell is itself)

Implements Gedim::IMeshDAO.

◆ Cell2DHasUpdatedCell2D()

bool Gedim::MeshMatricesDAO::Cell2DHasUpdatedCell2D ( const unsigned int cell2DIndex,
const unsigned int updatedCell2DIndex 
) const
inlinevirtual
Parameters
cell2DIndexthe index of cell2D from 0 to Cell2DTotalNumber()
updatedCell2DIndexthe index of the new Cell2D from 0 to Cell2DTotalNumber()
Returns
if the Cell2D has the updatedCell2DIdex associated

Implements Gedim::IMeshDAO.

◆ Cell2DHasUpdatedCell2Ds()

bool Gedim::MeshMatricesDAO::Cell2DHasUpdatedCell2Ds ( const unsigned int cell2DIndex) const
inlinevirtual
Parameters
cell2DIndexthe index of cell2D from 0 to Cell2DTotalNumber()
Returns
if the cell2D has new cell2Ds associated

Implements Gedim::IMeshDAO.

◆ Cell2DInitializeDoubleProperties()

void Gedim::MeshMatricesDAO::Cell2DInitializeDoubleProperties ( const unsigned int numberDoubleProperties)
virtual

Initialize the Cell2Ds double properties.

Parameters
numberDoublePropertiesthe total number of Cell2Ds properties
Note
No reset of Cell2Ds is performed

Implements Gedim::IMeshDAO.

◆ Cell2DInitializeDoublePropertyValues()

void Gedim::MeshMatricesDAO::Cell2DInitializeDoublePropertyValues ( const unsigned int cell2DIndex,
const unsigned int propertyIndex,
const unsigned int porpertySize 
)
virtual

Initialize the Cell2Ds double property size.

Parameters
cell2DIndexthe index of Cell2D from 0 to Cell2DTotalNumber()
propertyIndexthe index of Cell2D double property from 0 to Cell2DNumberProperties()
porpertySizethe double property size of Cell2D

Implements Gedim::IMeshDAO.

◆ Cell2DInitializeEdges()

void Gedim::MeshMatricesDAO::Cell2DInitializeEdges ( const unsigned int cell2DIndex,
const unsigned int numberCell2DEdges 
)
virtual

Initialize the Cell2D edges number.

Parameters
cell2DIndexthe index of Cell2D from 0 to Cell2DTotalNumber()
numberCell2DEdgesthe number of edges of Cell2D

Implements Gedim::IMeshDAO.

◆ Cell2DInitializeNeighbourCell3Ds() [1/2]

void Gedim::MeshMatricesDAO::Cell2DInitializeNeighbourCell3Ds ( const unsigned int cell2DIndex,
const std::vector< unsigned int > &  neighbourCell3Ds 
)
virtual

Implements Gedim::IMeshDAO.

◆ Cell2DInitializeNeighbourCell3Ds() [2/2]

void Gedim::MeshMatricesDAO::Cell2DInitializeNeighbourCell3Ds ( const unsigned int cell2DIndex,
const unsigned int numberNeighbourCell3Ds 
)
virtual

Initialize the Cell2D Cell3D neighbours number.

Parameters
cell2DIndexthe index of Cell2D from 0 to Cell2DTotalNumber()
numberNeighbourCell3Dsthe number of Cell3D neighbours of the Cell2D

Implements Gedim::IMeshDAO.

◆ Cell2DInitializeSubDivision()

void Gedim::MeshMatricesDAO::Cell2DInitializeSubDivision ( const unsigned int cell2DIndex,
const unsigned int numberSubDivision 
)
virtual

Initialize the Cell2D subdivision number.

Parameters
cell2DIndexthe index of Cell2D from 0 to Cell2DTotalNumber()
numberSubDivisionthe number of sub-polygons of the Cell2D
Note
each subdivision is a triangle, thus numberSubDivision shall be a multiple of 3

Implements Gedim::IMeshDAO.

◆ Cell2DInitializeVertices()

void Gedim::MeshMatricesDAO::Cell2DInitializeVertices ( const unsigned int cell2DIndex,
const unsigned int numberCell2DVertices 
)
virtual

Initialize the Cell2D vertices number.

Parameters
cell2DIndexthe index of Cell2D from 0 to Cell2DTotalNumber()
numberCell2DVerticesthe number of vertices of Cell2D

Implements Gedim::IMeshDAO.

◆ Cell2DInsertDoublePropertyValue()

void Gedim::MeshMatricesDAO::Cell2DInsertDoublePropertyValue ( const unsigned int cell2DIndex,
const unsigned int propertyIndex,
const unsigned int propertyValueIndex,
const double propertyValue 
)
inlinevirtual

Insert the Cell2Ds double property value at position.

Parameters
cell2DIndexthe index of Cell2D from 0 to Cell2DTotalNumber()
propertyIndexthe index of Cell2D double property from 0 to Cell2DNumberProperties()
propertyIndexthe index of Cell2D double property from 0 to Cell2DNumberProperties()

Implements Gedim::IMeshDAO.

◆ Cell2DInsertEdge()

void Gedim::MeshMatricesDAO::Cell2DInsertEdge ( const unsigned int cell2DIndex,
const unsigned int edgeIndex,
const unsigned int edgeCell1DIndex 
)
inlinevirtual

Insert the Cell2D edge.

Parameters
cell2DIndexthe index of Cell2D from 0 to Cell2DTotalNumber()
edgeIndexthe number of edge of the Cell2D from 0 to Cell2DNumberEdges(cell2DIndex)
edgeCell0DIndexthe Cell1D edge index from 0 to Cell1DTotalNumber()
Note
Cell2DInitializeEdges() should be called before using this method

Implements Gedim::IMeshDAO.

◆ Cell2DInsertEdges()

void Gedim::MeshMatricesDAO::Cell2DInsertEdges ( const unsigned int cell2DIndex,
const std::vector< unsigned int > &  edgesCell1DIndices 
)
inlinevirtual

Insert the Cell2D edge.

Parameters
cell2DIndexthe index of Cell2D from 0 to Cell2DTotalNumber()
edgesCell1DIndicesthe Cell1D edges indices from 0 to Cell1DTotalNumber()
Note
Cell2DInitializeEdges() should be called before using this method

Implements Gedim::IMeshDAO.

◆ Cell2DInsertNeighbourCell3D()

void Gedim::MeshMatricesDAO::Cell2DInsertNeighbourCell3D ( const unsigned int cell2DIndex,
const unsigned int neighbourIndex,
const unsigned int neigbourCell3DIndex 
)
inlinevirtual

Insert the Cell2D Cell3D neighbour.

Parameters
cell2DIndexthe index of Cell2D from 0 to Cell2DTotalNumber()
neighbourIndexthe number of Cell3D neighbour of the Cell2D from 0 to Cell2DNumberNeighbourCell3D(cell2DIndex)
neigbourCell3DIndexthe Cell3D neighbour index from 0 to Cell3DTotalNumber()
Note
Cell2DInitializeNeighbourCell3Ds() shall be called before

Implements Gedim::IMeshDAO.

◆ Cell2DInsertSubDivision()

void Gedim::MeshMatricesDAO::Cell2DInsertSubDivision ( const unsigned int cell2DIndex,
const unsigned int subDivisionIndex,
const unsigned int cell2DVertexIndex 
)
inlinevirtual

Insert the subDivision vertex index.

Parameters
cell2DIndexthe index of Cell2D from 0 to Cell2DTotalNumber()
subDivisionIndexthe subDivision index, from 0 to Cell2DNumberSubDivision(cell2DIndex)
cell2DVertexIndexthe Cell2D vertex index of the subDivision, from 0 to Cell0DTotalNumber()
Note
each subdivision is a triangle

Implements Gedim::IMeshDAO.

◆ Cell2DInsertUpdatedCell2D()

void Gedim::MeshMatricesDAO::Cell2DInsertUpdatedCell2D ( const unsigned int cell2DIndex,
const unsigned int updatedCell2DIdex 
)
virtual

Add the new Cell2D to an existing Cell2D.

Parameters
cell2DIndexthe index of Cell2D from 0 to Cell2DTotalNumber()
updatedCell2DIdexthe index of the new Cell2D from 0 to Cell2DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell2DInsertVertex()

void Gedim::MeshMatricesDAO::Cell2DInsertVertex ( const unsigned int cell2DIndex,
const unsigned int vertexIndex,
const unsigned int vertexCell0DIndex 
)
inlinevirtual

Insert the Cell2D vertex.

Parameters
cell2DIndexthe index of Cell2D from 0 to Cell2DTotalNumber()
vertexIndexthe number of vertex of the Cell2D from 0 to Cell2DNumberVertices(cell2DIndex)
vertexCell0DIndexthe Cell0D vertex index from 0 to Cell0DTotalNumber()
Note
Cell2DInitializeVertices() should be called before using this method

Implements Gedim::IMeshDAO.

◆ Cell2DInsertVertices()

void Gedim::MeshMatricesDAO::Cell2DInsertVertices ( const unsigned int cell2DIndex,
const std::vector< unsigned int > &  verticesCell0DIndices 
)
inlinevirtual

Insert the Cell2D vertex.

Parameters
cell2DIndexthe index of Cell2D from 0 to Cell2DTotalNumber()
verticesCell0DIndicesthe Cell0D vertices index from 0 to Cell0DTotalNumber()
Note
Cell2DInitializeVertices() should be called before using this method

Implements Gedim::IMeshDAO.

◆ Cell2DIsActive()

bool Gedim::MeshMatricesDAO::Cell2DIsActive ( const unsigned int cell2DIndex) const
inlinevirtual
Parameters
cell2DIndexthe index of cell2D from 0 to Cell2DTotalNumber()
Returns
if the cell2D is active

Implements Gedim::IMeshDAO.

◆ Cell2DMarker()

unsigned int Gedim::MeshMatricesDAO::Cell2DMarker ( const unsigned int cell2DIndex) const
inlinevirtual
Parameters
cell2DIndexthe index of cell2D from 0 to Cell2DTotalNumber()
Returns
the cell2D marker

Implements Gedim::IMeshDAO.

◆ Cell2DNeighbourCell3D()

unsigned int Gedim::MeshMatricesDAO::Cell2DNeighbourCell3D ( const unsigned int cell2DIndex,
const unsigned int neighbourIndex 
) const
inlinevirtual
Parameters
cell2DIndexthe index of cell2D from 0 to Cell2DTotalNumber()
neighbourIndexthe number of neigbourh Cell3D from 0 to Cell2DNumberNeighbourCell3D(cell2DIndex)
Returns
the Cell3D index of Neighbour Cell3Ds of Cell2D from 0 to Cell3DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell2DNeighbourCell3Ds()

std::vector< unsigned int > Gedim::MeshMatricesDAO::Cell2DNeighbourCell3Ds ( const unsigned int cell2DIndex) const
inlinevirtual

Implements Gedim::IMeshDAO.

◆ Cell2DNumberDoubleProperties()

unsigned int Gedim::MeshMatricesDAO::Cell2DNumberDoubleProperties ( ) const
inlinevirtual
Returns
the total number of double properties of Cell2Ds

Implements Gedim::IMeshDAO.

◆ Cell2DNumberEdges()

unsigned int Gedim::MeshMatricesDAO::Cell2DNumberEdges ( const unsigned int cell2DIndex) const
inlinevirtual
Parameters
cell2DIndexthe index of cell2D from 0 to Cell2DTotalNumber()
Returns
the number of edges of Cell2D

Implements Gedim::IMeshDAO.

◆ Cell2DNumberNeighbourCell3D()

unsigned int Gedim::MeshMatricesDAO::Cell2DNumberNeighbourCell3D ( const unsigned int cell2DIndex) const
inlinevirtual
Parameters
cell2DIndexthe index of cell2D from 0 to Cell2DTotalNumber()
Returns
the number of Neighbour Cell3Ds of Cell2D

Implements Gedim::IMeshDAO.

◆ Cell2DNumberSubDivision()

unsigned int Gedim::MeshMatricesDAO::Cell2DNumberSubDivision ( const unsigned int cell2DIndex) const
inlinevirtual
Parameters
cell2DIndexthe index of Cell2D from 0 to Cell2DTotalNumber()
Returns
the total number of vertices of sub-polygons contained in the subdivision, a multiple of 3
Note
each subdivision is a triangle

Implements Gedim::IMeshDAO.

◆ Cell2DNumberUpdatedCell2Ds()

unsigned int Gedim::MeshMatricesDAO::Cell2DNumberUpdatedCell2Ds ( const unsigned int cell2DIndex) const
inlinevirtual
Parameters
cell2DIndexthe index of cell2D from 0 to Cell2DTotalNumber()
Returns
the number of new cell2Ds associated to cell2DIndex

Implements Gedim::IMeshDAO.

◆ Cell2DNumberVertices()

unsigned int Gedim::MeshMatricesDAO::Cell2DNumberVertices ( const unsigned int cell2DIndex) const
inlinevirtual
Parameters
cell2DIndexthe index of cell2D from 0 to Cell2DTotalNumber()
Returns
the number of vertices of Cell2D

Implements Gedim::IMeshDAO.

◆ Cell2DOriginalCell2D()

unsigned int Gedim::MeshMatricesDAO::Cell2DOriginalCell2D ( const unsigned int updatedCell2DIndex) const
inlinevirtual
Parameters
updatedCell2DIndexthe updated cell2D index, from 0 to Cell2DTotalNumber()
Returns
the original cell2D index, from 0 to Cell2DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell2DRemove()

void Gedim::MeshMatricesDAO::Cell2DRemove ( const unsigned int cell2DIndex)
virtual

Remove the Cell2D from the mesh.

Parameters
cell2DIndexthe index of Cell0D from 0 to Cell2DTotalNumber()
Note
the cell2D is removed and no integrity check in the mesh are performed

Implements Gedim::IMeshDAO.

◆ Cell2DResetNeighbourCell3D()

void Gedim::MeshMatricesDAO::Cell2DResetNeighbourCell3D ( const unsigned int cell2DIndex,
const unsigned int neighbourIndex 
)
inlinevirtual

Reset the Cell2D Cell3D neighbour to empty value (Cell2DHasNeighbourCell3D is false)

Parameters
cell2DIndexthe index of Cell2D from 0 to Cell2DTotalNumber()
neighbourIndexthe number of Cell3D neighbour of the Cell2D from 0 to Cell2DNumberNeighbourCell3D(cell2DIndex)

Implements Gedim::IMeshDAO.

◆ Cell2DSetMarker()

void Gedim::MeshMatricesDAO::Cell2DSetMarker ( const unsigned int cell2DIndex,
const unsigned int marker 
)
inlinevirtual

Set the Cell2D Marker.

Parameters
cell2DIndexthe index of Cell2D from 0 to Cell2DTotalNumber()
markerthe marker of the Cell2D

Implements Gedim::IMeshDAO.

◆ Cell2DSetState()

void Gedim::MeshMatricesDAO::Cell2DSetState ( const unsigned int cell2DIndex,
const bool state 
)
inlinevirtual

Set the Cell1D state.

Parameters
cell2DIndexthe index of Cell2D from 0 to Cell2DTotalNumber()
statetrue if Cell1D is active, false otherwise

Implements Gedim::IMeshDAO.

◆ Cell2DsExtremes()

std::vector< Eigen::MatrixXi > Gedim::MeshMatricesDAO::Cell2DsExtremes ( ) const
virtual
Returns
the Cell0Ds and Cell1Ds index collections of all Cell2Ds, size Cell2DTotalNumber() x (2 x Cell2DNumberVertices(cell2DIndex))

Implements Gedim::IMeshDAO.

◆ Cell2DsInitialize()

void Gedim::MeshMatricesDAO::Cell2DsInitialize ( const unsigned int numberCell2Ds)
virtual

Initialize the Cell2Ds container.

Parameters
numberCell2Dsthe total number of Cell2Ds
Note
No reset of Cell2Ds is performed

Implements Gedim::IMeshDAO.

◆ Cell2DsInitializeDoublePropertyValues()

void Gedim::MeshMatricesDAO::Cell2DsInitializeDoublePropertyValues ( const unsigned int propertyIndex,
const std::vector< unsigned int > &  porpertySizes 
)
inlinevirtual

Initialize the Cell2Ds double property sizes.

Parameters
propertyIndexthe index of Cell2D double property from 0 to Cell2DNumberProperties()
porpertySizethe double property size of each Cell2D, size 1 x Cell2DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell2DsInitializeEdges() [1/2]

void Gedim::MeshMatricesDAO::Cell2DsInitializeEdges ( const std::vector< unsigned int > &  numberCell2DsEdges)
inlinevirtual

Initialize the Cell2Ds edges number.

Parameters
numberCell2DsEdgesthe number of edges of each Cell2D

Implements Gedim::IMeshDAO.

◆ Cell2DsInitializeEdges() [2/2]

void Gedim::MeshMatricesDAO::Cell2DsInitializeEdges ( const unsigned int numberCell2DEdges)
inlinevirtual

Initialize the Cell2Ds edges number.

Parameters
numberCell2DEdgesthe number of edges of all Cell2Ds

Implements Gedim::IMeshDAO.

◆ Cell2DsInitializeNeighbourCell3Ds()

void Gedim::MeshMatricesDAO::Cell2DsInitializeNeighbourCell3Ds ( const std::vector< unsigned int > &  numbersNeighbourCell3Ds)
inlinevirtual

Initialize the Cell2Ds Cell3D neighbours number.

Parameters
numbersNeighbourCell3Dsthe number of Cell3D neighbours of each Cell2D, size 1 x Cell2DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell2DsInitializeSubDivision()

void Gedim::MeshMatricesDAO::Cell2DsInitializeSubDivision ( const std::vector< unsigned int > &  numberSubDivisions)
inlinevirtual

Initialize the Cell2D subdivision number for each Cell2D.

Parameters
numberSubDivisionsthe number of sub-polygons for each Cell2D, size 1 x Cell2DTotalNumber()
Note
each subdivision is a triangle, thus numberSubDivision shall be a multiple of 3

Implements Gedim::IMeshDAO.

◆ Cell2DsInitializeVertices() [1/2]

void Gedim::MeshMatricesDAO::Cell2DsInitializeVertices ( const std::vector< unsigned int > &  numberCell2DsVertices)
inlinevirtual

Initialize the Cell2Ds vertices number.

Parameters
numberCell2DsVerticesthe number of vertices of each Cell2D

Implements Gedim::IMeshDAO.

◆ Cell2DsInitializeVertices() [2/2]

void Gedim::MeshMatricesDAO::Cell2DsInitializeVertices ( const unsigned int numberCell2DVertices)
inlinevirtual

Initialize the Cell2Ds vertices number.

Parameters
numberCell2DVerticesthe number of vertices of all Cell2Ds

Implements Gedim::IMeshDAO.

◆ Cell2DsMarker()

std::vector< unsigned int > Gedim::MeshMatricesDAO::Cell2DsMarker ( ) const
inlinevirtual

Implements Gedim::IMeshDAO.

◆ Cell2DsNeighbourCell3Ds()

std::vector< std::vector< unsigned int > > Gedim::MeshMatricesDAO::Cell2DsNeighbourCell3Ds ( ) const
virtual

Implements Gedim::IMeshDAO.

◆ Cell2DsState()

std::vector< bool > Gedim::MeshMatricesDAO::Cell2DsState ( ) const
inlinevirtual
Returns
the activation state of all cell2Ds

Implements Gedim::IMeshDAO.

◆ Cell2DSubDivisionCell0D()

unsigned int Gedim::MeshMatricesDAO::Cell2DSubDivisionCell0D ( const unsigned int cell2DIndex,
const unsigned int subDivisionIndex 
) const
inlinevirtual
Parameters
cell2DIndexthe index of Cell2D from 0 to Cell2DTotalNumber()
subDivisionIndexthe subDivision index, from 0 to Cell2DNumberSubDivision(cell2DIndex)
Returns
the Cell0D index of sub-polygons contained in the subdivision, from 0 to Cell0DTotalNumber()
Note
each sub-division shall be a triangle

Implements Gedim::IMeshDAO.

◆ Cell2DsVertices()

std::vector< std::vector< unsigned int > > Gedim::MeshMatricesDAO::Cell2DsVertices ( ) const
virtual
Returns
the Cell0D index collections of all Cell2Ds, size Cell2DTotalNumber() x Cell2DNumberVertices(cell2DIndex)

Implements Gedim::IMeshDAO.

◆ Cell2DTotalNumber()

unsigned int Gedim::MeshMatricesDAO::Cell2DTotalNumber ( ) const
inlinevirtual
Returns
the total number of Cell2Ds

Implements Gedim::IMeshDAO.

◆ Cell2DUpdatedCell2Ds()

bool Gedim::MeshMatricesDAO::Cell2DUpdatedCell2Ds ( const unsigned int cell2DIndex,
std::list< unsigned int > &  updatedCell2DIds 
) const
virtual

return the updated Cell2D Ids for cell2DIndex

Parameters
cell2DIndexthe index of Cell2D from 0 to Cell2DTotalNumber()
updatedCell2DIdsthe list of the new Cell2D Ids associated to cell2DIndex
Returns
true if the cell2DIndex is contained in the updatedCell2DIds list, false otherwise

Implements Gedim::IMeshDAO.

◆ Cell2DVertex()

unsigned int Gedim::MeshMatricesDAO::Cell2DVertex ( const unsigned int cell2DIndex,
const unsigned int vertexIndex 
) const
inlinevirtual
Parameters
cell2DIndexthe index of cell2D from 0 to Cell2DTotalNumber()
vertexIndexthe index of cell0D vertex from 0 to NumberCell2DVertices(cell2DIndex)
Returns
the Cell0D index of vertex of Cell2D from 0 to Cell0DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell2DVertexCoordinates()

Eigen::Vector3d Gedim::MeshMatricesDAO::Cell2DVertexCoordinates ( const unsigned int cell2DIndex,
const unsigned int vertexIndex 
) const
inlinevirtual
Parameters
cell2DIndexthe index of cell2D from 0 to Cell2DTotalNumber()
vertexIndexthe index of cell0D vertex from 0 to NumberCell2DVertices(cell2DIndex)
Returns
the Cell0D coordinates of vertex of Cell2D, size 3 x 1

Implements Gedim::IMeshDAO.

◆ Cell2DVertices()

std::vector< unsigned int > Gedim::MeshMatricesDAO::Cell2DVertices ( const unsigned int cell2DIndex) const
inlinevirtual
Parameters
cell2DIndexthe index of cell2D from 0 to Cell2DTotalNumber()
Returns
the Cell0D index collections of Cell2D from 0 to Cell0DTotalNumber(), size Cell2DNumberVertices(cell2DIndex)

Implements Gedim::IMeshDAO.

◆ Cell2DVerticesCoordinates()

MatrixXd Gedim::MeshMatricesDAO::Cell2DVerticesCoordinates ( const unsigned int cell2DIndex) const
virtual
Parameters
cell2DIndexthe index of cell2D from 0 to Cell2DTotalNumber()
Returns
the Cell0D coordinates of all the vertices of Cell2D, size 3 x NumberCell2DVertices(cell2DIndex)

Implements Gedim::IMeshDAO.

◆ Cell3DAddDoubleProperty()

unsigned int Gedim::MeshMatricesDAO::Cell3DAddDoubleProperty ( const std::string &  propertyId)
virtual

Add the Cell3Ds double property identified by id.

Parameters
propertyIdthe id of Cell3Ds property
Returns
the double property position

Implements Gedim::IMeshDAO.

◆ Cell3DAddEdges()

void Gedim::MeshMatricesDAO::Cell3DAddEdges ( const unsigned int cell3DIndex,
const std::vector< unsigned int > &  edgesCell0DIndices 
)
virtual

Add the Cell3D edges.

Parameters
cell3DIndexthe index of Cell3D from 0 to Cell3DTotalNumber()
edgesCell0DIndicesthe Cell1D edges indices from 0 to Cell1DTotalNumber()
Note
No itialization is necessary

Implements Gedim::IMeshDAO.

◆ Cell3DAddFaces()

void Gedim::MeshMatricesDAO::Cell3DAddFaces ( const unsigned int cell3DIndex,
const std::vector< unsigned int > &  facesCell0DIndices 
)
virtual

Add the Cell3D faces.

Parameters
cell3DIndexthe index of Cell3D from 0 to Cell3DTotalNumber()
facesCell0DIndicesthe Cell2D faces indices from 0 to Cell2DTotalNumber()
Note
No itialization is necessary

Implements Gedim::IMeshDAO.

◆ Cell3DAddVertices()

void Gedim::MeshMatricesDAO::Cell3DAddVertices ( const unsigned int cell3DIndex,
const std::vector< unsigned int > &  verticesCell0DIndices 
)
virtual

Add the Cell3D vertices.

Parameters
cell3DIndexthe index of Cell3D from 0 to Cell3DTotalNumber()
vertexCell0DIndicesthe Cell0D vertices indices from 0 to Cell0DTotalNumber()
Note
No itialization is necessary

Implements Gedim::IMeshDAO.

◆ Cell3DAppend()

unsigned int Gedim::MeshMatricesDAO::Cell3DAppend ( const unsigned int numberCell3Ds)
virtual

Append Cell3Ds to the Cell3Ds container.

Parameters
numberCell3Dsthe number of Cell3Ds to append
Returns
the previous number of Cell3Ds before the append operation

Implements Gedim::IMeshDAO.

◆ Cell3DDoublePropertyExists()

bool Gedim::MeshMatricesDAO::Cell3DDoublePropertyExists ( const std::string &  propertyId) const
inlinevirtual
Returns
true if the double propertyId of Cell3Ds exists
Parameters
propertyIdthe id of Cell3D double property

Implements Gedim::IMeshDAO.

◆ Cell3DDoublePropertyId()

std::string Gedim::MeshMatricesDAO::Cell3DDoublePropertyId ( const unsigned int propertyIndex) const
inlinevirtual
Returns
the id of the double property of Cell3Ds
Parameters
propertyIndexthe index of Cell3D double property from 0 to Cell3DNumberProperties()

Implements Gedim::IMeshDAO.

◆ Cell3DDoublePropertyIndex()

unsigned int Gedim::MeshMatricesDAO::Cell3DDoublePropertyIndex ( const std::string &  propertyId) const
inlinevirtual
Returns
the propertyIndex of the double property of Cell3Ds from 0 to Cell3DNumberProperties()
Parameters
propertyIdthe id of Cell3D double property

Implements Gedim::IMeshDAO.

◆ Cell3DDoublePropertySize()

unsigned int Gedim::MeshMatricesDAO::Cell3DDoublePropertySize ( const unsigned int cell3DIndex,
const unsigned int propertyIndex 
) const
inlinevirtual
Returns
the size of the double property of Cell3D
Parameters
cell3DIndexthe index of Cell3D from 0 to Cell3DTotalNumber()
propertyIndexthe index of Cell3D double property from 0 to Cell3DNumberProperties()

Implements Gedim::IMeshDAO.

◆ Cell3DDoublePropertyValue()

double Gedim::MeshMatricesDAO::Cell3DDoublePropertyValue ( const unsigned int cell3DIndex,
const unsigned int propertyIndex,
const unsigned int propertyValueIndex 
) const
inlinevirtual
Returns
the value of the double property at valueIndex of Cell3D
Parameters
cell3DIndexthe index of Cell3D from 0 to Cell3DTotalNumber()
propertyIndexthe index of Cell3D double property from 0 to Cell3DNumberProperties()
propertyValueIndexthe index of Cell3D double property value from 0 to Cell3DDoublePropertySize()

Implements Gedim::IMeshDAO.

◆ Cell3DEdge()

unsigned int Gedim::MeshMatricesDAO::Cell3DEdge ( const unsigned int cell3DIndex,
const unsigned int edgeIndex 
) const
inlinevirtual
Parameters
cell3DIndexthe index of cell3D from 0 to Cell3DTotalNumber()
edgeIndexthe index of cell1D edge from 0 to NumberCell3DEdges(edgeIndex)
Returns
the Cell1D index of edge of Cell3D from 0 to Cell1DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell3DEdges()

vector< unsigned int > Gedim::MeshMatricesDAO::Cell3DEdges ( const unsigned int cell3DIndex) const
virtual
Parameters
cell3DIndexthe index of cell3D from 0 to Cell3DTotalNumber()
Returns
the Cell1D index collections of Cell3D from 0 to Cell1DTotalNumber(), size Cell3DNumberEdges(cell3DIndex)

Implements Gedim::IMeshDAO.

◆ Cell3DFace()

unsigned int Gedim::MeshMatricesDAO::Cell3DFace ( const unsigned int cell3DIndex,
const unsigned int faceIndex 
) const
inlinevirtual
Parameters
cell3DIndexthe index of cell3D from 0 to Cell3DTotalNumber()
faceIndexthe index of cell2D face from 0 to NumberCell3DFaces(cell3DIndex)
Returns
the Cell2D index of face of Cell3D from 0 to Cell2DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell3DFaces()

vector< unsigned int > Gedim::MeshMatricesDAO::Cell3DFaces ( const unsigned int cell3DIndex) const
virtual
Parameters
cell3DIndexthe index of cell3D from 0 to Cell3DTotalNumber()
Returns
the Cell2D index collections of Cell3D from 0 to Cell2DTotalNumber(), size Cell3DNumberFaces(cell3DIndex)

Implements Gedim::IMeshDAO.

◆ Cell3DFindEdge()

unsigned int Gedim::MeshMatricesDAO::Cell3DFindEdge ( const unsigned int cell3DIndex,
const unsigned int cell1DIndex 
) const
virtual
Parameters
cell3DIndexthe index of cell3D from 0 to Cell3DTotalNumber()
cell1DIndexthe index of cell1D from 0 to Cell1DTotalNumber()
Returns
the index of the cell1DIndex on the cell3D from 0 to NumberCell3DEdges(cell3DIndex), NumberCell3DEdges(cell3DIndex) if not found

Implements Gedim::IMeshDAO.

◆ Cell3DFindEdgeByExtremes()

unsigned int Gedim::MeshMatricesDAO::Cell3DFindEdgeByExtremes ( const unsigned int cell3DIndex,
const unsigned int originCell0DIndex,
const unsigned int endCell0DIndex 
) const
virtual
Parameters
cell3DIndexthe index of cell3D from 0 to Cell3DTotalNumber()
originCell0DIndexthe Cell0D Id of origin from 0 to Cell0DTotalNumber()
endCell0DIndexthe Cell0D Id of origin from 0 to Cell0DTotalNumber()
Returns
the index of the cell1DIndex on the cell2D from 0 to NumberCell2DEdges(cell3DIndex), NumberCell2DEdges(cell2DIndex) otherwise

Implements Gedim::IMeshDAO.

◆ Cell3DFindFace()

unsigned int Gedim::MeshMatricesDAO::Cell3DFindFace ( const unsigned int cell3DIndex,
const unsigned int cell2DIndex 
) const
virtual
Parameters
cell3DIndexthe index of cell3D from 0 to Cell3DTotalNumber()
cell2DIndexthe index of cell2D from 0 to Cell2DTotalNumber()
Returns
the index of the cell2DIndex on the cell3D from 0 to NumberCell3DFaces(cell3DIndex), NumberCell3DFaces(cell3DIndex) if not found

Implements Gedim::IMeshDAO.

◆ Cell3DFindVertex()

unsigned int Gedim::MeshMatricesDAO::Cell3DFindVertex ( const unsigned int cell3DIndex,
const unsigned int cell0DIndex 
) const
virtual
Parameters
cell3DIndexthe index of cell3D from 0 to Cell3DTotalNumber()
cell0DIndexthe index of cell0D from 0 to Cell0DTotalNumber()
Returns
the index of the cell0DIndex on the cell3D from 0 to NumberCell3DVertices(cell3DIndex), NumberCell3DVertices(cell3DIndex) if not found

Implements Gedim::IMeshDAO.

◆ Cell3DHasOriginalCell3D()

bool Gedim::MeshMatricesDAO::Cell3DHasOriginalCell3D ( const unsigned int updatedCell3DIndex) const
inlinevirtual
Parameters
updatedCell3DIndexthe updated cell3D index, from 0 to Cell3DTotalNumber()
Returns
true if has an original cell, false otherwise (the original cell is itself)

Implements Gedim::IMeshDAO.

◆ Cell3DHasUpdatedCell3D()

bool Gedim::MeshMatricesDAO::Cell3DHasUpdatedCell3D ( const unsigned int cell3DIndex,
const unsigned int updatedCell3DIdex 
) const
inlinevirtual
Parameters
cell3DIndexthe index of cell3D from 0 to Cell3DTotalNumber()
updatedCell3DIdexthe index of the new Cell3D from 0 to Cell3DTotalNumber()
Returns
if the Cell3D has the updatedCell3DIdex associated

Implements Gedim::IMeshDAO.

◆ Cell3DHasUpdatedCell3Ds()

bool Gedim::MeshMatricesDAO::Cell3DHasUpdatedCell3Ds ( const unsigned int cell3DIndex) const
inlinevirtual
Parameters
cell3DIndexthe index of cell3D from 0 to Cell3DTotalNumber()
Returns
if the cell3D has new cell3Ds associated

Implements Gedim::IMeshDAO.

◆ Cell3DInitializeDoubleProperties()

void Gedim::MeshMatricesDAO::Cell3DInitializeDoubleProperties ( const unsigned int numberDoubleProperties)
virtual

Initialize the Cell3Ds double properties.

Parameters
numberDoublePropertiesthe total number of Cell3Ds properties
Note
No reset of Cell3Ds is performed

Implements Gedim::IMeshDAO.

◆ Cell3DInitializeDoublePropertyValues()

void Gedim::MeshMatricesDAO::Cell3DInitializeDoublePropertyValues ( const unsigned int cell3DIndex,
const unsigned int propertyIndex,
const unsigned int porpertySize 
)
virtual

Initialize the Cell3Ds double property size.

Parameters
cell3DIndexthe index of Cell3D from 0 to Cell3DTotalNumber()
propertyIndexthe index of Cell3D double property from 0 to Cell3DNumberProperties()
porpertySizethe double property size of Cell3D

Implements Gedim::IMeshDAO.

◆ Cell3DInitializeEdges()

void Gedim::MeshMatricesDAO::Cell3DInitializeEdges ( const unsigned int cell3DIndex,
const unsigned int numberCell3DEdges 
)
virtual

Initialize the Cell3D edges number.

Parameters
cell3DIndexthe index of Cell3D from 0 to Cell3DTotalNumber()
numberCell3DEdgesthe number of edges of Cell3D

Implements Gedim::IMeshDAO.

◆ Cell3DInitializeFaces()

void Gedim::MeshMatricesDAO::Cell3DInitializeFaces ( const unsigned int cell3DIndex,
const unsigned int numberCell3DFaces 
)
virtual

Initialize the Cell3D faces number.

Parameters
cell3DIndexthe index of Cell3D from 0 to Cell3DTotalNumber()
numberCell3DFacesthe number of faces of Cell3D

Implements Gedim::IMeshDAO.

◆ Cell3DInitializeVertices()

void Gedim::MeshMatricesDAO::Cell3DInitializeVertices ( const unsigned int cell3DIndex,
const unsigned int numberCell3DVertices 
)
virtual

Initialize the Cell3D vertices number.

Parameters
cell3DIndexthe index of Cell3D from 0 to Cell3DTotalNumber()
numberCell3DVerticesthe number of vertices of Cell3D

Implements Gedim::IMeshDAO.

◆ Cell3DInsertDoublePropertyValue()

void Gedim::MeshMatricesDAO::Cell3DInsertDoublePropertyValue ( const unsigned int cell3DIndex,
const unsigned int propertyIndex,
const unsigned int propertyValueIndex,
const double propertyValue 
)
inlinevirtual

Insert the Cell3Ds double property value at position.

Parameters
cell3DIndexthe index of Cell3D from 0 to Cell3DTotalNumber()
propertyIndexthe index of Cell3D double property from 0 to Cell3DNumberProperties()
propertyIndexthe index of Cell3D double property from 0 to Cell3DNumberProperties()

Implements Gedim::IMeshDAO.

◆ Cell3DInsertEdge()

void Gedim::MeshMatricesDAO::Cell3DInsertEdge ( const unsigned int cell3DIndex,
const unsigned int edgeIndex,
const unsigned int edgeCell1DIndex 
)
inlinevirtual

Insert the Cell3D edge.

Parameters
cell3DIndexthe index of Cell3D from 0 to Cell3DTotalNumber()
edgeIndexthe number of edge of the Cell3D from 0 to Cell3DNumberEdges(cell3DIndex)
edgeCell0DIndexthe Cell1D edge index from 0 to Cell1DTotalNumber()
Note
Cell3DInitializeEdges() should be called before using this method

Implements Gedim::IMeshDAO.

◆ Cell3DInsertEdges()

void Gedim::MeshMatricesDAO::Cell3DInsertEdges ( const unsigned int cell3DIndex,
const std::vector< unsigned int > &  edgesCell1DIndices 
)
inlinevirtual

Insert the Cell3D edges.

Parameters
cell3DIndexthe index of Cell3D from 0 to Cell3DTotalNumber()
edgesCell1DIndicesthe Cell1Ds index from 0 to Cell1DTotalNumber()
Note
Cell3DInitializeEdges() should be called before using this method

Implements Gedim::IMeshDAO.

◆ Cell3DInsertFace()

void Gedim::MeshMatricesDAO::Cell3DInsertFace ( const unsigned int cell3DIndex,
const unsigned int faceIndex,
const unsigned int faceCell2DIndex 
)
inlinevirtual

Insert the Cell3D face.

Parameters
cell3DIndexthe index of Cell3D from 0 to Cell3DTotalNumber()
faceIndexthe number of face of the Cell3D from 0 to Cell3DNumberFaces(cell3DIndex)
faceCell0DIndexthe Cell2D face index from 0 to Cell2DTotalNumber()
Note
Cell3DInitializeFaces() should be called before using this method

Implements Gedim::IMeshDAO.

◆ Cell3DInsertFaces()

void Gedim::MeshMatricesDAO::Cell3DInsertFaces ( const unsigned int cell3DIndex,
const std::vector< unsigned int > &  facesCell2DIndices 
)
inlinevirtual

Insert the Cell3D faces.

Parameters
cell3DIndexthe index of Cell3D from 0 to Cell3DTotalNumber()
facesCell2DIndicesthe Cell2D index from 0 to Cell2DTotalNumber()
Note
Cell3DInitializeFaces() should be called before using this method

Implements Gedim::IMeshDAO.

◆ Cell3DInsertUpdatedCell3D()

void Gedim::MeshMatricesDAO::Cell3DInsertUpdatedCell3D ( const unsigned int cell3DIndex,
const unsigned int updatedCell3DIdex 
)
virtual

Add the new Cell3D to an existing Cell3D.

Parameters
cell3DIndexthe index of Cell3D from 0 to Cell3DTotalNumber()
updatedCell3DIdexthe index of the new Cell3D from 0 to Cell3DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell3DInsertVertex()

void Gedim::MeshMatricesDAO::Cell3DInsertVertex ( const unsigned int cell3DIndex,
const unsigned int vertexIndex,
const unsigned int vertexCell0DIndex 
)
inlinevirtual

Insert the Cell3D vertex.

Parameters
cell3DIndexthe index of Cell3D from 0 to Cell3DTotalNumber()
vertexIndexthe number of vertex of the Cell3D from 0 to Cell3DNumberVertices(cell3DIndex)
vertexCell0DIndexthe Cell0D vertex index from 0 to Cell0DTotalNumber()
Note
Cell3DInitializeVertices() should be called before using this method

Implements Gedim::IMeshDAO.

◆ Cell3DInsertVertices()

void Gedim::MeshMatricesDAO::Cell3DInsertVertices ( const unsigned int cell3DIndex,
const std::vector< unsigned int > &  verticesCell0DIndices 
)
inlinevirtual

Insert the Cell3D vertex.

Parameters
cell3DIndexthe index of Cell3D from 0 to Cell3DTotalNumber()
verticesCell0DIndicesthe Cell0D vertices index from 0 to Cell0DTotalNumber()
Note
Cell3DInitializeVertices() should be called before using this method

Implements Gedim::IMeshDAO.

◆ Cell3DIsActive()

bool Gedim::MeshMatricesDAO::Cell3DIsActive ( const unsigned int cell3DIndex) const
inlinevirtual
Parameters
cell3DIndexthe index of cell3D from 0 to Cell3DTotalNumber()
Returns
if the cell3D is active

Implements Gedim::IMeshDAO.

◆ Cell3DMarker()

unsigned int Gedim::MeshMatricesDAO::Cell3DMarker ( const unsigned int cell3DIndex) const
inlinevirtual
Parameters
cell3DIndexthe index of cell3D from 0 to Cell3DTotalNumber()
Returns
the cell3D marker

Implements Gedim::IMeshDAO.

◆ Cell3DNumberDoubleProperties()

unsigned int Gedim::MeshMatricesDAO::Cell3DNumberDoubleProperties ( ) const
inlinevirtual
Returns
the total number of double properties of Cell3Ds

Implements Gedim::IMeshDAO.

◆ Cell3DNumberEdges()

unsigned int Gedim::MeshMatricesDAO::Cell3DNumberEdges ( const unsigned int cell3DIndex) const
inlinevirtual
Parameters
cell3DIndexthe index of cell3D from 0 to Cell3DTotalNumber()
Returns
the number of edges of Cell3D

Implements Gedim::IMeshDAO.

◆ Cell3DNumberFaces()

unsigned int Gedim::MeshMatricesDAO::Cell3DNumberFaces ( const unsigned int cell3DIndex) const
inlinevirtual
Parameters
cell3DIndexthe index of cell3D from 0 to Cell3DTotalNumber()
Returns
the number of faces of Cell3D

Implements Gedim::IMeshDAO.

◆ Cell3DNumberUpdatedCell3Ds()

unsigned int Gedim::MeshMatricesDAO::Cell3DNumberUpdatedCell3Ds ( const unsigned int cell3DIndex) const
inlinevirtual
Parameters
cell3DIndexthe index of cell3D from 0 to Cell3DTotalNumber()
Returns
the number of new cell3Ds associated to cell3DIndex

Implements Gedim::IMeshDAO.

◆ Cell3DNumberVertices()

unsigned int Gedim::MeshMatricesDAO::Cell3DNumberVertices ( const unsigned int cell3DIndex) const
inlinevirtual
Parameters
cell3DIndexthe index of cell3D from 0 to Cell3DTotalNumber()
Returns
the number of vertices of Cell3D

Implements Gedim::IMeshDAO.

◆ Cell3DOriginalCell3D()

unsigned int Gedim::MeshMatricesDAO::Cell3DOriginalCell3D ( const unsigned int updatedCell3DIndex) const
inlinevirtual
Parameters
updatedCell3DIndexthe updated cell3D index, from 0 to Cell3DTotalNumber()
Returns
the original cell3D index, from 0 to Cell3DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell3DRemove()

void Gedim::MeshMatricesDAO::Cell3DRemove ( const unsigned int cell3DIndex)
virtual

Remove the Cell3D from the mesh.

Parameters
cell3DIndexthe index of Cell3D from 0 to Cell3DTotalNumber()
Note
the cell3D is removed and no integrity check in the mesh are performed

Implements Gedim::IMeshDAO.

◆ Cell3DsEdges()

std::vector< std::vector< unsigned int > > Gedim::MeshMatricesDAO::Cell3DsEdges ( ) const
virtual
Returns
the Cell1D index collections of all Cell3Ds, size Cell3DTotalNumber() x Cell3DNumberEdges(cell3DIndex)

Implements Gedim::IMeshDAO.

◆ Cell3DSetMarker()

void Gedim::MeshMatricesDAO::Cell3DSetMarker ( const unsigned int cell3DIndex,
const unsigned int marker 
)
inlinevirtual

Set the Cell1D Marker.

Parameters
cell3DIndexthe index of Cell3D from 0 to Cell3DTotalNumber()
markerthe marker of the Cell3D

Implements Gedim::IMeshDAO.

◆ Cell3DSetState()

void Gedim::MeshMatricesDAO::Cell3DSetState ( const unsigned int cell3DIndex,
const bool state 
)
inlinevirtual

Set the Cell3D state.

Parameters
cell3DIndexthe index of Cell3D from 0 to Cell3DTotalNumber()
statetrue if Cell3D is active, false otherwise

Implements Gedim::IMeshDAO.

◆ Cell3DsFaces()

std::vector< std::vector< unsigned int > > Gedim::MeshMatricesDAO::Cell3DsFaces ( ) const
virtual
Returns
the Cell2D index collections of all Cell3Ds, size Cell3DTotalNumber() x Cell3DNumberFaces(cell3DIndex)

Implements Gedim::IMeshDAO.

◆ Cell3DsFacesVertices()

std::vector< std::vector< std::vector< unsigned int > > > Gedim::MeshMatricesDAO::Cell3DsFacesVertices ( ) const
virtual
Returns
the Cell0D index collections of all the faces of all Cell3Ds, size Cell3DTotalNumber() x Cell3DNumberFaces(cell3DIndex) x Cell2DNumberVertices(cell2DIndex)

Implements Gedim::IMeshDAO.

◆ Cell3DsInitialize()

void Gedim::MeshMatricesDAO::Cell3DsInitialize ( const unsigned int numberCell3Ds)
virtual

Initialize the Cell3Ds container.

Parameters
numberCell3Dsthe total number of Cell3Ds
Note
No reset of Cell3Ds is performed

Implements Gedim::IMeshDAO.

◆ Cell3DsInitializeDoublePropertyValues()

void Gedim::MeshMatricesDAO::Cell3DsInitializeDoublePropertyValues ( const unsigned int propertyIndex,
const std::vector< unsigned int > &  porpertySizes 
)
inlinevirtual

Initialize the Cell3Ds double property sizes.

Parameters
propertyIndexthe index of Cell3D double property from 0 to Cell3DNumberProperties()
porpertySizethe double property size of each Cell3D, size 1 x Cell3DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell3DsInitializeEdges()

void Gedim::MeshMatricesDAO::Cell3DsInitializeEdges ( const std::vector< unsigned int > &  numberCell3DsEdges)
inlinevirtual

Initialize the Cell3Ds edges number.

Parameters
numberCell3DsEdgesthe number of edges of each Cell3D

Implements Gedim::IMeshDAO.

◆ Cell3DsInitializeFaces()

void Gedim::MeshMatricesDAO::Cell3DsInitializeFaces ( const std::vector< unsigned int > &  numberCell3DsFaces)
inlinevirtual

Initialize the Cell3Ds faces number.

Parameters
numberCell3DsFacesthe number of faces of each Cell3D

Implements Gedim::IMeshDAO.

◆ Cell3DsInitializeVertices()

void Gedim::MeshMatricesDAO::Cell3DsInitializeVertices ( const std::vector< unsigned int > &  numberCell3DsVertices)
inlinevirtual

Initialize the Cell3Ds vertices number.

Parameters
numberCell3DsVerticesthe number of vertices of each Cell3D

Implements Gedim::IMeshDAO.

◆ Cell3DsMarker()

std::vector< unsigned int > Gedim::MeshMatricesDAO::Cell3DsMarker ( ) const
inlinevirtual

Implements Gedim::IMeshDAO.

◆ Cell3DsState()

std::vector< bool > Gedim::MeshMatricesDAO::Cell3DsState ( ) const
inlinevirtual
Returns
the activation state of all cell3Ds

Implements Gedim::IMeshDAO.

◆ Cell3DsVertices()

std::vector< std::vector< unsigned int > > Gedim::MeshMatricesDAO::Cell3DsVertices ( ) const
virtual
Returns
the Cell0D index collections of all Cell3Ds, size Cell3DTotalNumber() x Cell3DNumberVertices(cell3DIndex)

Implements Gedim::IMeshDAO.

◆ Cell3DTotalNumber()

unsigned int Gedim::MeshMatricesDAO::Cell3DTotalNumber ( ) const
inlinevirtual
Returns
the total number of Cell3Ds

Implements Gedim::IMeshDAO.

◆ Cell3DUpdatedCell3Ds()

bool Gedim::MeshMatricesDAO::Cell3DUpdatedCell3Ds ( const unsigned int cell3DIndex,
std::list< unsigned int > &  updatedCell3DIds 
) const
virtual

return the updated Cell3D Ids for cell3DIndex

Parameters
cell3DIndexthe index of Cell3D from 0 to Cell3DTotalNumber()
updatedCell3DIdsthe list of the new Cell3D Ids associated to cell3DIndex
Returns
true if the cell3DIndex is contained in the updatedCell3DIds list, false otherwise

Implements Gedim::IMeshDAO.

◆ Cell3DVertex()

unsigned int Gedim::MeshMatricesDAO::Cell3DVertex ( const unsigned int cell3DIndex,
const unsigned int vertexIndex 
) const
inlinevirtual
Parameters
cell3DIndexthe index of cell3D from 0 to Cell3DTotalNumber()
vertexIndexthe index of cell0D vertex from 0 to NumberCell3DVertices(cell3DIndex)
Returns
the Cell0D index of vertex of Cell3D from 0 to Cell0DTotalNumber()

Implements Gedim::IMeshDAO.

◆ Cell3DVertexCoordinates()

Eigen::Vector3d Gedim::MeshMatricesDAO::Cell3DVertexCoordinates ( const unsigned int cell3DIndex,
const unsigned int vertexIndex 
) const
inlinevirtual
Parameters
cell3DIndexthe index of cell3D from 0 to Cell3DTotalNumber()
vertexIndexthe index of cell0D vertex from 0 to NumberCell3DVertices(cell3DIndex)
Returns
the Cell0D coordinates of vertex of Cell3D, size 3 x 1

Implements Gedim::IMeshDAO.

◆ Cell3DVertices()

std::vector< unsigned int > Gedim::MeshMatricesDAO::Cell3DVertices ( const unsigned int cell3DIndex) const
virtual
Parameters
cell3DIndexthe index of cell3D from 0 to Cell3DTotalNumber()
Returns
the Cell0D index collections of Cell3D from 0 to Cell0DTotalNumber(), size Cell3DNumberVertices(cell3DIndex)

Implements Gedim::IMeshDAO.

◆ Cell3DVerticesCoordinates()

MatrixXd Gedim::MeshMatricesDAO::Cell3DVerticesCoordinates ( const unsigned int cell3DIndex) const
virtual
Parameters
cell3DIndexthe index of cell3D from 0 to Cell3DTotalNumber()
Returns
the Cell0D coordinates of all the vertices of Cell3D, size 3 x NumberCell3DVertices(cell3DIndex)

Implements Gedim::IMeshDAO.

◆ Compress()

void Gedim::MeshMatricesDAO::Compress ( )
virtual

Compact the mesh to save memory.

Implements Gedim::IMeshDAO.

◆ Dimension()

unsigned int Gedim::MeshMatricesDAO::Dimension ( ) const
inlinevirtual
Returns
the geometric dimension of the mesh

Implements Gedim::IMeshDAO.

◆ InitializeDimension()

void Gedim::MeshMatricesDAO::InitializeDimension ( const unsigned int dimension)
inlinevirtual

Initialize the mesh dimension.

Implements Gedim::IMeshDAO.

◆ MeshData() [1/2]

Gedim::MeshMatrices & Gedim::MeshMatricesDAO::MeshData ( )
inline

◆ MeshData() [2/2]

const Gedim::MeshMatrices & Gedim::MeshMatricesDAO::MeshData ( ) const
inline

◆ ResizeNumberVectorWithNewNumberElements()

template<typename T >
void Gedim::MeshMatricesDAO::ResizeNumberVectorWithNewNumberElements ( vector< unsigned int > &  numberElementVector,
vector< T > &  elementVector,
const unsigned int numberElements,
const unsigned int vectorIndex,
const unsigned int newNumberElements,
const T newElementInitialization 
)

◆ ToString()

string Gedim::MeshMatricesDAO::ToString ( )
virtual
Returns
The mesh converted to string

Implements Gedim::IMeshDAO.


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