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

MeshImporterFromCsvUtilities. More...

#include <MeshFromCsvUtilities.hpp>

Classes

struct  Cell0D
 
struct  Cell0DNeighbours
 
struct  Cell1D
 
struct  Cell1DNeighbours
 
struct  Cell2D
 
struct  Cell2DNeighbours
 
struct  Cell2DSubDivision
 
struct  Cell3D
 
struct  CellDoubleProperty
 
struct  CellUpdatedCells
 
struct  Configuration
 

Public Member Functions

 MeshFromCsvUtilities ()
 
 ~MeshFromCsvUtilities ()
 
void ConvertMesh2D (const std::vector< Gedim::MeshFromCsvUtilities::Cell0D > &cell0Ds, const std::vector< Gedim::MeshFromCsvUtilities::Cell1D > &cell1Ds, const std::vector< Gedim::MeshFromCsvUtilities::Cell2D > &cell2Ds, Gedim::IMeshDAO &mesh) const
 Convert a 2D Mesh.
 
void ConvertCell0Ds (const std::vector< Gedim::MeshFromCsvUtilities::Cell0D > cell0Ds, Gedim::IMeshDAO &mesh) const
 Convert the imported Cell0Ds to mesh.
 
void ConvertCell1Ds (const std::vector< Gedim::MeshFromCsvUtilities::Cell1D > cell1Ds, Gedim::IMeshDAO &mesh) const
 Convert the imported Cell1Ds to mesh.
 
void ConvertCell2Ds (const std::vector< Gedim::MeshFromCsvUtilities::Cell2D > cell2Ds, Gedim::IMeshDAO &mesh) const
 Convert the imported Cell2Ds to mesh.
 
void ConvertCell3Ds (const std::vector< Gedim::MeshFromCsvUtilities::Cell3D > cell3Ds, Gedim::IMeshDAO &mesh) const
 Convert the imported Cell3Ds to mesh.
 
void ConvertCell0DNeighbours (const std::vector< Gedim::MeshFromCsvUtilities::Cell0DNeighbours > cell0DNeighbours, Gedim::IMeshDAO &mesh) const
 Convert the imported Cell0D neighbours to mesh.
 
void ConvertCell1DNeighbours (const std::vector< Gedim::MeshFromCsvUtilities::Cell1DNeighbours > cell1DNeighbours, Gedim::IMeshDAO &mesh) const
 Convert the imported Cell1D neighbours to mesh.
 
void ConvertCell2DNeighbours (const std::vector< Gedim::MeshFromCsvUtilities::Cell2DNeighbours > cell2DNeighbours, Gedim::IMeshDAO &mesh) const
 Convert the imported Cell2D neighbours to mesh.
 
void ConvertCell2DSubDivisions (const std::vector< Gedim::MeshFromCsvUtilities::Cell2DSubDivision > cell2DSubDivisions, Gedim::IMeshDAO &mesh) const
 Convert the imported Cell2D subdivision to mesh.
 
void ConvertCell0DDoubleProperties (const std::vector< Gedim::MeshFromCsvUtilities::CellDoubleProperty > cell0DDoubleProperties, Gedim::IMeshDAO &mesh) const
 Convert the imported Cell0D double properties to mesh.
 
void ConvertCell1DDoubleProperties (const std::vector< Gedim::MeshFromCsvUtilities::CellDoubleProperty > cell1DDoubleProperties, Gedim::IMeshDAO &mesh) const
 Convert the imported Cell1D double properties to mesh.
 
void ConvertCell2DDoubleProperties (const std::vector< Gedim::MeshFromCsvUtilities::CellDoubleProperty > cell2DDoubleProperties, Gedim::IMeshDAO &mesh) const
 Convert the imported Cell2D double properties to mesh.
 
void ConvertCell3DDoubleProperties (const std::vector< Gedim::MeshFromCsvUtilities::CellDoubleProperty > cell3DDoubleProperties, Gedim::IMeshDAO &mesh) const
 Convert the imported Cell3D double properties to mesh.
 
void ConvertCell0DUpdatedCells (const std::vector< Gedim::MeshFromCsvUtilities::CellUpdatedCells > cell0DUpdatedCells, Gedim::IMeshDAO &mesh) const
 Convert the imported Cell0D updated cells to mesh.
 
