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

The IMeshDAO (mesh data access object) class to read and write mesh data. More...

#include <IMeshDAO.hpp>

Inheritance diagram for Gedim::IMeshDAO:
[legend]

Public Member Functions

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

Detailed Description

The IMeshDAO (mesh data access object) class to read and write mesh data.

Constructor & Destructor Documentation

◆ ~IMeshDAO()

virtual Gedim::IMeshDAO::~IMeshDAO ( )
inlinevirtual

Member Function Documentation

◆ Cell0DAddDoubleProperty()

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

Add the Cell0Ds double property identified by id.

Parameters
propertyIdthe id of Cell0Ds property
Returns
the double property position

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DAppend()

virtual unsigned int Gedim::IMeshDAO::Cell0DAppend ( const unsigned int numberCell0Ds)
pure virtual

Append Cell0Ds to the Cell0Ds container.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DCoordinates()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DCoordinateX()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DCoordinateY()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DCoordinateZ()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DDoublePropertyExists()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DDoublePropertyId()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DDoublePropertyIndex()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DDoublePropertySize()

virtual unsigned int Gedim::IMeshDAO::Cell0DDoublePropertySize ( const unsigned int cell0DIndex,
const unsigned int propertyIndex 
) const
pure virtual
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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DDoublePropertyValue()

virtual double Gedim::IMeshDAO::Cell0DDoublePropertyValue ( const unsigned int cell0DIndex,
const unsigned int propertyIndex,
const unsigned int propertyValueIndex 
) const
pure virtual
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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DHasNeighbourCell1D()

virtual bool Gedim::IMeshDAO::Cell0DHasNeighbourCell1D ( const unsigned int cell0DIndex,
const unsigned int neighbourIndex 
) const
pure virtual
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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DHasNeighbourCell2D()

virtual bool Gedim::IMeshDAO::Cell0DHasNeighbourCell2D ( const unsigned int cell0DIndex,
const unsigned int neighbourIndex 
) const
pure virtual
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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DHasNeighbourCell3D()

virtual bool Gedim::IMeshDAO::Cell0DHasNeighbourCell3D ( const unsigned int cell0DIndex,
const unsigned int neighbourIndex 
) const
pure virtual
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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DHasUpdatedCell0D()

virtual bool Gedim::IMeshDAO::Cell0DHasUpdatedCell0D ( const unsigned int cell0DIndex,
const unsigned int updatedCell0DIdex 
) const
pure virtual
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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DHasUpdatedCell0Ds()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DInitializeDoubleProperties()

virtual void Gedim::IMeshDAO::Cell0DInitializeDoubleProperties ( const unsigned int numberDoubleProperties)
pure virtual

Initialize the Cell0Ds double properties.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DInitializeDoublePropertyValues()

virtual void Gedim::IMeshDAO::Cell0DInitializeDoublePropertyValues ( const unsigned int cell0DIndex,
const unsigned int propertyIndex,
const unsigned int porpertySize 
)
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DInitializeNeighbourCell1Ds() [1/2]

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DInitializeNeighbourCell1Ds() [2/2]

virtual void Gedim::IMeshDAO::Cell0DInitializeNeighbourCell1Ds ( const unsigned int cell0DIndex,
const unsigned int numberNeighbourCell1Ds 
)
pure virtual

Initialize the Cell0D Cell1D neighbours number.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DInitializeNeighbourCell2Ds() [1/2]

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DInitializeNeighbourCell2Ds() [2/2]

virtual void Gedim::IMeshDAO::Cell0DInitializeNeighbourCell2Ds ( const unsigned int cell0DIndex,
const unsigned int numberNeighbourCell2Ds 
)
pure virtual

Initialize the Cell0D Cell2D neighbours number.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DInitializeNeighbourCell3Ds() [1/2]

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DInitializeNeighbourCell3Ds() [2/2]

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

Initialize the Cell0D Cell3D neighbours number.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DInsertCoordinates()

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

Add the Cell0D Coordinates.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DInsertDoublePropertyValue()

virtual void Gedim::IMeshDAO::Cell0DInsertDoublePropertyValue ( const unsigned int cell0DIndex,
const unsigned int propertyIndex,
const unsigned int propertyValueIndex,
const double propertyValue 
)
pure virtual

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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DInsertNeighbourCell1D()

virtual void Gedim::IMeshDAO::Cell0DInsertNeighbourCell1D ( const unsigned int cell0DIndex,
const unsigned int neighbourIndex,
const unsigned int neigbourCell1DIndex 
)
pure virtual

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DInsertNeighbourCell2D()

virtual void Gedim::IMeshDAO::Cell0DInsertNeighbourCell2D ( const unsigned int cell0DIndex,
const unsigned int neighbourIndex,
const unsigned int neigbourCell2DIndex 
)
pure virtual

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DInsertNeighbourCell3D()

virtual void Gedim::IMeshDAO::Cell0DInsertNeighbourCell3D ( const unsigned int cell0DIndex,
const unsigned int neighbourIndex,
const unsigned int neigbourCell3DIndex 
)
pure virtual

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DInsertUpdatedCell0D()