void ConvertCell1DUpdatedCells (const std::vector< Gedim::MeshFromCsvUtilities::CellUpdatedCells > cell1DUpdatedCells, Gedim::IMeshDAO &mesh) const
 Convert the imported Cell1D updated cells to mesh.
 
void ConvertCell2DUpdatedCells (const std::vector< Gedim::MeshFromCsvUtilities::CellUpdatedCells > cell2DUpdatedCells, Gedim::IMeshDAO &mesh) const
 Convert the imported Cell2D updated cells to mesh.
 
void ConvertCell3DUpdatedCells (const std::vector< Gedim::MeshFromCsvUtilities::CellUpdatedCells > cell3DUpdatedCells, Gedim::IMeshDAO &mesh) const
 Convert the imported Cell3D updated cells to mesh.
 
std::vector< Cell0DImportCell0Ds (IFileReader &csvFileReader, const char &separator) const
 Import Cell0Ds; format: Id, Marker, Active, X, Y, Z.
 
std::vector< Cell1DImportCell1Ds (IFileReader &csvFileReader, const char &separator) const
 Import Cell1Ds; format: Id, Marker, Active, Origin, End.
 
std::vector< Cell2DImportCell2Ds (IFileReader &csvFileReader, const char &separator) const
 Import Cell2Ds; format: Id, Marker, Active, NumVertices, Vertices, NumEdges, Edges.
 
std::vector< Cell3DImportCell3Ds (IFileReader &csvFileReader, const char &separator) const
 Import Cell3Ds; format: Id, Marker, Active, NumVertices, Vertices, NumEdges, Edges, NumFaces, Faces.
 
std::vector< Cell0DNeighboursImportCell0DNeighbours (IFileReader &csvFileReader, const char &separator) const
 Import Cell0DNeighbours; format: Id, Num1DNeighbours, 1DNeighbours, Num2DNeighbours, 2DNeighbours, Num3DNeighbours, 3DNeighbours.
 
std::vector< Cell1DNeighboursImportCell1DNeighbours (IFileReader &csvFileReader, const char &separator) const
 Import Cell1DNeighbours; format: Id, Num2DNeighbours, 2DNeighbours, Num3DNeighbours, 3DNeighbours.
 
std::vector< Cell2DNeighboursImportCell2DNeighbours (IFileReader &csvFileReader, const char &separator) const
 Import Cell2DNeighbours; format: Id, Num3DNeighbours, 3DNeighbours.
 
std::vector< Cell2DSubDivisionImportCell2DSubDivision (IFileReader &csvFileReader, const char &separator) const
 Import Cell2DSubDivision; format: Id, NumSubDivision, SubDivisions.
 
std::vector< CellDoublePropertyImportCellDoubleProperties (IFileReader &csvFileReader, const char &separator) const
 Import CellProperties; format: Id, FilePath.
 
std::vector< CellUpdatedCellsImportCellUpdatedCells (IFileReader &csvFileReader, const char &separator) const
 Import CellUpdatedCells; format: Id, NumUpdatedCells, UpdatedCells.
 
void ExportCell0Ds (const std::string &filePath, const char &separator, const Gedim::IMeshDAO &mesh) const
 Export Cell0Ds; format: Id, Marker, Active, X, Y, Z.
 
void ExportCell1Ds (const std::string &filePath, const char &separator, const Gedim::IMeshDAO &mesh) const
 Export Cell1Ds; format: Id, Marker, Active, Origin, End.
 
void ExportCell2Ds (const std::string &filePath, const char &separator, const Gedim::IMeshDAO &mesh) const
 Export Cell2Ds; format: Id, Marker, Active, NumVertices, Vertices, NumEdges, Edges.
 
void ExportCell3Ds (const std::string &filePath, const char &separator, const Gedim::IMeshDAO &mesh) const
 Export Cell3Ds; format: Id, Marker, Active, NumVertices, Vertices, NumEdges, Edges, NumFaces, Faces.
 
void ExportCell0DProperties (const std::string &exportFolder, const std::string &propertyFileName, const std::string &propertyFileExtension, const char &separator, const Gedim::IMeshDAO &mesh) const
 Export Cell0DProperties; format: Id, FilePath.
 
void ExportCell0DProperty (const unsigned int &propertyIndex, const std::string &filePath, const char &separator, const Gedim::IMeshDAO &mesh) const
 Export Cell0DProperty identified by index; format: Id, PropertySize, PropertyValues.
 
void ExportCell1DProperties (const std::string &exportFolder, const std::string &propertyFileName, const std::string &propertyFileExtension, const char &separator, const Gedim::IMeshDAO &mesh) const
 Export Cell1DProperties; format: Id, FilePath.
 
void ExportCell1DProperty (const unsigned int &propertyIndex, const std::string &filePath, const char &separator, const Gedim::IMeshDAO &mesh) const
 Export Cell1DProperty identified by index; format: Id, PropertySize, PropertyValues.
 
void ExportCell2DProperties (const std::string &exportFolder, const std::string &propertyFileName, const std::string &propertyFileExtension, const char &separator, const Gedim::IMeshDAO &mesh) const
 Export Cell2DProperties; format: Id, FilePath.
 
void ExportCell2DProperty (const unsigned int &propertyIndex, const std::string &filePath, const char &separator, const Gedim::IMeshDAO &mesh) const
 Export Cell2DProperty identified by index; format: Id, PropertySize, PropertyValues.
 
void ExportCell3DProperties (const std::string &exportFolder, const std::string &propertyFileName, const std::string &propertyFileExtension, const char &separator, const Gedim::IMeshDAO &mesh) const
 Export Cell3DProperties; format: Id, FilePath.
 
void ExportCell3DProperty (const unsigned int &propertyIndex, const std::string &filePath, const char &separator, const Gedim::IMeshDAO &mesh) const
 Export Cell3DProperty identified by index; format: Id, PropertySize, PropertyValues.
 
void ExportCell0DNeighbours (const std::string &filePath, const char &separator, const Gedim::IMeshDAO &mesh) const
 Export Cell0DNeighbours; format: Id, Num1DNeighbours, 1DNeighbours, Num2DNeighbours, 2DNeighbours, Num3DNeighbours, 3DNeighbours.
 
void ExportCell1DNeighbours (const std::string &filePath, const char &separator, const Gedim::IMeshDAO &mesh) const
 Export Cell1DNeighbours; format: Id, Num2DNeighbours, 2DNeighbours, Num3DNeighbours, 3DNeighbours.
 
void ExportCell2DNeighbours (const std::string &filePath, const char &separator, const Gedim::IMeshDAO &mesh) const
 Export Cell2DNeighbours; format: Id, Num3DNeighbours, 3DNeighbours.
 
void ExportCell2DSubDivisions (const std::string &filePath, const char &separator, const Gedim::IMeshDAO &mesh) const
 Export Cell2DSubDivisions; format: Id, NumSubDivision, SubDivisions.
 
void ExportCell0DUpdatedCells (const std::string &filePath, const char &separator, const Gedim::IMeshDAO &mesh) const
 Export Cell0DUpdatedCells; format: Id, NumUpdatedCells, UpdatedCells.
 
void ExportCell1DUpdatedCells (const std::string &filePath, const char &separator, const Gedim::IMeshDAO &mesh) const
 Export Cell1DUpdatedCells; format: Id, NumUpdatedCells, UpdatedCells.
 
void ExportCell2DUpdatedCells (const std::string &filePath, const char &separator, const Gedim::IMeshDAO &mesh) const
 Export Cell2DUpdatedCells; format: Id, NumUpdatedCells, UpdatedCells.
 
void ExportCell3DUpdatedCells (const std::string &filePath, const char &separator, const Gedim::IMeshDAO &mesh) const
 Export Cell3DUpdatedCells; format: Id, NumUpdatedCells, UpdatedCells.
 

Detailed Description

MeshImporterFromCsvUtilities.

Note
each file could be EmptyFileReader if not necessary

Constructor & Destructor Documentation

◆ MeshFromCsvUtilities()

Gedim::MeshFromCsvUtilities::MeshFromCsvUtilities ( )

◆ ~MeshFromCsvUtilities()

Gedim::MeshFromCsvUtilities::~MeshFromCsvUtilities ( )

Member Function Documentation

◆ ConvertCell0DDoubleProperties()

void Gedim::MeshFromCsvUtilities::ConvertCell0DDoubleProperties ( const std::vector< Gedim::MeshFromCsvUtilities::CellDoubleProperty cell0DDoubleProperties,
Gedim::IMeshDAO mesh 
) const