virtual void Gedim::IMeshDAO::Cell0DInsertUpdatedCell0D ( const unsigned int cell0DIndex,
const unsigned int updatedCell0DIdex 
)
pure 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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DIsActive()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DMarker()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DNeighbourCell1D()

virtual unsigned int Gedim::IMeshDAO::Cell0DNeighbourCell1D ( const unsigned int cell0DIndex,
const unsigned int neighbourIndex 
) const
pure virtual
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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DNeighbourCell1Ds()

virtual std::vector< unsigned int > Gedim::IMeshDAO::Cell0DNeighbourCell1Ds ( const unsigned int cell0DIndex) const
pure virtual

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DNeighbourCell2D()

virtual unsigned int Gedim::IMeshDAO::Cell0DNeighbourCell2D ( const unsigned int cell0DIndex,
const unsigned int neighbourIndex 
) const
pure virtual
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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DNeighbourCell2Ds()

virtual std::vector< unsigned int > Gedim::IMeshDAO::Cell0DNeighbourCell2Ds ( const unsigned int cell0DIndex) const
pure virtual

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DNeighbourCell3D()

virtual unsigned int Gedim::IMeshDAO::Cell0DNeighbourCell3D ( const unsigned int cell0DIndex,
const unsigned int neighbourIndex 
) const
pure virtual
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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DNeighbourCell3Ds()

virtual std::vector< unsigned int > Gedim::IMeshDAO::Cell0DNeighbourCell3Ds ( const unsigned int cell0DIndex) const
pure virtual

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DNumberDoubleProperties()

virtual unsigned int Gedim::IMeshDAO::Cell0DNumberDoubleProperties ( ) const
pure virtual
Returns
the total number of double properties of Cell0Ds

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DNumberNeighbourCell1D()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DNumberNeighbourCell2D()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DNumberNeighbourCell3D()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DNumberUpdatedCell0Ds()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DRemove()

virtual void Gedim::IMeshDAO::Cell0DRemove ( const unsigned int cell0DIndex)
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DResetNeighbourCell1D()

virtual void Gedim::IMeshDAO::Cell0DResetNeighbourCell1D ( const unsigned int cell0DIndex,
const unsigned int neighbourIndex 
)
pure virtual

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)

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DResetNeighbourCell2D()

virtual void Gedim::IMeshDAO::Cell0DResetNeighbourCell2D ( const unsigned int cell0DIndex,
const unsigned int neighbourIndex 
)
pure virtual

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)

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DResetNeighbourCell3D()

virtual void Gedim::IMeshDAO::Cell0DResetNeighbourCell3D ( const unsigned int cell0DIndex,
const unsigned int neighbourIndex 
)
pure virtual

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)

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DsCoordinates() [1/2]

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DsCoordinates() [2/2]

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DSetMarker()

virtual void Gedim::IMeshDAO::Cell0DSetMarker ( const unsigned int cell0DIndex,
const unsigned int marker 
)
pure virtual

Set the Cell0D Marker.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DSetState()

virtual void Gedim::IMeshDAO::Cell0DSetState ( const unsigned int cell0DIndex,
const bool state 
)
pure virtual

Set the Cell0D state.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DsInitialize()

virtual void Gedim::IMeshDAO::Cell0DsInitialize ( const unsigned int numberCell0Ds)
pure virtual

Initialize the Cell0Ds container.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DsInitializeDoublePropertyValues()

virtual void Gedim::IMeshDAO::Cell0DsInitializeDoublePropertyValues ( const unsigned int propertyIndex,
const std::vector< unsigned int > &  porpertySizes 
)
pure virtual

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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DsInitializeNeighbourCell1Ds()

virtual void Gedim::IMeshDAO::Cell0DsInitializeNeighbourCell1Ds ( const std::vector< unsigned int > &  numbersNeighbourCell1Ds)
pure virtual

Initialize the Cell0Ds Cell1D neighbours number.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DsInitializeNeighbourCell2Ds()

virtual void Gedim::IMeshDAO::Cell0DsInitializeNeighbourCell2Ds ( const std::vector< unsigned int > &  numbersNeighbourCell2Ds)
pure virtual

Initialize the Cell0Ds Cell2D neighbours number.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DsInitializeNeighbourCell3Ds()

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

Initialize the Cell0Ds Cell3D neighbours number.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DsInsertCoordinates()

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

Add the Cell0Ds Coordinates.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DsMarker()

virtual std::vector< unsigned int > Gedim::IMeshDAO::Cell0DsMarker ( ) const
pure virtual

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DsNeighbourCell1Ds()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DsNeighbourCell2Ds()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DsNeighbourCell3Ds()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DsState()

virtual std::vector< bool > Gedim::IMeshDAO::Cell0DsState ( ) const
pure virtual
Returns
the activation state of all cell0Ds

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DTotalNumber()

virtual unsigned int Gedim::IMeshDAO::Cell0DTotalNumber ( ) const
pure virtual
Returns
the total number of Cell0Ds

Implemented in Gedim::MeshMatricesDAO.

◆ Cell0DUpdatedCell0Ds()