Convert the imported Cell0D double properties to mesh.

Parameters
cell0DDoublePropertiesthe container of cell0D double properties
meshthe mesh

◆ ConvertCell0DNeighbours()

void Gedim::MeshFromCsvUtilities::ConvertCell0DNeighbours ( const std::vector< Gedim::MeshFromCsvUtilities::Cell0DNeighbours cell0DNeighbours,
Gedim::IMeshDAO mesh 
) const

Convert the imported Cell0D neighbours to mesh.

Parameters
cell0DNeighboursthe container of cell0D neighbours
meshthe mesh

◆ ConvertCell0Ds()

void Gedim::MeshFromCsvUtilities::ConvertCell0Ds ( const std::vector< Gedim::MeshFromCsvUtilities::Cell0D cell0Ds,
Gedim::IMeshDAO mesh 
) const

Convert the imported Cell0Ds to mesh.

Parameters
cell0Dsthe container of cell0Ds
meshthe mesh

◆ ConvertCell0DUpdatedCells()

void Gedim::MeshFromCsvUtilities::ConvertCell0DUpdatedCells ( const std::vector< Gedim::MeshFromCsvUtilities::CellUpdatedCells cell0DUpdatedCells,
Gedim::IMeshDAO mesh 
) const

Convert the imported Cell0D updated cells to mesh.

Parameters
cell0DUpdatedCellsthe container of cell0D updated cells
meshthe mesh

◆ ConvertCell1DDoubleProperties()

void Gedim::MeshFromCsvUtilities::ConvertCell1DDoubleProperties ( const std::vector< Gedim::MeshFromCsvUtilities::CellDoubleProperty cell1DDoubleProperties,
Gedim::IMeshDAO mesh 
) const

Convert the imported Cell1D double properties to mesh.

Parameters
cell1DDoublePropertiesthe container of cell1D double properties
meshthe mesh

◆ ConvertCell1DNeighbours()

void Gedim::MeshFromCsvUtilities::ConvertCell1DNeighbours ( const std::vector< Gedim::MeshFromCsvUtilities::Cell1DNeighbours cell1DNeighbours,
Gedim::IMeshDAO mesh 
) const

Convert the imported Cell1D neighbours to mesh.

Parameters
cell1DNeighboursthe container of cell1D neighbours
meshthe mesh

◆ ConvertCell1Ds()

void Gedim::MeshFromCsvUtilities::ConvertCell1Ds ( const std::vector< Gedim::MeshFromCsvUtilities::Cell1D cell1Ds,
Gedim::IMeshDAO mesh 
) const

Convert the imported Cell1Ds to mesh.

Parameters
cell1Dsthe container of cell1Ds
meshthe mesh

◆ ConvertCell1DUpdatedCells()

void Gedim::MeshFromCsvUtilities::ConvertCell1DUpdatedCells ( const std::vector< Gedim::MeshFromCsvUtilities::CellUpdatedCells cell1DUpdatedCells,
Gedim::IMeshDAO mesh 
) const

Convert the imported Cell1D updated cells to mesh.

Parameters
cell1DUpdatedCellsthe container of cell1D updated cells
meshthe mesh

◆ ConvertCell2DDoubleProperties()

void Gedim::MeshFromCsvUtilities::ConvertCell2DDoubleProperties ( const std::vector< Gedim::MeshFromCsvUtilities::CellDoubleProperty cell2DDoubleProperties,
Gedim::IMeshDAO mesh 
) const

Convert the imported Cell2D double properties to mesh.

Parameters
cell2DDoublePropertiesthe container of cell2D double properties
meshthe mesh

◆ ConvertCell2DNeighbours()

void Gedim::MeshFromCsvUtilities::ConvertCell2DNeighbours ( const std::vector< Gedim::MeshFromCsvUtilities::Cell2DNeighbours cell2DNeighbours,
Gedim::IMeshDAO mesh 
) const

Convert the imported Cell2D neighbours to mesh.

Parameters
cell2DNeighboursthe container of cell2D neighbours
meshthe mesh

◆ ConvertCell2Ds()

void Gedim::MeshFromCsvUtilities::ConvertCell2Ds ( const std::vector< Gedim::MeshFromCsvUtilities::Cell2D cell2Ds,
Gedim::IMeshDAO mesh 
) const

Convert the imported Cell2Ds to mesh.

Parameters
cell2Dsthe container of cell2Ds
meshthe mesh

◆ ConvertCell2DSubDivisions()

void Gedim::MeshFromCsvUtilities::ConvertCell2DSubDivisions ( const std::vector< Gedim::MeshFromCsvUtilities::Cell2DSubDivision cell2DSubDivisions,
Gedim::IMeshDAO mesh 
) const

Convert the imported Cell2D subdivision to mesh.

Parameters
cell2DSubDivisionsthe container of cell2D neighbours
meshthe mesh

◆ ConvertCell2DUpdatedCells()

void Gedim::MeshFromCsvUtilities::ConvertCell2DUpdatedCells ( const std::vector< Gedim::MeshFromCsvUtilities::CellUpdatedCells cell2DUpdatedCells,
Gedim::IMeshDAO mesh 
) const

Convert the imported Cell2D updated cells to mesh.

Parameters
cell2DUpdatedCellsthe container of cell2D updated cells
meshthe mesh

◆ ConvertCell3DDoubleProperties()

void Gedim::MeshFromCsvUtilities::ConvertCell3DDoubleProperties ( const std::vector< Gedim::MeshFromCsvUtilities::CellDoubleProperty cell3DDoubleProperties,
Gedim::IMeshDAO mesh 
) const

Convert the imported Cell3D double properties to mesh.

Parameters
cell3DDoublePropertiesthe container of cell3D double properties
meshthe mesh

◆ ConvertCell3Ds()

void Gedim::MeshFromCsvUtilities::ConvertCell3Ds ( const std::vector< Gedim::MeshFromCsvUtilities::Cell3D cell3Ds,
Gedim::IMeshDAO mesh 
) const

Convert the imported Cell3Ds to mesh.

Parameters
cell3Dsthe container of cell3Ds
meshthe mesh

◆ ConvertCell3DUpdatedCells()

void Gedim::MeshFromCsvUtilities::ConvertCell3DUpdatedCells ( const std::vector< Gedim::MeshFromCsvUtilities::CellUpdatedCells cell3DUpdatedCells,
Gedim::IMeshDAO mesh 
) const

Convert the imported Cell3D updated cells to mesh.

Parameters
cell3DUpdatedCellsthe container of cell3D updated cells
meshthe mesh

◆ ConvertMesh2D()

void Gedim::MeshFromCsvUtilities::ConvertMesh2D ( const std::vector< Gedim::MeshFromCsvUtilities::Cell0D > &  cell0Ds,
const std::vector< Gedim::MeshFromCsvUtilities::Cell1D > &  cell1Ds,
const std::vector< Gedim::MeshFromCsvUtilities::Cell2D > &  cell2Ds,
Gedim::IMeshDAO mesh 
) const

Convert a 2D Mesh.

Parameters
cell0Dsthe container of cell0Ds
cell1Dsthe container of cell1Ds
cell2Dsthe container of cell2Ds
meshthe resulting mesh

◆ ExportCell0DNeighbours()

void Gedim::MeshFromCsvUtilities::ExportCell0DNeighbours ( const std::string &  filePath,
const char separator,
const Gedim::IMeshDAO mesh 
) const

Export Cell0DNeighbours; format: Id, Num1DNeighbours, 1DNeighbours, Num2DNeighbours, 2DNeighbours, Num3DNeighbours, 3DNeighbours.

Parameters
filePaththe path of the file
separatorthe file separator
meshthe mesh to be exported

Export Cell0D Neigbours

◆ ExportCell0DProperties()

void Gedim::MeshFromCsvUtilities::ExportCell0DProperties ( const std::string &  exportFolder,
const std::string &  propertyFileName,
const std::string &  propertyFileExtension,
const char separator,
const Gedim::IMeshDAO mesh 
) const

Export Cell0DProperties; format: Id, FilePath.

Parameters
exportFolderthe folder where to export the files
propertyFileNamethe name of property file
propertyFileExtensionthe extension of the files
separatorthe file separator
meshthe mesh to be exported

Export Cell0D Properties

◆ ExportCell0DProperty()