virtual bool Gedim::IMeshDAO::Cell0DUpdatedCell0Ds ( const unsigned int cell0DIndex,
std::list< unsigned int > &  updatedCell0DIds 
) const
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DAddDoubleProperty()

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

Add the Cell1Ds double property identified by id.

Parameters
propertyIdthe id of Cell1Ds property
Returns
the double property position

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DAppend()

virtual unsigned int Gedim::IMeshDAO::Cell1DAppend ( const unsigned int numberCell1Ds)
pure virtual

Append Cell1Ds to the Cell1Ds container.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DByExtremes()

virtual unsigned int Gedim::IMeshDAO::Cell1DByExtremes ( const unsigned int originCell0DIndex,
const unsigned int endCell0DIndex 
) const
pure 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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DCoordinates()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DDoublePropertyExists()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DDoublePropertyId()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DDoublePropertyIndex()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DDoublePropertySize()

virtual unsigned int Gedim::IMeshDAO::Cell1DDoublePropertySize ( const unsigned int cell1DIndex,
const unsigned int propertyIndex 
) const
pure virtual
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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DDoublePropertyValue()

virtual double Gedim::IMeshDAO::Cell1DDoublePropertyValue ( const unsigned int cell1DIndex,
const unsigned int propertyIndex,
const unsigned int propertyValueIndex 
) const
pure virtual
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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DEnd()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DEndCoordinates()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DExtremes()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DFindExtreme()

virtual unsigned int Gedim::IMeshDAO::Cell1DFindExtreme ( const unsigned int cell1DIndex,
const unsigned int cell0DIndex 
) const
pure virtual
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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DHasNeighbourCell2D()

virtual bool Gedim::IMeshDAO::Cell1DHasNeighbourCell2D ( const unsigned int cell1DIndex,
const unsigned int neighbourIndex 
) const
pure virtual
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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DHasNeighbourCell3D()

virtual bool Gedim::IMeshDAO::Cell1DHasNeighbourCell3D ( const unsigned int cell1DIndex,
const unsigned int neighbourIndex 
) const
pure virtual
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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DHasOriginalCell1D()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DHasUpdatedCell1D()

virtual bool Gedim::IMeshDAO::Cell1DHasUpdatedCell1D ( const unsigned int cell1DIndex,
const unsigned int updatedCell1DIdex 
) const
pure virtual
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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DHasUpdatedCell1Ds()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DInitializeDoubleProperties()

virtual void Gedim::IMeshDAO::Cell1DInitializeDoubleProperties ( const unsigned int numberDoubleProperties)
pure virtual

Initialize the Cell1Ds double properties.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DInitializeDoublePropertyValues()

virtual void Gedim::IMeshDAO::Cell1DInitializeDoublePropertyValues ( const unsigned int cell1DIndex,
const unsigned int propertyIndex,
const unsigned int porpertySize 
)
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DInitializeNeighbourCell2Ds() [1/2]

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DInitializeNeighbourCell2Ds() [2/2]

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

Initialize the Cell1D Cell2D neighbours number.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DInitializeNeighbourCell3Ds() [1/2]

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DInitializeNeighbourCell3Ds() [2/2]

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

Initialize the Cell1D Cell3D neighbours number.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DInsertDoublePropertyValue()

virtual void Gedim::IMeshDAO::Cell1DInsertDoublePropertyValue ( const unsigned int cell1DIndex,
const unsigned int propertyIndex,
const unsigned int propertyValueIndex,
const double propertyValue 
)
pure virtual

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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DInsertExtremes()

virtual void Gedim::IMeshDAO::Cell1DInsertExtremes ( const unsigned int cell1DIndex,
const unsigned int originCell0DIndex,
const unsigned int endCell0DIndex 
)
pure 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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DInsertNeighbourCell2D()

virtual void Gedim::IMeshDAO::Cell1DInsertNeighbourCell2D ( const unsigned int cell1DIndex,
const unsigned int neighbourIndex,
const unsigned int neigbourCell2DIndex 
)
pure virtual

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DInsertNeighbourCell3D()

virtual void Gedim::IMeshDAO::Cell1DInsertNeighbourCell3D ( const unsigned int cell1DIndex,
const unsigned int neighbourIndex,
const unsigned int neigbourCell3DIndex 
)
pure virtual

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DInsertUpdatedCell1D()

virtual void Gedim::IMeshDAO::Cell1DInsertUpdatedCell1D ( const unsigned int cell1DIndex,
const unsigned int updatedCell1DIdex 
)
pure 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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DIsActive()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DMarker()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DNeighbourCell2D()

virtual unsigned int Gedim::IMeshDAO::Cell1DNeighbourCell2D ( const unsigned int cell1DIndex,
const unsigned int neighbourIndex 
) const
pure virtual
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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DNeighbourCell2Ds()

virtual std::vector< unsigned int > Gedim::IMeshDAO::Cell1DNeighbourCell2Ds ( const unsigned int cell1DIndex) const
inlinepure virtual

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DNeighbourCell3D()

virtual unsigned int Gedim::IMeshDAO::Cell1DNeighbourCell3D ( const unsigned int cell1DIndex,
const unsigned int neighbourIndex 
) const
pure virtual
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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DNeighbourCell3Ds()