void Gedim::MeshFromCsvUtilities::ExportCell0DProperty ( const unsigned int propertyIndex,
const std::string &  filePath,
const char separator,
const Gedim::IMeshDAO mesh 
) const

Export Cell0DProperty identified by index; format: Id, PropertySize, PropertyValues.

Parameters
propertyIndexthe property index
filePaththe path of the file
separatorthe file separator
meshthe mesh to be exported

Export Cell0D Properties

◆ ExportCell0Ds()

void Gedim::MeshFromCsvUtilities::ExportCell0Ds ( const std::string &  filePath,
const char separator,
const Gedim::IMeshDAO mesh 
) const

Export Cell0Ds; format: Id, Marker, Active, X, Y, Z.

Parameters
filePaththe path of the file
separatorthe file separator
meshthe mesh to be exported

Export Cell0Ds

◆ ExportCell0DUpdatedCells()

void Gedim::MeshFromCsvUtilities::ExportCell0DUpdatedCells ( const std::string &  filePath,
const char separator,
const Gedim::IMeshDAO mesh 
) const

Export Cell0DUpdatedCells; format: Id, NumUpdatedCells, UpdatedCells.

Parameters
filePaththe path of the file
separatorthe file separator
meshthe mesh to be exported

Export Cell0D Updated Cells

◆ ExportCell1DNeighbours()

void Gedim::MeshFromCsvUtilities::ExportCell1DNeighbours ( const std::string &  filePath,
const char separator,
const Gedim::IMeshDAO mesh 
) const

Export Cell1DNeighbours; format: Id, Num2DNeighbours, 2DNeighbours, Num3DNeighbours, 3DNeighbours.

Parameters
filePaththe path of the file
separatorthe file separator
meshthe mesh to be exported

Export Cell1D Neigbours

◆ ExportCell1DProperties()

void Gedim::MeshFromCsvUtilities::ExportCell1DProperties ( const std::string &  exportFolder,
const std::string &  propertyFileName,
const std::string &  propertyFileExtension,
const char separator,
const Gedim::IMeshDAO mesh 
) const

Export Cell1DProperties; format: Id, FilePath.

Parameters
exportFolderthe folder where to export the files
propertyFileNamethe name of property file
propertyFileExtensionthe extension of the files
separatorthe file separator
meshthe mesh to be exported

Export Cell1D Properties

◆ ExportCell1DProperty()

void Gedim::MeshFromCsvUtilities::ExportCell1DProperty ( const unsigned int propertyIndex,
const std::string &  filePath,
const char separator,
const Gedim::IMeshDAO mesh 
) const

Export Cell1DProperty identified by index; format: Id, PropertySize, PropertyValues.

Parameters
propertyIndexthe property index
filePaththe path of the file
separatorthe file separator
meshthe mesh to be exported

Export Cell1D Properties

◆ ExportCell1Ds()

void Gedim::MeshFromCsvUtilities::ExportCell1Ds ( const std::string &  filePath,
const char separator,
const Gedim::IMeshDAO mesh 
) const

Export Cell1Ds; format: Id, Marker, Active, Origin, End.

Parameters
filePaththe path of the file
separatorthe file separator
meshthe mesh to be exported

Export Cell1Ds

◆ ExportCell1DUpdatedCells()

void Gedim::MeshFromCsvUtilities::ExportCell1DUpdatedCells ( const std::string &  filePath,
const char separator,
const Gedim::IMeshDAO mesh 
) const

Export Cell1DUpdatedCells; format: Id, NumUpdatedCells, UpdatedCells.

Parameters
filePaththe path of the file
separatorthe file separator
meshthe mesh to be exported

Export Cell1D Updated Cells

◆ ExportCell2DNeighbours()

void Gedim::MeshFromCsvUtilities::ExportCell2DNeighbours ( const std::string &  filePath,
const char separator,
const Gedim::IMeshDAO mesh 
) const

Export Cell2DNeighbours; format: Id, Num3DNeighbours, 3DNeighbours.

Parameters
filePaththe path of the file
separatorthe file separator
meshthe mesh to be exported

Export Cell2D Neigbours

◆ ExportCell2DProperties()

void Gedim::MeshFromCsvUtilities::ExportCell2DProperties ( const std::string &  exportFolder,
const std::string &  propertyFileName,
const std::string &  propertyFileExtension,
const char separator,
const Gedim::IMeshDAO mesh 
) const