virtual std::vector< unsigned int > Gedim::IMeshDAO::Cell1DNeighbourCell3Ds ( const unsigned int cell1DIndex) const
pure virtual

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DNumberDoubleProperties()

virtual unsigned int Gedim::IMeshDAO::Cell1DNumberDoubleProperties ( ) const
pure virtual
Returns
the total number of double properties of Cell1Ds

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DNumberNeighbourCell2D()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DNumberNeighbourCell3D()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DNumberUpdatedCell1Ds()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DOrigin()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DOriginalCell1D()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DOriginCoordinates()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DRemove()

virtual void Gedim::IMeshDAO::Cell1DRemove ( const unsigned int cell1DIndex)
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DResetNeighbourCell2D()

virtual void Gedim::IMeshDAO::Cell1DResetNeighbourCell2D ( const unsigned int cell1DIndex,
const unsigned int neighbourIndex 
)
pure virtual

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)

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DResetNeighbourCell3D()

virtual void Gedim::IMeshDAO::Cell1DResetNeighbourCell3D ( const unsigned int cell1DIndex,
const unsigned int neighbourIndex 
)
pure virtual

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)

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DSetMarker()

virtual void Gedim::IMeshDAO::Cell1DSetMarker ( const unsigned int cell1DIndex,
const unsigned int marker 
)
pure virtual

Set the Cell1D Marker.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DSetState()

virtual void Gedim::IMeshDAO::Cell1DSetState ( const unsigned int cell1DIndex,
const bool state 
)
pure virtual

Set the Cell1D state.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DsExtremes() [1/2]

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DsExtremes() [2/2]

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DsInitialize()

virtual void Gedim::IMeshDAO::Cell1DsInitialize ( const unsigned int numberCell1Ds)
pure virtual

Initialize the Cell1Ds container.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DsInitializeDoublePropertyValues()

virtual void Gedim::IMeshDAO::Cell1DsInitializeDoublePropertyValues ( const unsigned int propertyIndex,
const std::vector< unsigned int > &  porpertySizes 
)
pure virtual

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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DsInitializeNeighbourCell2Ds() [1/2]

virtual void Gedim::IMeshDAO::Cell1DsInitializeNeighbourCell2Ds ( const std::vector< unsigned int > &  numbersNeighbourCell2Ds)
pure virtual

Initialize the Cell1Ds Cell2D neighbours number.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DsInitializeNeighbourCell2Ds() [2/2]

virtual void Gedim::IMeshDAO::Cell1DsInitializeNeighbourCell2Ds ( const unsigned int numberNeighbourCell2Ds)
pure virtual

Initialize the Cell1Ds Cell2D neighbours number.

Parameters
numberNeighbourCell2Dsthe number of Cell2D neighbours of the Cell1D

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DsInitializeNeighbourCell3Ds()

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

Initialize the Cell1Ds Cell3D neighbours number.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DsInsertExtremes()

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

Set the Cell1D Extremes for the whole mesh edges.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DsMarker()

virtual std::vector< unsigned int > Gedim::IMeshDAO::Cell1DsMarker ( ) const
pure virtual

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DsNeighbourCell2Ds()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DsNeighbourCell3Ds()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DsState()

virtual std::vector< bool > Gedim::IMeshDAO::Cell1DsState ( ) const
pure virtual
Returns
the activation state of all cell1Ds

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DTotalNumber()

virtual unsigned int Gedim::IMeshDAO::Cell1DTotalNumber ( ) const
pure virtual
Returns
the total number of Cell1Ds

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DUpdatedCell1Ds()

virtual bool Gedim::IMeshDAO::Cell1DUpdatedCell1Ds ( const unsigned int cell1DIndex,
std::list< unsigned int > &  updatedCell1DIds 
) const
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell1DVertex()

virtual unsigned int Gedim::IMeshDAO::Cell1DVertex ( const unsigned int cell1DIndex,
const unsigned int vertexIndex 
) const
pure virtual
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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DAddDoubleProperty()

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

Add the Cell2Ds double property identified by id.

Parameters
propertyIdthe id of Cell2Ds property
Returns
the double property position

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DAddEdges()

virtual void Gedim::IMeshDAO::Cell2DAddEdges ( const unsigned int cell2DIndex,
const std::vector< unsigned int > &  edgesCell1DIndices 
)
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DAddVertices()

virtual void Gedim::IMeshDAO::Cell2DAddVertices ( const unsigned int cell2DIndex,
const std::vector< unsigned int > &  verticesCell0DIndices 
)
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DAddVerticesAndEdges()

virtual void Gedim::IMeshDAO::Cell2DAddVerticesAndEdges ( const unsigned int cell2DIndex,
const Eigen::MatrixXi &  verticesAndEdgesIndices 
)
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DAppend()

virtual unsigned int Gedim::IMeshDAO::Cell2DAppend ( const unsigned int numberCell2Ds)
pure virtual

Append Cell2Ds to the Cell2Ds container.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DDoublePropertyExists()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DDoublePropertyId()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DDoublePropertyIndex()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DDoublePropertySize()

virtual unsigned int Gedim::IMeshDAO::Cell2DDoublePropertySize ( const unsigned int cell2DIndex,
const unsigned int propertyIndex 
) const
pure virtual
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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DDoublePropertyValue()

virtual double Gedim::IMeshDAO::Cell2DDoublePropertyValue ( const unsigned int cell2DIndex,
const unsigned int propertyIndex,
const unsigned int propertyValueIndex 
) const
pure virtual
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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DEdge()

virtual unsigned int Gedim::IMeshDAO::Cell2DEdge ( const unsigned int cell2DIndex,
const unsigned int edgeIndex 
) const
pure virtual
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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DEdges()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DFindEdge()

virtual unsigned int Gedim::IMeshDAO::Cell2DFindEdge ( const unsigned int cell2DIndex,
const unsigned int cell1DIndex 
) const
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DFindEdgeByExtremes()

virtual unsigned int Gedim::IMeshDAO::Cell2DFindEdgeByExtremes ( const unsigned int cell2DIndex,
const unsigned int originCell0DIndex,
const unsigned int endCell0DIndex 
) const
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DFindVertex()

virtual unsigned int Gedim::IMeshDAO::Cell2DFindVertex ( const unsigned int cell2DIndex,
const unsigned int cell0DIndex 
) const
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DHasNeighbourCell3D()

virtual bool Gedim::IMeshDAO::Cell2DHasNeighbourCell3D ( const unsigned int cell2DIndex,
const unsigned int neighbourIndex 
) const
pure virtual
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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DHasOriginalCell2D()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DHasUpdatedCell2D()

virtual bool Gedim::IMeshDAO::Cell2DHasUpdatedCell2D ( const unsigned int cell2DIndex,
const unsigned int updatedCell2DIndex 
) const
pure virtual
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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DHasUpdatedCell2Ds()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DInitializeDoubleProperties()

virtual void Gedim::IMeshDAO::Cell2DInitializeDoubleProperties ( const unsigned int numberDoubleProperties)
pure virtual

Initialize the Cell2Ds double properties.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DInitializeDoublePropertyValues()

virtual void Gedim::IMeshDAO::Cell2DInitializeDoublePropertyValues ( const unsigned int cell2DIndex,
const unsigned int propertyIndex,
const unsigned int porpertySize 
)
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DInitializeEdges()

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

Initialize the Cell2D edges number.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DInitializeNeighbourCell3Ds() [1/2]

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DInitializeNeighbourCell3Ds() [2/2]

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

Initialize the Cell2D Cell3D neighbours number.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DInitializeSubDivision()

virtual void Gedim::IMeshDAO::Cell2DInitializeSubDivision ( const unsigned int cell2DIndex,
const unsigned int numberSubDivision 
)
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DInitializeVertices()

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

Initialize the Cell2D vertices number.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DInsertDoublePropertyValue()

virtual void Gedim::IMeshDAO::Cell2DInsertDoublePropertyValue ( const unsigned int cell2DIndex,
const unsigned int propertyIndex,
const unsigned int propertyValueIndex,
const double propertyValue 
)
pure virtual

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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DInsertEdge()

virtual void Gedim::IMeshDAO::Cell2DInsertEdge ( const unsigned int cell2DIndex,
const unsigned int edgeIndex,
const unsigned int edgeCell1DIndex 
)
pure virtual

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DInsertEdges()

virtual void Gedim::IMeshDAO::Cell2DInsertEdges ( const unsigned int cell2DIndex,
const std::vector< unsigned int > &  edgesCell1DIndices 
)
pure virtual

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DInsertNeighbourCell3D()

virtual void Gedim::IMeshDAO::Cell2DInsertNeighbourCell3D ( const unsigned int cell2DIndex,
const unsigned int neighbourIndex,
const unsigned int neigbourCell3DIndex 
)
pure virtual

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DInsertSubDivision()

virtual void Gedim::IMeshDAO::Cell2DInsertSubDivision ( const unsigned int cell2DIndex,
const unsigned int subDivisionIndex,
const unsigned int cell2DVertexIndex 
)
pure virtual

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DInsertUpdatedCell2D()

virtual void Gedim::IMeshDAO::Cell2DInsertUpdatedCell2D ( const unsigned int cell2DIndex,
const unsigned int updatedCell2DIdex 
)
pure 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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DInsertVertex()

virtual void Gedim::IMeshDAO::Cell2DInsertVertex ( const unsigned int cell2DIndex,
const unsigned int vertexIndex,
const unsigned int vertexCell0DIndex 
)
pure virtual

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DInsertVertices()

virtual void Gedim::IMeshDAO::Cell2DInsertVertices ( const unsigned int cell2DIndex,
const std::vector< unsigned int > &  verticesCell0DIndices 
)
pure virtual

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DIsActive()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DMarker()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DNeighbourCell3D()

virtual unsigned int Gedim::IMeshDAO::Cell2DNeighbourCell3D ( const unsigned int cell2DIndex,
const unsigned int neighbourIndex 
) const
pure virtual
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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DNeighbourCell3Ds()

virtual std::vector< unsigned int > Gedim::IMeshDAO::Cell2DNeighbourCell3Ds ( const unsigned int cell2DIndex) const
pure virtual

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DNumberDoubleProperties()