Export Cell2DProperties; format: Id, FilePath.

Parameters
exportFolderthe folder where to export the files
propertyFileNamethe name of property file
propertyFileExtensionthe extension of the files
separatorthe file separator
meshthe mesh to be exported

Export Cell2D Properties

◆ ExportCell2DProperty()

void Gedim::MeshFromCsvUtilities::ExportCell2DProperty ( const unsigned int propertyIndex,
const std::string &  filePath,
const char separator,
const Gedim::IMeshDAO mesh 
) const

Export Cell2DProperty identified by index; format: Id, PropertySize, PropertyValues.

Parameters
propertyIndexthe property index
filePaththe path of the file
separatorthe file separator
meshthe mesh to be exported

Export Cell2D Properties

◆ ExportCell2Ds()

void Gedim::MeshFromCsvUtilities::ExportCell2Ds ( const std::string &  filePath,
const char separator,
const Gedim::IMeshDAO mesh 
) const

Export Cell2Ds; format: Id, Marker, Active, NumVertices, Vertices, NumEdges, Edges.

Parameters
filePaththe path of the file
separatorthe file separator
meshthe mesh to be exported

Export Cell2Ds

◆ ExportCell2DSubDivisions()

void Gedim::MeshFromCsvUtilities::ExportCell2DSubDivisions ( const std::string &  filePath,
const char separator,
const Gedim::IMeshDAO mesh 
) const

Export Cell2DSubDivisions; format: Id, NumSubDivision, SubDivisions.

Parameters
filePaththe path of the file
separatorthe file separator
meshthe mesh to be exported

Export Cell2D SubDivisions

◆ ExportCell2DUpdatedCells()

void Gedim::MeshFromCsvUtilities::ExportCell2DUpdatedCells ( const std::string &  filePath,
const char separator,
const Gedim::IMeshDAO mesh 
) const

Export Cell2DUpdatedCells; format: Id, NumUpdatedCells, UpdatedCells.

Parameters
filePaththe path of the file
separatorthe file separator
meshthe mesh to be exported

Export Cell2D Updated Cells

◆ ExportCell3DProperties()

void Gedim::MeshFromCsvUtilities::ExportCell3DProperties ( const std::string &  exportFolder,
const std::string &  propertyFileName,
const std::string &  propertyFileExtension,
const char separator,
const Gedim::IMeshDAO mesh 
) const

Export Cell3DProperties; format: Id, FilePath.

Parameters
exportFolderthe folder where to export the files
propertyFileNamethe name of property file
propertyFileExtensionthe extension of the files
separatorthe file separator
meshthe mesh to be exported

Export Cell3D Properties

◆ ExportCell3DProperty()

void Gedim::MeshFromCsvUtilities::ExportCell3DProperty ( const unsigned int propertyIndex,
const std::string &  filePath,
const char separator,
const Gedim::IMeshDAO mesh 
) const

Export Cell3DProperty identified by index; format: Id, PropertySize, PropertyValues.

Parameters
propertyIndexthe property index
filePaththe path of the file
separatorthe file separator
meshthe mesh to be exported

Export Cell3D Properties

◆ ExportCell3Ds()

void Gedim::MeshFromCsvUtilities::ExportCell3Ds ( const std::string &  filePath,
const char separator,
const Gedim::IMeshDAO mesh 
) const

Export Cell3Ds; format: Id, Marker, Active, NumVertices, Vertices, NumEdges, Edges, NumFaces, Faces.

Parameters
filePaththe path of the file
separatorthe file separator
meshthe mesh to be exported

Export Cell3Ds

◆ ExportCell3DUpdatedCells()

void Gedim::MeshFromCsvUtilities::ExportCell3DUpdatedCells ( const std::string &  filePath,
const char separator,
const Gedim::IMeshDAO mesh 
) const

Export Cell3DUpdatedCells; format: Id, NumUpdatedCells, UpdatedCells.

Parameters
filePaththe path of the file
separatorthe file separator
meshthe mesh to be exported

Export Cell3D Updated Cells

◆ ImportCell0DNeighbours()

std::vector< MeshFromCsvUtilities::Cell0DNeighbours > Gedim::MeshFromCsvUtilities::ImportCell0DNeighbours ( IFileReader csvFileReader,
const char separator 
) const