virtual unsigned int Gedim::IMeshDAO::Cell2DNumberDoubleProperties ( ) const
pure virtual
Returns
the total number of double properties of Cell2Ds

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DNumberEdges()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DNumberNeighbourCell3D()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DNumberSubDivision()

virtual unsigned int Gedim::IMeshDAO::Cell2DNumberSubDivision ( const unsigned int cell2DIndex) const
pure virtual
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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DNumberUpdatedCell2Ds()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DNumberVertices()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DOriginalCell2D()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DRemove()

virtual void Gedim::IMeshDAO::Cell2DRemove ( const unsigned int cell2DIndex)
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DResetNeighbourCell3D()

virtual void Gedim::IMeshDAO::Cell2DResetNeighbourCell3D ( const unsigned int cell2DIndex,
const unsigned int neighbourIndex 
)
pure virtual

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)

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DSetMarker()

virtual void Gedim::IMeshDAO::Cell2DSetMarker ( const unsigned int cell2DIndex,
const unsigned int marker 
)
pure virtual

Set the Cell2D Marker.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DSetState()

virtual void Gedim::IMeshDAO::Cell2DSetState ( const unsigned int cell2DIndex,
const bool state 
)
pure virtual

Set the Cell1D state.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DsExtremes()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DsInitialize()

virtual void Gedim::IMeshDAO::Cell2DsInitialize ( const unsigned int numberCell2Ds)
pure virtual

Initialize the Cell2Ds container.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DsInitializeDoublePropertyValues()

virtual void Gedim::IMeshDAO::Cell2DsInitializeDoublePropertyValues ( const unsigned int propertyIndex,
const std::vector< unsigned int > &  porpertySizes 
)
pure virtual

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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DsInitializeEdges() [1/2]

virtual void Gedim::IMeshDAO::Cell2DsInitializeEdges ( const std::vector< unsigned int > &  numberCell2DsEdges)
pure virtual

Initialize the Cell2Ds edges number.

Parameters
numberCell2DsEdgesthe number of edges of each Cell2D

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DsInitializeEdges() [2/2]

virtual void Gedim::IMeshDAO::Cell2DsInitializeEdges ( const unsigned int numberCell2DEdges)
pure virtual

Initialize the Cell2Ds edges number.

Parameters
numberCell2DEdgesthe number of edges of all Cell2Ds

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DsInitializeNeighbourCell3Ds()

virtual void Gedim::IMeshDAO::Cell2DsInitializeNeighbourCell3Ds ( const std::vector< unsigned int > &  numbersNeighbourCell3Ds)
pure virtual

Initialize the Cell2Ds Cell3D neighbours number.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DsInitializeSubDivision()

virtual void Gedim::IMeshDAO::Cell2DsInitializeSubDivision ( const std::vector< unsigned int > &  numberSubDivisions)
pure virtual

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DsInitializeVertices() [1/2]

virtual void Gedim::IMeshDAO::Cell2DsInitializeVertices ( const std::vector< unsigned int > &  numberCell2DsVertices)
pure virtual

Initialize the Cell2Ds vertices number.

Parameters
numberCell2DsVerticesthe number of vertices of each Cell2D

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DsInitializeVertices() [2/2]

virtual void Gedim::IMeshDAO::Cell2DsInitializeVertices ( const unsigned int numberCell2DVertices)
pure virtual

Initialize the Cell2Ds vertices number.

Parameters
numberCell2DVerticesthe number of vertices of all Cell2Ds

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DsMarker()

virtual std::vector< unsigned int > Gedim::IMeshDAO::Cell2DsMarker ( ) const
pure virtual

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DsNeighbourCell3Ds()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DsState()

virtual std::vector< bool > Gedim::IMeshDAO::Cell2DsState ( ) const
pure virtual
Returns
the activation state of all cell2Ds

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DSubDivisionCell0D()

virtual unsigned int Gedim::IMeshDAO::Cell2DSubDivisionCell0D ( const unsigned int cell2DIndex,
const unsigned int subDivisionIndex 
) const
pure virtual
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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DsVertices()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DTotalNumber()

virtual unsigned int Gedim::IMeshDAO::Cell2DTotalNumber ( ) const
pure virtual
Returns
the total number of Cell2Ds

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DUpdatedCell2Ds()

virtual bool Gedim::IMeshDAO::Cell2DUpdatedCell2Ds ( const unsigned int cell2DIndex,
std::list< unsigned int > &  updatedCell2DIds 
) const
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DVertex()

virtual unsigned int Gedim::IMeshDAO::Cell2DVertex ( const unsigned int cell2DIndex,
const unsigned int vertexIndex 
) const
pure virtual
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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DVertexCoordinates()

virtual Eigen::Vector3d Gedim::IMeshDAO::Cell2DVertexCoordinates ( const unsigned int cell2DIndex,
const unsigned int vertexIndex 
) const
pure virtual
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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DVertices()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell2DVerticesCoordinates()

virtual Eigen::MatrixXd Gedim::IMeshDAO::Cell2DVerticesCoordinates ( const unsigned int cell2DIndex) const
pure 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)

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DAddDoubleProperty()

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

Add the Cell3Ds double property identified by id.

Parameters
propertyIdthe id of Cell3Ds property
Returns
the double property position

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DAddEdges()

virtual void Gedim::IMeshDAO::Cell3DAddEdges ( const unsigned int cell3DIndex,
const std::vector< unsigned int > &  edgesCell0DIndices 
)
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DAddFaces()

virtual void Gedim::IMeshDAO::Cell3DAddFaces ( const unsigned int cell3DIndex,
const std::vector< unsigned int > &  facesCell0DIndices 
)
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DAddVertices()

virtual void Gedim::IMeshDAO::Cell3DAddVertices ( const unsigned int cell3DIndex,
const std::vector< unsigned int > &  verticesCell0DIndices 
)
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DAppend()

virtual unsigned int Gedim::IMeshDAO::Cell3DAppend ( const unsigned int numberCell3Ds)
pure virtual

Append Cell3Ds to the Cell3Ds container.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DDoublePropertyExists()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DDoublePropertyId()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DDoublePropertyIndex()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DDoublePropertySize()

virtual unsigned int Gedim::IMeshDAO::Cell3DDoublePropertySize ( const unsigned int cell3DIndex,
const unsigned int propertyIndex 
) const
pure virtual
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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DDoublePropertyValue()

virtual double Gedim::IMeshDAO::Cell3DDoublePropertyValue ( const unsigned int cell3DIndex,
const unsigned int propertyIndex,
const unsigned int propertyValueIndex 
) const
pure virtual
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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DEdge()

virtual unsigned int Gedim::IMeshDAO::Cell3DEdge ( const unsigned int cell3DIndex,
const unsigned int edgeIndex 
) const
pure virtual
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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DEdges()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DFace()

virtual unsigned int Gedim::IMeshDAO::Cell3DFace ( const unsigned int cell3DIndex,
const unsigned int faceIndex 
) const
pure virtual
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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DFaces()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DFindEdge()

virtual unsigned int Gedim::IMeshDAO::Cell3DFindEdge ( const unsigned int cell3DIndex,
const unsigned int cell1DIndex 
) const
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DFindEdgeByExtremes()

virtual unsigned int Gedim::IMeshDAO::Cell3DFindEdgeByExtremes ( const unsigned int cell3DIndex,
const unsigned int originCell0DIndex,
const unsigned int endCell0DIndex 
) const
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DFindFace()

virtual unsigned int Gedim::IMeshDAO::Cell3DFindFace ( const unsigned int cell3DIndex,
const unsigned int cell2DIndex 
) const
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DFindVertex()

virtual unsigned int Gedim::IMeshDAO::Cell3DFindVertex ( const unsigned int cell3DIndex,
const unsigned int cell0DIndex 
) const
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DHasOriginalCell3D()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DHasUpdatedCell3D()

virtual bool Gedim::IMeshDAO::Cell3DHasUpdatedCell3D ( const unsigned int cell3DIndex,
const unsigned int updatedCell3DIdex 
) const
pure virtual
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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DHasUpdatedCell3Ds()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DInitializeDoubleProperties()

virtual void Gedim::IMeshDAO::Cell3DInitializeDoubleProperties ( const unsigned int numberDoubleProperties)
pure virtual

Initialize the Cell3Ds double properties.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DInitializeDoublePropertyValues()

virtual void Gedim::IMeshDAO::Cell3DInitializeDoublePropertyValues ( const unsigned int cell3DIndex,
const unsigned int propertyIndex,
const unsigned int porpertySize 
)
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DInitializeEdges()

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

Initialize the Cell3D edges number.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DInitializeFaces()

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

Initialize the Cell3D faces number.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DInitializeVertices()

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

Initialize the Cell3D vertices number.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DInsertDoublePropertyValue()

virtual void Gedim::IMeshDAO::Cell3DInsertDoublePropertyValue ( const unsigned int cell3DIndex,
const unsigned int propertyIndex,
const unsigned int propertyValueIndex,
const double propertyValue 
)
pure virtual

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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DInsertEdge()

virtual void Gedim::IMeshDAO::Cell3DInsertEdge ( const unsigned int cell3DIndex,
const unsigned int edgeIndex,
const unsigned int edgeCell1DIndex 
)
pure virtual

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DInsertEdges()

virtual void Gedim::IMeshDAO::Cell3DInsertEdges ( const unsigned int cell3DIndex,
const std::vector< unsigned int > &  edgesCell1DIndices 
)
pure virtual

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DInsertFace()

virtual void Gedim::IMeshDAO::Cell3DInsertFace ( const unsigned int cell3DIndex,
const unsigned int faceIndex,
const unsigned int faceCell2DIndex 
)
pure virtual

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DInsertFaces()

virtual void Gedim::IMeshDAO::Cell3DInsertFaces ( const unsigned int cell3DIndex,
const std::vector< unsigned int > &  facesCell2DIndices 
)
pure virtual

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DInsertUpdatedCell3D()

virtual void Gedim::IMeshDAO::Cell3DInsertUpdatedCell3D ( const unsigned int cell3DIndex,
const unsigned int updatedCell3DIdex 
)
pure 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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DInsertVertex()