Import Cell0DNeighbours; format: Id, Num1DNeighbours, 1DNeighbours, Num2DNeighbours, 2DNeighbours, Num3DNeighbours, 3DNeighbours.

Parameters
csvFileReaderthe file reader
separatorthe file separator

Import Cell0DNeighbours

◆ ImportCell0Ds()

std::vector< MeshFromCsvUtilities::Cell0D > Gedim::MeshFromCsvUtilities::ImportCell0Ds ( IFileReader csvFileReader,
const char separator 
) const

Import Cell0Ds; format: Id, Marker, Active, X, Y, Z.

Parameters
csvFileReaderthe file reader
separatorthe file separator
meshthe mesh to be Imported

Import Cell0Ds

◆ ImportCell1DNeighbours()

std::vector< MeshFromCsvUtilities::Cell1DNeighbours > Gedim::MeshFromCsvUtilities::ImportCell1DNeighbours ( IFileReader csvFileReader,
const char separator 
) const

Import Cell1DNeighbours; format: Id, Num2DNeighbours, 2DNeighbours, Num3DNeighbours, 3DNeighbours.

Parameters
csvFileReaderthe file reader
separatorthe file separator

Import Cell1DNeighbours

◆ ImportCell1Ds()

std::vector< MeshFromCsvUtilities::Cell1D > Gedim::MeshFromCsvUtilities::ImportCell1Ds ( IFileReader csvFileReader,
const char separator 
) const

Import Cell1Ds; format: Id, Marker, Active, Origin, End.

Parameters
csvFileReaderthe file reader
separatorthe file separator

Import Cell1Ds

◆ ImportCell2DNeighbours()

std::vector< MeshFromCsvUtilities::Cell2DNeighbours > Gedim::MeshFromCsvUtilities::ImportCell2DNeighbours ( IFileReader csvFileReader,
const char separator 
) const

Import Cell2DNeighbours; format: Id, Num3DNeighbours, 3DNeighbours.

Parameters
csvFileReaderthe file reader
separatorthe file separator

Import Cell2DNeighbours

◆ ImportCell2Ds()

std::vector< MeshFromCsvUtilities::Cell2D > Gedim::MeshFromCsvUtilities::ImportCell2Ds ( IFileReader csvFileReader,
const char separator 
) const

Import Cell2Ds; format: Id, Marker, Active, NumVertices, Vertices, NumEdges, Edges.

Parameters
csvFileReaderthe file reader
separatorthe file separator

Import Cell2Ds

◆ ImportCell2DSubDivision()

std::vector< MeshFromCsvUtilities::Cell2DSubDivision > Gedim::MeshFromCsvUtilities::ImportCell2DSubDivision ( IFileReader csvFileReader,
const char separator 
) const

Import Cell2DSubDivision; format: Id, NumSubDivision, SubDivisions.

Parameters
csvFileReaderthe file reader
separatorthe file separator

Import Cell2DSubDivision

◆ ImportCell3Ds()

std::vector< MeshFromCsvUtilities::Cell3D > Gedim::MeshFromCsvUtilities::ImportCell3Ds ( IFileReader csvFileReader,
const char separator 
) const

Import Cell3Ds; format: Id, Marker, Active, NumVertices, Vertices, NumEdges, Edges, NumFaces, Faces.

Parameters
csvFileReaderthe file reader
separatorthe file separator

Import Cell3Ds

◆ ImportCellDoubleProperties()

std::vector< MeshFromCsvUtilities::CellDoubleProperty > Gedim::MeshFromCsvUtilities::ImportCellDoubleProperties ( IFileReader csvFileReader,
const char separator 
) const

Import CellProperties; format: Id, FilePath.

Parameters
csvFileReaderthe file reader
separatorthe file separator

Import CellProperties

◆ ImportCellUpdatedCells()

std::vector< MeshFromCsvUtilities::CellUpdatedCells > Gedim::MeshFromCsvUtilities::ImportCellUpdatedCells ( IFileReader csvFileReader,
const char separator 
) const

Import CellUpdatedCells; format: Id, NumUpdatedCells, UpdatedCells.

Parameters
csvFileReaderthe file reader
separatorthe file separator

Import cellsUpdatedCells


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