virtual void Gedim::IMeshDAO::Cell3DInsertVertex ( const unsigned int cell3DIndex,
const unsigned int vertexIndex,
const unsigned int vertexCell0DIndex 
)
pure virtual

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DInsertVertices()

virtual void Gedim::IMeshDAO::Cell3DInsertVertices ( const unsigned int cell3DIndex,
const std::vector< unsigned int > &  verticesCell0DIndices 
)
pure virtual

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DIsActive()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DMarker()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DNumberDoubleProperties()

virtual unsigned int Gedim::IMeshDAO::Cell3DNumberDoubleProperties ( ) const
pure virtual
Returns
the total number of double properties of Cell3Ds

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DNumberEdges()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DNumberFaces()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DNumberUpdatedCell3Ds()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DNumberVertices()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DOriginalCell3D()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DRemove()

virtual void Gedim::IMeshDAO::Cell3DRemove ( const unsigned int cell3DIndex)
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DsEdges()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DSetMarker()

virtual void Gedim::IMeshDAO::Cell3DSetMarker ( const unsigned int cell3DIndex,
const unsigned int marker 
)
pure virtual

Set the Cell1D Marker.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DSetState()

virtual void Gedim::IMeshDAO::Cell3DSetState ( const unsigned int cell3DIndex,
const bool state 
)
pure virtual

Set the Cell3D state.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DsFaces()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DsFacesVertices()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DsInitialize()

virtual void Gedim::IMeshDAO::Cell3DsInitialize ( const unsigned int numberCell3Ds)
pure virtual

Initialize the Cell3Ds container.

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DsInitializeDoublePropertyValues()

virtual void Gedim::IMeshDAO::Cell3DsInitializeDoublePropertyValues ( const unsigned int propertyIndex,
const std::vector< unsigned int > &  porpertySizes 
)
pure virtual

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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DsInitializeEdges()

virtual void Gedim::IMeshDAO::Cell3DsInitializeEdges ( const std::vector< unsigned int > &  numberCell3DsEdges)
pure virtual

Initialize the Cell3Ds edges number.

Parameters
numberCell3DsEdgesthe number of edges of each Cell3D

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DsInitializeFaces()

virtual void Gedim::IMeshDAO::Cell3DsInitializeFaces ( const std::vector< unsigned int > &  numberCell3DsFaces)
pure virtual

Initialize the Cell3Ds faces number.

Parameters
numberCell3DsFacesthe number of faces of each Cell3D

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DsInitializeVertices()

virtual void Gedim::IMeshDAO::Cell3DsInitializeVertices ( const std::vector< unsigned int > &  numberCell3DsVertices)
pure virtual

Initialize the Cell3Ds vertices number.

Parameters
numberCell3DsVerticesthe number of vertices of each Cell3D

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DsMarker()

virtual std::vector< unsigned int > Gedim::IMeshDAO::Cell3DsMarker ( ) const
pure virtual

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DsState()

virtual std::vector< bool > Gedim::IMeshDAO::Cell3DsState ( ) const
pure virtual
Returns
the activation state of all cell3Ds

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DsVertices()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DTotalNumber()

virtual unsigned int Gedim::IMeshDAO::Cell3DTotalNumber ( ) const
pure virtual
Returns
the total number of Cell3Ds

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DUpdatedCell3Ds()

virtual bool Gedim::IMeshDAO::Cell3DUpdatedCell3Ds ( const unsigned int cell3DIndex,
std::list< unsigned int > &  updatedCell3DIds 
) const
pure 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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DVertex()

virtual unsigned int Gedim::IMeshDAO::Cell3DVertex ( const unsigned int cell3DIndex,
const unsigned int vertexIndex 
) const
pure virtual
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()

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DVertexCoordinates()

virtual Eigen::Vector3d Gedim::IMeshDAO::Cell3DVertexCoordinates ( const unsigned int cell3DIndex,
const unsigned int vertexIndex 
) const
pure virtual
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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DVertices()

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

Implemented in Gedim::MeshMatricesDAO.

◆ Cell3DVerticesCoordinates()

virtual Eigen::MatrixXd Gedim::IMeshDAO::Cell3DVerticesCoordinates ( const unsigned int cell3DIndex) const
pure 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)

Implemented in Gedim::MeshMatricesDAO.

◆ Compress()

virtual void Gedim::IMeshDAO::Compress ( )
pure virtual

Compact the mesh to save memory.

Implemented in Gedim::MeshMatricesDAO.

◆ Dimension()

virtual unsigned int Gedim::IMeshDAO::Dimension ( ) const
pure virtual
Returns
the geometric dimension of the mesh

Implemented in Gedim::MeshMatricesDAO.

◆ InitializeDimension()

virtual void Gedim::IMeshDAO::InitializeDimension ( const unsigned int dimension)
pure virtual

Initialize the mesh dimension.

Implemented in Gedim::MeshMatricesDAO.

◆ ToString()

virtual std::string Gedim::IMeshDAO::ToString ( )
pure virtual
Returns
The mesh converted to string

Implemented in Gedim::MeshMatricesDAO.


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