gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
GModel Class Reference

#include <GModel.h>

Collaboration diagram for GModel:

Public Types

typedef std::set< GRegion *, GEntityPtrLessThan >::iterator riter
 
typedef std::set< GFace *, GEntityPtrLessThan >::iterator fiter
 
typedef std::set< GEdge *, GEntityPtrLessThan >::iterator eiter
 
typedef std::set< GVertex *, GEntityPtrLessThan >::iterator viter
 
typedef std::set< GRegion *, GEntityPtrLessThan >::const_iterator const_riter
 
typedef std::set< GFace *, GEntityPtrLessThan >::const_iterator const_fiter
 
typedef std::set< GEdge *, GEntityPtrLessThan >::const_iterator const_eiter
 
typedef std::set< GVertex *, GEntityPtrLessThan >::const_iterator const_viter
 
typedef std::map< std::pair< int, int >, std::string >::iterator piter
 

Public Member Functions

 GModel (const std::string &name="")
 
virtual ~GModel ()
 
int setAsCurrent ()
 
void destroy (bool keepName=false)
 
std::size_t getMaxVertexNumber () const
 
std::size_t getMaxElementNumber () const
 
void setMaxVertexNumber (std::size_t num)
 
void setMaxElementNumber (std::size_t num)
 
std::size_t incrementAndGetMaxVertexNumber ()
 
std::size_t incrementAndGetMaxElementNumber ()
 
void decrementMaxVertexNumber ()
 
void checkPointMaxNumbers ()
 
void getCheckPointedMaxNumbers (std::size_t &maxv, std::size_t &maxe) const
 
std::size_t addMEdge (MEdge &edge, std::size_t num=0)
 
std::size_t addMFace (MFace &face, std::size_t num=0)
 
std::size_t getMEdge (MVertex *v0, MVertex *v1, MEdge &edge)
 
std::size_t getMFace (MVertex *v0, MVertex *v1, MVertex *v2, MVertex *v3, MFace &face)
 
hashmapMEdge::const_iterator firstMEdge ()
 
hashmapMEdge::const_iterator lastMEdge ()
 
hashmapMFace::const_iterator firstMFace ()
 
hashmapMFace::const_iterator lastMFace ()
 
void renumberMeshVertices ()
 
void renumberMeshElements ()
 
void destroyMeshCaches ()
 
void deleteMesh ()
 
void deleteMesh (const std::vector< GEntity * > &entities)
 
void deleteVertexArrays ()
 
void pruneMeshVertexAssociations ()
 
void createGEOInternals ()
 
void createOCCInternals ()
 
void createACISInternals ()
 
void createParasolidInternals ()
 
OCC_InternalsgetOCCInternals ()
 
GEO_InternalsgetGEOInternals ()
 
ACIS_Internals * getACISInternals ()
 
Parasolid_Internals * getParasolidInternals ()
 
void deleteGEOInternals ()
 
void deleteOCCInternals ()
 
void resetOCCInternals ()
 
void deleteACISInternals ()
 
void deleteParasolidInternals ()
 
FieldManagergetFields ()
 
void setName (const std::string &name)
 
std::string getName () const
 
void setFileName (const std::string &fileName)
 
std::string getFileName () const
 
bool hasFileName (const std::string &name) const
 
char getVisibility () const
 
void setVisibility (char val)
 
std::size_t getNumRegions () const
 
std::size_t getNumFaces () const
 
std::size_t getNumEdges () const
 
std::size_t getNumVertices () const
 
bool empty () const
 
riter firstRegion ()
 
fiter firstFace ()
 
eiter firstEdge ()
 
viter firstVertex ()
 
riter lastRegion ()
 
fiter lastFace ()
 
eiter lastEdge ()
 
viter lastVertex ()
 
const_riter firstRegion () const
 
const_fiter firstFace () const
 
const_eiter firstEdge () const
 
const_viter firstVertex () const
 
const_riter lastRegion () const
 
const_fiter lastFace () const
 
const_eiter lastEdge () const
 
const_viter lastVertex () const
 
std::set< GRegion *, GEntityPtrLessThangetRegions () const
 
std::set< GFace *, GEntityPtrLessThangetFaces () const
 
std::set< GEdge *, GEntityPtrLessThangetEdges () const
 
std::set< GVertex *, GEntityPtrLessThangetVertices () const
 
GRegiongetRegionByTag (int n) const
 
GFacegetFaceByTag (int n) const
 
GEdgegetEdgeByTag (int n) const
 
GVertexgetVertexByTag (int n) const
 
GEntitygetEntityByTag (int dim, int n) const
 
bool changeEntityTag (int dim, int tag, int newTag)
 
bool add (GRegion *r)
 
bool add (GFace *f)
 
bool add (GEdge *e)
 
bool add (GVertex *v)
 
bool remove (GRegion *r)
 
bool remove (GFace *f)
 
bool remove (GEdge *e)
 
bool remove (GVertex *v)
 
void remove (int dim, int tag, std::vector< GEntity * > &removed, bool recursive=false)
 
void remove (const std::vector< std::pair< int, int > > &dimTags, std::vector< GEntity * > &removed, bool recursive=false)
 
void remove ()
 
void snapVertices ()
 
void getEntities (std::vector< GEntity * > &entities, int dim=-1) const
 
void getEntitiesInBox (std::vector< GEntity * > &entities, const SBoundingBox3d &box, int dim=-1) const
 
bool getBoundaryTags (const std::vector< std::pair< int, int > > &inDimTags, std::vector< std::pair< int, int > > &outDimTags, bool combined, bool oriented=true, bool recursive=false)
 
int getMaxElementaryNumber (int dim)
 
bool noPhysicalGroups ()
 
void getPhysicalGroups (std::map< int, std::vector< GEntity * > > groups[4]) const
 
void getPhysicalGroups (int dim, std::map< int, std::vector< GEntity * > > &groups) const
 
const std::map< std::pair< int, int >, std::string > & getPhysicalNames () const
 
void setPhysicalNames (const std::map< std::pair< int, int >, std::string > &names)
 
void addPhysicalGroup (int dim, int tag, const std::vector< int > &tags)
 
void removePhysicalGroups ()
 
void removePhysicalGroup (int dim, int num)
 
int getMaxPhysicalNumber (int dim)
 
piter firstPhysicalName ()
 
piter lastPhysicalName ()
 
piter firstElementaryName ()
 
piter lastElementaryName ()
 
int numPhysicalNames () const
 
void getInnerPhysicalNamesIterators (std::vector< piter > &iterators)
 
int setPhysicalName (const std::string &name, int dim, int num=0)
 
piter setPhysicalName (piter pos, const std::string &name, int dim, int num=0)
 
std::string getPhysicalName (int dim, int num) const
 
void removePhysicalName (const std::string &name)
 
int getPhysicalNumber (const int &dim, const std::string &name)
 
std::vector< int > getTagsForPhysicalName (int dim, const std::string &name)
 
void setPhysicalNumToEntitiesInBox (int EntityDimension, int PhysicalNumber, std::vector< double > p1, std::vector< double > p2)
 
void setPhysicalNumToEntitiesInBox (int EntityDimension, int PhysicalNumber, const SBoundingBox3d &box)
 
std::string getElementaryName (int dim, int tag)
 
void setElementaryName (int dim, int tag, const std::string &name)
 
void removeElementaryName (const std::string &name)
 
int getDim () const
 
int getMeshDim () const
 
void setSelection (int val)
 
SBoundingBox3d bounds (bool aroundVisible=false)
 
int getMeshStatus (bool countDiscrete=true)
 
std::size_t getNumMeshElements (int dim=-1) const
 
std::size_t getNumMeshParentElements () const
 
std::size_t getNumMeshElements (unsigned c[6])
 
MElementgetMeshElementByCoord (SPoint3 &p, SPoint3 &param, int dim=-1, bool strict=true)
 
std::vector< MElement * > getMeshElementsByCoord (SPoint3 &p, int dim=-1, bool strict=true)
 
MElementgetMeshElementByTag (int n)
 
MElementgetMeshElementByTag (int n, int &entityTag)
 
int getMeshElementIndex (MElement *e)
 
void setMeshElementIndex (MElement *e, int index)
 
std::size_t getNumMeshVertices (int dim=-1) const
 
void rebuildMeshVertexCache (bool onlyIfNecessary=false)
 
void rebuildMeshElementCache (bool onlyIfNecessary=false)
 
MVertexgetMeshVertexByTag (int n)
 
void addMVertexToVertexCache (MVertex *v)
 
void getMeshVerticesForPhysicalGroup (int dim, int num, std::vector< MVertex * > &)
 
std::size_t indexMeshVertices (bool all, int singlePartition=0, bool renumber=true)
 
void scaleMesh (double factor)
 
void setCurrentMeshEntity (GEntity *e)
 
GEntitygetCurrentMeshEntity ()
 
void clearLastMeshEntityError ()
 
void addLastMeshEntityError (GEntity *e)
 
std::vector< GEntity * > getLastMeshEntityError ()
 
void clearLastMeshVertexError ()
 
void addLastMeshVertexError (MVertex *v)
 
std::vector< MVertex * > getLastMeshVertexError ()
 
std::size_t removeInvisibleElements ()
 
std::size_t reverseInvisibleElements ()
 
std::size_t getNumPartitions () const
 
void setNumPartitions (std::size_t npart)
 
int partitionMesh (int num, std::vector< std::pair< MElement *, int > > elementPartition=std::vector< std::pair< MElement *, int > >())
 
int unpartitionMesh ()
 
int convertOldPartitioningToNewOne ()
 
int writePartitionedTopology (std::string &name)
 
std::multimap< MElement *, short > & getGhostCells ()
 
void addGhostCells (MElement *elm, short partition)
 
void checkMeshCoherence (double tolerance)
 
int removeDuplicateMeshVertices (double tolerance, const std::vector< GEntity * > &entities=std::vector< GEntity * >())
 
int removeDuplicateMeshElements (const std::vector< GEntity * > &entities=std::vector< GEntity * >())
 
void createGeometryOfDiscreteEntities (const std::vector< std::pair< int, int > > &dimTags=std::vector< std::pair< int, int > >())
 
void makeDiscreteRegionsSimplyConnected ()
 
void makeDiscreteFacesSimplyConnected ()
 
void createTopologyFromMesh ()
 
void alignPeriodicBoundaries ()
 
int mesh (int dimension)
 
int adaptMesh ()
 
int adaptMesh (std::vector< int > technique, std::vector< simpleFunction< double > * > f, std::vector< std::vector< double > > parameters, int niter, bool meshAll=false)
 
bool setAllVolumesPositive ()
 
void setAllVolumesPositiveTopology ()
 
int setOrderN (int order, int linear, int incomplete, int onlyVisible)
 
int refineMesh (int linear, bool splitIntoQuads=false, bool splitIntoHexas=false, bool barycentric=false)
 
int optimizeMesh (const std::string &how, bool force=false, int niter=1)
 
int recombineMesh ()
 
bool fillVertexArrays ()
 
void classifySurfaces (double angleThreshold, bool includeBoundary, bool forReparametrization, double curveAngleThreshold)
 
GModelbuildCutGModel (gLevelset *ls, bool cutElem=true, bool saveTri=false)
 
void storeChain (int dim, std::map< int, std::vector< MElement * > > &entityMap, std::map< int, std::map< int, std::string > > &physicalMap)
 
void addHomologyRequest (const std::string &type, const std::vector< int > &domain, const std::vector< int > &subdomain, const std::vector< int > &dim)
 
void clearHomologyRequests ()
 
void computeHomology (std::vector< std::pair< int, int > > &newPhysicals)
 
void computeSizeField ()
 
std::map< MVertex *, std::pair< SVector3, SVector3 > > & getCurvatures ()
 
bool addAutomaticExtrusionConstraints (const std::vector< int > &numElements, const std::vector< double > &heights, const bool recombine, const std::vector< int > &regionTag)
 
std::map< std::string, std::vector< std::string > > & getAttributes ()
 
void load (const std::string &fileName)
 
void save (const std::string &fileName)
 
int writeGEO (const std::string &name, bool printLabels=true, bool onlyPhysicals=false)
 
int exportDiscreteGEOInternals ()
 
int writePY (const std::string &name, bool printLabels=true, bool onlyPhysicals=false)
 
int readOCCBREP (const std::string &name)
 
int readOCCSTEP (const std::string &name)
 
int readOCCIGES (const std::string &name)
 
int writeOCCSTEP (const std::string &name)
 
int writeOCCBREP (const std::string &name)
 
int importOCCShape (const void *shape)
 
GVertexgetVertexForOCCShape (const void *shape)
 
GEdgegetEdgeForOCCShape (const void *shape)
 
GFacegetFaceForOCCShape (const void *shape)
 
GRegiongetRegionForOCCShape (const void *shape)
 
int readACISSAT (const std::string &name)
 
int readParasolidXMT (const std::string &name)
 
int writeParasolidXMT (const std::string &name)
 
int readParasolidSTEP (const std::string &name)
 
int writeParasolidSTEP (const std::string &name)
 
int readMSH (const std::string &name)
 
int writeMSH (const std::string &name, double version=2.2, bool binary=false, bool saveAll=false, bool saveParametric=false, double scalingFactor=1.0, int elementStartNum=0, int saveSinglePartition=0, bool append=false)
 
int writePartitionedMSH (const std::string &baseName, double version=2.2, bool binary=false, bool saveAll=false, bool saveParametric=false, double scalingFactor=1.0)
 
int writeIR3 (const std::string &name, int elementTagType, bool saveAll, double scalingFactor)
 
int writePOS (const std::string &name, bool printElementary, bool printElementNumber, bool printSICN, bool printSIGE, bool printGamma, bool printDisto, bool saveAll=false, double scalingFactor=1.0)
 
int readSTL (const std::string &name, double tolerance=1.e-3)
 
int writeSTL (const std::string &name, bool binary=false, bool saveAll=false, double scalingFactor=1.0, int oneSolidPerSurface=0)
 
int writeX3D (const std::string &name, bool saveAll=false, double scalingFactor=1.0, int x3dsurfaces=1, int x3dedges=0, int x3dvertices=0, int x3dvolumes=0, int x3dcolorize=0)
 
int readPLY (const std::string &name)
 
int readPLY2 (const std::string &name)
 
int writePLY2 (const std::string &name)
 
int readVRML (const std::string &name)
 
int writeVRML (const std::string &name, bool saveAll=false, double scalingFactor=1.0)
 
int readUNV (const std::string &name, bool readGroupsOfElements=true)
 
int writeUNV (const std::string &name, bool saveAll=false, int saveGroupsOfElements=0, int saveGroupsOfNodes=0, double scalingFactor=1.0)
 
int readMESH (const std::string &name)
 
int writeMESH (const std::string &name, int elementTagType=1, bool saveAll=false, double scalingFactor=1.0)
 
int readOFF (const std::string &name)
 
int writeOFF (const std::string &name, bool saveAll=false, double scalingFactor=1.0)
 
int readBDF (const std::string &name)
 
int writeBDF (const std::string &name, int format=0, int elementTagType=1, bool saveAll=false, double scalingFactor=1.0)
 
int readACTRAN (const std::string &name)
 
int readSAMCEF (const std::string &name)
 
int readP3D (const std::string &name)
 
int writeP3D (const std::string &name, bool saveAll=false, double scalingFactor=1.0)
 
int readCGNS (const std::string &name, std::vector< std::vector< MVertex * > > &vertPerZone, std::vector< std::vector< MElement * > > &eltPerZone)
 
int writeCGNS (const std::string &name, bool saveAll=false, double scalingFactor=1.0, bool structured=false)
 
int readMED (const std::string &name, int meshIndex)
 
int writeMED (const std::string &name, bool saveAll=false, double scalingFactor=1.0)
 
int readVTK (const std::string &name, bool bigEndian=false)
 
int writeVTK (const std::string &name, bool binary=false, bool saveAll=false, double scalingFactor=1.0, bool bigEndian=false)
 
int writeMATLAB (const std::string &name, bool binary=false, bool saveAll=false, double scalingFactor=1.0, int filetype=1)
 
int writeTOCHNOG (const std::string &name, bool saveAll=false, int saveGroupsOfNodes=0, double scalingFactor=1.0)
 
int readDIFF (const std::string &name)
 
int writeDIFF (const std::string &name, bool binary=false, bool saveAll=false, double scalingFactor=1.0)
 
int writeINP (const std::string &name, bool saveAll=false, int saveGroupsOfElements=0, int saveGroupsOfNodes=0, double scalingFactor=1.0)
 
int writeKEY (const std::string &name, int saveAll=0, int saveGroupsOfNodes=0, double scalingFactor=1.0)
 
int writeRAD (const std::string &name, int saveAll=0, int saveGroupsOfNodes=0, double scalingFactor=1.0)
 
int writeCELUM (const std::string &name, bool saveAll=false, double scalingFactor=1.0)
 
int readGEOM (const std::string &name)
 
int writeMAIL (const std::string &name, bool saveAll, double scalingFactor)
 
int writeSU2 (const std::string &name, bool saveAll, double scalingFactor)
 
int writeNEU (const std::string &name, bool saveAll, double scalingFactor)
 

Static Public Member Functions

static GModelcurrent (int index=-1)
 
static int setCurrent (GModel *m)
 
static GModelfindByName (const std::string &name, const std::string &fileName="")
 
static int readGEO (const std::string &name)
 
static int readMED (const std::string &name)
 

Public Attributes

smooth_normalsnormals
 
std::function< double(int, int, double, double, double, double)> lcCallback
 

Static Public Attributes

static std::vector< GModel * > list
 

Protected Member Functions

void _storeElementsInEntities (std::map< int, std::vector< MElement * > > &map)
 
void _storeParentsInSubElements (std::map< int, std::vector< MElement * > > &map)
 
void _associateEntityWithMeshVertices ()
 
void _storeVerticesInEntities (std::map< int, MVertex * > &vertices)
 
void _storeVerticesInEntities (std::vector< MVertex * > &vertices)
 
void _storePhysicalTagsInEntities (int dim, std::map< int, std::map< int, std::string > > &map)
 

Protected Attributes

std::string _name
 
std::string _fileName
 
std::set< std::string > _fileNames
 
char _visible
 
std::vector< MVertex * > _vertexVectorCache
 
std::map< int, MVertex * > _vertexMapCache
 
std::vector< std::pair< MElement *, int > > _elementVectorCache
 
std::map< int, std::pair< MElement *, int > > _elementMapCache
 
std::map< int, int > _elementIndexCache
 
std::multimap< MElement *, short > _ghostCells
 
MElementOctree_elementOctree
 
std::map< MVertex *, std::pair< SVector3, SVector3 > > _curvatures
 
GEO_Internals_geo_internals
 
OCC_Internals_occ_internals
 
ACIS_Internals * _acis_internals
 
Parasolid_Internals * _parasolid_internals
 
FieldManager_fields
 
GEntity_currentMeshEntity
 
std::vector< GEntity * > _lastMeshEntityError
 
std::vector< MVertex * > _lastMeshVertexError
 
std::set< GRegion *, GEntityPtrLessThanregions
 
std::set< GFace *, GEntityPtrLessThanfaces
 
std::set< GEdge *, GEntityPtrLessThanedges
 
std::set< GVertex *, GEntityPtrLessThanvertices
 
std::map< std::pair< int, int >, std::string > _physicalNames
 
std::map< std::pair< int, int >, std::string > _elementaryNames
 
std::size_t _numPartitions
 
std::map< std::string, std::vector< std::string > > _attributes
 

Static Protected Attributes

static int _current = -1
 

Private Member Functions

int _readMSH2 (const std::string &name)
 
int _writeMSH2 (const std::string &name, double version, bool binary, bool saveAll, bool saveParametric, double scalingFactor, int elementStartNum, int saveSinglePartition, bool append, bool renumberVertices)
 
int _writePartitionedMSH2 (const std::string &baseName, bool binary, bool saveAll, bool saveParametric, double scalingFactor)
 
int _readMSH3 (const std::string &name)
 
int _writeMSH3 (const std::string &name, double version, bool binary, bool saveAll, bool saveParametric, double scalingFactor, int elementStartNum, int saveSinglePartition, bool append)
 
int _writePartitionedMSH3 (const std::string &baseName, double version, bool binary, bool saveAll, bool saveParametric, double scalingFactor)
 
int _readMSH4 (const std::string &name)
 
int _writeMSH4 (const std::string &name, double version, bool binary, bool saveAll, bool saveParametric, double scalingFactor, bool append, int partitionToSave=0, std::map< GEntity *, SBoundingBox3d > *entityBounds=nullptr)
 
int _writePartitionedMSH4 (const std::string &baseName, double version, bool binary, bool saveAll, bool saveParametric, double scalingFactor)
 
int _writeX3dFile (FILE *fp, bool saveAll, double scalingFactor, int x3dsurfaces, int x3dedges, int x3dvertices, int x3dcolorize, std::vector< GFace * > &customFaces)
 

Private Attributes

std::multimap< std::pair< const std::vector< int >, const std::vector< int > >, std::pair< const std::string, const std::vector< int > > > _homologyRequests
 
std::set< GRegion *, GEntityPtrLessThan_chainRegions
 
std::set< GFace *, GEntityPtrLessThan_chainFaces
 
std::set< GEdge *, GEntityPtrLessThan_chainEdges
 
std::set< GVertex *, GEntityPtrLessThan_chainVertices
 
hashmapMEdge _mapEdgeNum
 
hashmapMFace _mapFaceNum
 
std::size_t _maxVertexNum
 
std::size_t _maxElementNum
 
std::size_t _checkPointedMaxVertexNum
 
std::size_t _checkPointedMaxElementNum
 

Detailed Description

Definition at line 44 of file GModel.h.

Member Typedef Documentation

◆ const_eiter

typedef std::set<GEdge *, GEntityPtrLessThan>::const_iterator GModel::const_eiter

Definition at line 190 of file GModel.h.

◆ const_fiter

typedef std::set<GFace *, GEntityPtrLessThan>::const_iterator GModel::const_fiter

Definition at line 189 of file GModel.h.

◆ const_riter

typedef std::set<GRegion *, GEntityPtrLessThan>::const_iterator GModel::const_riter

Definition at line 188 of file GModel.h.

◆ const_viter

typedef std::set<GVertex *, GEntityPtrLessThan>::const_iterator GModel::const_viter

Definition at line 191 of file GModel.h.

◆ eiter

typedef std::set<GEdge *, GEntityPtrLessThan>::iterator GModel::eiter

Definition at line 185 of file GModel.h.

◆ fiter

typedef std::set<GFace *, GEntityPtrLessThan>::iterator GModel::fiter

Definition at line 184 of file GModel.h.

◆ piter

typedef std::map<std::pair<int, int>, std::string>::iterator GModel::piter

Definition at line 194 of file GModel.h.

◆ riter

typedef std::set<GRegion *, GEntityPtrLessThan>::iterator GModel::riter

Definition at line 183 of file GModel.h.

◆ viter

typedef std::set<GVertex *, GEntityPtrLessThan>::iterator GModel::viter

Definition at line 186 of file GModel.h.

Constructor & Destructor Documentation

◆ GModel()

GModel::GModel ( const std::string &  name = "")

Definition at line 72 of file GModel.cpp.

Referenced by current().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~GModel()

GModel::~GModel ( )
virtual

Definition at line 99 of file GModel.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ _associateEntityWithMeshVertices()

void GModel::_associateEntityWithMeshVertices ( )
protected

Definition at line 2470 of file GModel.cpp.

Referenced by _readMSH2(), _readMSH3(), buildCutGModel(), pruneMeshVertexAssociations(), readACTRAN(), readBDF(), readDIFF(), readGEOM(), readMESH(), readOFF(), readPLY(), readPLY2(), readSAMCEF(), readSTL(), readUNV(), readVRML(), readVTK(), and removeDuplicateMeshVertices().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _readMSH2()

int GModel::_readMSH2 ( const std::string &  name)
private

Definition at line 100 of file GModelIO_MSH2.cpp.

Referenced by readMSH().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _readMSH3()

int GModel::_readMSH3 ( const std::string &  name)
private

Definition at line 190 of file GModelIO_MSH3.cpp.

Referenced by readMSH().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _readMSH4()

int GModel::_readMSH4 ( const std::string &  name)
private

Definition at line 1255 of file GModelIO_MSH4.cpp.

Referenced by readMSH().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _storeElementsInEntities()

void GModel::_storeElementsInEntities ( std::map< int, std::vector< MElement * > > &  map)
protected

Definition at line 2273 of file GModel.cpp.

Referenced by _readMSH2(), _readMSH3(), buildCutGModel(), readACTRAN(), readBDF(), readDIFF(), readGEOM(), readMESH(), readPLY(), readPLY2(), readSAMCEF(), readUNV(), readVRML(), readVTK(), and storeChain().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _storeParentsInSubElements()

void GModel::_storeParentsInSubElements ( std::map< int, std::vector< MElement * > > &  map)
protected

Definition at line 2347 of file GModel.cpp.

Referenced by _readMSH3().

Here is the caller graph for this function:

◆ _storePhysicalTagsInEntities()

void GModel::_storePhysicalTagsInEntities ( int  dim,
std::map< int, std::map< int, std::string > > &  map 
)
protected

Definition at line 2568 of file GModel.cpp.

Referenced by _readMSH2(), buildCutGModel(), readDIFF(), readUNV(), readVTK(), and storeChain().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _storeVerticesInEntities() [1/2]

void GModel::_storeVerticesInEntities ( std::map< int, MVertex * > &  vertices)
protected

Definition at line 2496 of file GModel.cpp.

Referenced by _readMSH2(), _readMSH3(), buildCutGModel(), pruneMeshVertexAssociations(), readACTRAN(), readBDF(), readDIFF(), readGEOM(), readMESH(), readOFF(), readPLY(), readPLY2(), readSAMCEF(), readSTL(), readUNV(), readVRML(), readVTK(), and removeDuplicateMeshVertices().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _storeVerticesInEntities() [2/2]

void GModel::_storeVerticesInEntities ( std::vector< MVertex * > &  vertices)
protected

Definition at line 2511 of file GModel.cpp.

Here is the call graph for this function:

◆ _writeMSH2()

int GModel::_writeMSH2 ( const std::string &  name,
double  version,
bool  binary,
bool  saveAll,
bool  saveParametric,
double  scalingFactor,
int  elementStartNum,
int  saveSinglePartition,
bool  append,
bool  renumberVertices 
)
private

Definition at line 883 of file GModelIO_MSH2.cpp.

Referenced by _writePartitionedMSH2(), and writeMSH().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _writeMSH3()

int GModel::_writeMSH3 ( const std::string &  name,
double  version,
bool  binary,
bool  saveAll,
bool  saveParametric,
double  scalingFactor,
int  elementStartNum,
int  saveSinglePartition,
bool  append 
)
private

Definition at line 725 of file GModelIO_MSH3.cpp.

Referenced by _writePartitionedMSH3(), and writeMSH().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _writeMSH4()

int GModel::_writeMSH4 ( const std::string &  name,
double  version,
bool  binary,
bool  saveAll,
bool  saveParametric,
double  scalingFactor,
bool  append,
int  partitionToSave = 0,
std::map< GEntity *, SBoundingBox3d > *  entityBounds = nullptr 
)
private

Definition at line 2796 of file GModelIO_MSH4.cpp.

Referenced by _writePartitionedMSH4(), and writeMSH().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _writePartitionedMSH2()

int GModel::_writePartitionedMSH2 ( const std::string &  baseName,
bool  binary,
bool  saveAll,
bool  saveParametric,
double  scalingFactor 
)
private

Definition at line 1126 of file GModelIO_MSH2.cpp.

Referenced by writePartitionedMSH().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _writePartitionedMSH3()

int GModel::_writePartitionedMSH3 ( const std::string &  baseName,
double  version,
bool  binary,
bool  saveAll,
bool  saveParametric,
double  scalingFactor 
)
private

Definition at line 841 of file GModelIO_MSH3.cpp.

Referenced by writePartitionedMSH().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _writePartitionedMSH4()

int GModel::_writePartitionedMSH4 ( const std::string &  baseName,
double  version,
bool  binary,
bool  saveAll,
bool  saveParametric,
double  scalingFactor 
)
private

Definition at line 2906 of file GModelIO_MSH4.cpp.

Referenced by writePartitionedMSH().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _writeX3dFile()

int GModel::_writeX3dFile ( FILE *  fp,
bool  saveAll,
double  scalingFactor,
int  x3dsurfaces,
int  x3dedges,
int  x3dvertices,
int  x3dcolorize,
std::vector< GFace * > &  customFaces 
)
private

Definition at line 315 of file GModelIO_X3D.cpp.

Referenced by writeX3D().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ adaptMesh() [1/2]

int GModel::adaptMesh ( )

Definition at line 1215 of file GModel.cpp.

Referenced by GmshBatch().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ adaptMesh() [2/2]

int GModel::adaptMesh ( std::vector< int >  technique,
std::vector< simpleFunction< double > * >  f,
std::vector< std::vector< double > >  parameters,
int  niter,
bool  meshAll = false 
)

Definition at line 1231 of file GModel.cpp.

Here is the call graph for this function:

◆ add() [1/4]

bool GModel::add ( GEdge e)
inline

Definition at line 396 of file GModel.h.

◆ add() [2/4]

bool GModel::add ( GFace f)
inline

Definition at line 395 of file GModel.h.

Here is the call graph for this function:

◆ add() [3/4]

◆ add() [4/4]

bool GModel::add ( GVertex v)
inline

Definition at line 397 of file GModel.h.

◆ addAutomaticExtrusionConstraints()

bool GModel::addAutomaticExtrusionConstraints ( const std::vector< int > &  numElements,
const std::vector< double > &  heights,
const bool  recombine,
const std::vector< int > &  regionTag 
)

Definition at line 322 of file GModelAutoExtrude.cpp.

Referenced by OpenProject().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ addGhostCells()

◆ addHomologyRequest()

void GModel::addHomologyRequest ( const std::string &  type,
const std::vector< int > &  domain,
const std::vector< int > &  subdomain,
const std::vector< int > &  dim 
)

Definition at line 3480 of file GModel.cpp.

◆ addLastMeshEntityError()

void GModel::addLastMeshEntityError ( GEntity e)
inline

Definition at line 585 of file GModel.h.

◆ addLastMeshVertexError()

void GModel::addLastMeshVertexError ( MVertex v)
inline

Definition at line 591 of file GModel.h.

◆ addMEdge()

std::size_t GModel::addMEdge ( MEdge edge,
std::size_t  num = 0 
)

Definition at line 1561 of file GModel.cpp.

◆ addMFace()

std::size_t GModel::addMFace ( MFace face,
std::size_t  num = 0 
)

Definition at line 1583 of file GModel.cpp.

◆ addMVertexToVertexCache()

void GModel::addMVertexToVertexCache ( MVertex v)

Definition at line 1970 of file GModel.cpp.

Here is the call graph for this function:

◆ addPhysicalGroup()

void GModel::addPhysicalGroup ( int  dim,
int  tag,
const std::vector< int > &  tags 
)

Definition at line 881 of file GModel.cpp.

Here is the call graph for this function:

◆ alignPeriodicBoundaries()

void GModel::alignPeriodicBoundaries ( )

Definition at line 2828 of file GModel.cpp.

Referenced by _readMSH2().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ bounds()

◆ buildCutGModel()

GModel * GModel::buildCutGModel ( gLevelset ls,
bool  cutElem = true,
bool  saveTri = false 
)

Definition at line 3376 of file GModel.cpp.

Referenced by thermicSolver::cutMesh(), elasticitySolver::cutMesh(), elasticitySolver::readInputFile(), and GMSH_CutMeshPlugin::run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ changeEntityTag()

bool GModel::changeEntityTag ( int  dim,
int  tag,
int  newTag 
)

Definition at line 367 of file GModel.cpp.

Here is the call graph for this function:

◆ checkMeshCoherence()

void GModel::checkMeshCoherence ( double  tolerance)

Definition at line 2595 of file GModel.cpp.

Referenced by GmshBatch().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ checkPointMaxNumbers()

void GModel::checkPointMaxNumbers ( )
inline

Definition at line 264 of file GModel.h.

◆ classifySurfaces()

void GModel::classifySurfaces ( double  angleThreshold,
bool  includeBoundary,
bool  forReparametrization,
double  curveAngleThreshold 
)

Definition at line 3472 of file GModel.cpp.

Referenced by GmshBatch().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ clearHomologyRequests()

void GModel::clearHomologyRequests ( )

Definition at line 3491 of file GModel.cpp.

◆ clearLastMeshEntityError()

void GModel::clearLastMeshEntityError ( )
inline

Definition at line 584 of file GModel.h.

Referenced by GenerateMesh().

Here is the caller graph for this function:

◆ clearLastMeshVertexError()

void GModel::clearLastMeshVertexError ( )
inline

Definition at line 590 of file GModel.h.

Referenced by GenerateMesh().

Here is the caller graph for this function:

◆ computeHomology()

void GModel::computeHomology ( std::vector< std::pair< int, int > > &  newPhysicals)

Definition at line 3496 of file GModel.cpp.

Referenced by mesh().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ computeSizeField()

void GModel::computeSizeField ( )

Definition at line 3590 of file GModel.cpp.

Referenced by GmshBatch().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ convertOldPartitioningToNewOne()

int GModel::convertOldPartitioningToNewOne ( )

Definition at line 2236 of file GModel.cpp.

Referenced by _readMSH2(), and _readMSH3().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createACISInternals()

void GModel::createACISInternals ( )

Definition at line 3604 of file GModel.cpp.

◆ createGEOInternals()

void GModel::createGEOInternals ( )

Definition at line 1670 of file GModelIO_GEO.cpp.

Referenced by GModel().

Here is the caller graph for this function:

◆ createGeometryOfDiscreteEntities()

void GModel::createGeometryOfDiscreteEntities ( const std::vector< std::pair< int, int > > &  dimTags = std::vector<std::pair<int, int> >())

Definition at line 2370 of file GModel.cpp.

Referenced by GmshBatch().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ createOCCInternals()

void GModel::createOCCInternals ( )

Definition at line 5874 of file GModelIO_OCC.cpp.

Referenced by _createOcc().

Here is the caller graph for this function:

◆ createParasolidInternals()

void GModel::createParasolidInternals ( )

Definition at line 3619 of file GModel.cpp.

◆ createTopologyFromMesh()

void GModel::createTopologyFromMesh ( )

Definition at line 663 of file GModelCreateTopologyFromMesh.cpp.

Referenced by _readMSH2().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ current()

GModel * GModel::current ( int  index = -1)
static

Definition at line 136 of file GModel.cpp.

Referenced by _addElements(), _addModelData(), _checkInit(), _create_splitted_curve(), _createOcc(), _getEntities(), _getEntitiesForElementTypes(), addEmbedded(), addPeriodicEdge(), addPeriodicFace(), groupOfElements::addPhysical(), allEdgesLinked(), allFacesLinked(), ApplicationOnShapes(), BGM_MeshSizeWithoutScaling(), ClearProject(), BoundaryLayerField::computeFor1dMesh(), CreateCurve(), createEdgeLinks(), CreateEdgeLoop(), createFaceLinks(), CreateOutputFile(), CreatePhysicalGroup(), CreateReversedCurve(), CreateSurface(), CreateSurfaceLoop(), CreateVertex(), CreateVolume(), DeleteCurve(), MVertex::deleteLast(), DeletePhysicalLine(), DeletePhysicalPoint(), DeletePhysicalSurface(), DeletePhysicalVolume(), DeletePoint(), DeleteSurface(), DeleteVolume(), DoSystemUncompress(), drawContext::draw3d(), drawArrays(), drawContext::drawBackgroundImage(), drawContext::drawImage(), DuplicateCurve(), DuplicateSurface(), DuplicateVertex(), DuplicateVolume(), GMSH_NewViewPlugin::elementData(), MathEvalExpression::evaluate(), MathEvalExpressionAniso::evaluate(), GMSH_CrackPlugin::execute(), GMSH_GaussPointsPlugin::execute(), GMSH_MeshSubEntitiesPlugin::execute(), GMSH_SkinPlugin::execute(), GMSH_MeshVolumePlugin::execute(), GMSH_CurvedBndDistPlugin::execute(), GMSH_MeshSizeFieldViewPlugin::execute(), GMSH_InvisiblePlugin::execute(), GMSH_DiscretizationErrorPlugin::execute(), GMSH_FieldFromAmplitudePhasePlugin::execute(), GMSH_BubblesPlugin::execute(), GMSH_NewViewPlugin::execute(), GMSH_DistancePlugin::execute(), GMSH_BoundaryAnglesPlugin::execute(), GMSH_ShowNeighborElementsPlugin::execute(), ExtrudeCurve(), ExtrudePoint(), ExtrudeSurface(), FindCurve(), FindEdgeLoop(), FindPhysicalGroup(), FindPoint(), FindSurface(), FindSurfaceLoop(), FindVolume(), MElement::forceNum(), MVertex::forceNum(), getAllElementaryTags(), getAllPhysicalTags(), getBoundingBox(), GetDefaultFileName(), getElementaryTagsForPhysicalGroups(), getElementaryTagsInBoundingBox(), GetMeshOption(), GetOptions(), getParentTags(), GetStatistics(), GFaceDelaunayRefinement(), GFaceDelaunayRefinementOldMesher(), GFaceInitialMesh(), gLevelsetYarn::gLevelsetYarn(), GmshBatch(), GmshFLTK(), PViewDataGModel::importLists(), Msg::ImportPhysicalGroupsInOnelab(), IntersectCurvesWithSurface(), load(), MaxNumCurve(), MaxNumPoint(), MaxNumSurface(), MElement::MElement(), MergeFile(), MergePostProcessingFile(), MVertex::MVertex(), needPolygonOffset(), NEWCURVE(), NEWCURVELOOP(), NEWFIELD(), NEWPHYSICAL(), NEWPOINT(), NEWREG(), NEWSURFACE(), NEWSURFACELOOP(), NEWVOLUME(), GMSH_NewViewPlugin::nodeData(), OpenProject(), drawGVertex::operator()(), drawGEdge::operator()(), BoundaryLayerField::operator()(), drawGFace::operator()(), LonLatField::operator()(), drawMeshGVertex::operator()(), drawGRegion::operator()(), drawMeshGEdge::operator()(), drawMeshGFace::operator()(), drawMeshGRegion::operator()(), ThresholdField::operator()(), GradientField::operator()(), CurvatureField::operator()(), MaxEigenHessianField::operator()(), LaplacianField::operator()(), MeanField::operator()(), ParametricField::operator()(), MinAnisoField::operator()(), IntersectAnisoField::operator()(), MinField::operator()(), MaxField::operator()(), RestrictField::operator()(), opt_general_filename(), opt_general_xmax(), opt_general_xmin(), opt_general_ymax(), opt_general_ymin(), opt_general_zmax(), opt_general_zmin(), orientAndSortEdges(), ParseString(), PolyMesh2GFace(), PrintOptionsDoc(), Field::putOnNewView(), QuadqsContextUpdater::QuadqsContextUpdater(), readGEO(), PView::readMSH(), PViewDataGModel::readMSH(), readMSH4Nodes(), PViewDataGModel::readPCH(), RecognizeLineLoop(), RecognizeSurfaceLoop(), ExtendField::recomputeCurves(), ExtendField::recomputeSurfaces(), recurFindLinkedEdges(), recurFindLinkedFaces(), RemoveDegenerateCurves(), RemoveDegenerateSurfaces(), RemoveDegenerateVolumes(), removeEmbedded(), ReplaceDuplicateCurves(), ReplaceDuplicatePoints(), ReplaceDuplicatePointsNew(), ReplaceDuplicateSurfaces(), GMSH_CutMeshPlugin::run(), GMSH_SimplePartitionPlugin::run(), GMSH_SpanningTreePlugin::run(), save(), scriptAddBox(), scriptAddCircle(), scriptAddCircleArc(), scriptAddCommand(), scriptAddCone(), scriptAddCurve(), scriptAddCurveLoop(), scriptAddCylinder(), scriptAddDisk(), scriptAddEllipse(), scriptAddEllipseArc(), scriptAddPipe(), scriptAddPoint(), scriptAddRectangle(), scriptAddRemovePhysicalGroup(), scriptAddSphere(), scriptAddSurface(), scriptAddSurfaceLoop(), scriptAddTorus(), scriptAddVolume(), scriptAddWedge(), drawContext::select(), SetBoundingBox(), setColor(), SetSurfaceGeneratrices(), BoundaryLayerField::setupFor1d(), BoundaryLayerField::setupFor2d(), setVisibility(), SetVolumeSurfaces(), SplitCurve(), jacobianBasedQuality::testAllMeasuresAllElements(), OctreeField::update(), DistanceField::update(), and writeNEU().

Here is the call graph for this function:

◆ decrementMaxVertexNumber()

void GModel::decrementMaxVertexNumber ( )
inline

Definition at line 258 of file GModel.h.

Referenced by MVertex::deleteLast().

Here is the caller graph for this function:

◆ deleteACISInternals()

void GModel::deleteACISInternals ( )

Definition at line 3606 of file GModel.cpp.

Referenced by ~GModel().

Here is the caller graph for this function:

◆ deleteGEOInternals()

void GModel::deleteGEOInternals ( )

Definition at line 1672 of file GModelIO_GEO.cpp.

Referenced by ~GModel().

Here is the caller graph for this function:

◆ deleteMesh() [1/2]

void GModel::deleteMesh ( )

Definition at line 236 of file GModel.cpp.

Referenced by deleteMesh(), and GenerateMesh().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ deleteMesh() [2/2]

void GModel::deleteMesh ( const std::vector< GEntity * > &  entities)

Definition at line 248 of file GModel.cpp.

Here is the call graph for this function:

◆ deleteOCCInternals()

void GModel::deleteOCCInternals ( )

Definition at line 5880 of file GModelIO_OCC.cpp.

Referenced by ~GModel().

Here is the caller graph for this function:

◆ deleteParasolidInternals()

void GModel::deleteParasolidInternals ( )

Definition at line 3621 of file GModel.cpp.

Referenced by ~GModel().

Here is the caller graph for this function:

◆ deleteVertexArrays()

void GModel::deleteVertexArrays ( )

Definition at line 299 of file GModel.cpp.

Referenced by classifyFaces().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ destroy()

void GModel::destroy ( bool  keepName = false)

Definition at line 168 of file GModel.cpp.

Referenced by OpenProject(), and ~GModel().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ destroyMeshCaches()

void GModel::destroyMeshCaches ( )

◆ empty()

bool GModel::empty ( ) const

Definition at line 311 of file GModel.cpp.

Referenced by MergeFile(), PrintMesh2dStatistics(), PView::readMSH(), readSTL(), and writeMATLAB().

Here is the caller graph for this function:

◆ exportDiscreteGEOInternals()

int GModel::exportDiscreteGEOInternals ( )

Definition at line 1910 of file GModelIO_GEO.cpp.

Referenced by classifyFaces().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fillVertexArrays()

bool GModel::fillVertexArrays ( )

Definition at line 452 of file GModelVertexArrays.cpp.

Referenced by drawContext::drawMesh().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ findByName()

GModel * GModel::findByName ( const std::string &  name,
const std::string &  fileName = "" 
)
static

Definition at line 158 of file GModel.cpp.

Referenced by _addModelData().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ firstEdge() [1/2]

◆ firstEdge() [2/2]

const_eiter GModel::firstEdge ( ) const
inline

Definition at line 364 of file GModel.h.

◆ firstElementaryName()

piter GModel::firstElementaryName ( )
inline

Definition at line 460 of file GModel.h.

◆ firstFace() [1/2]

fiter GModel::firstFace ( )
inline

Definition at line 355 of file GModel.h.

Referenced by _associateEntityWithMeshVertices(), _getOneElementOfGivenType(), _isModelOkForTopologicalOpti(), _writeMSH2(), _writeMSH3(), _writeX3dFile(), adaptMesh(), alignPeriodicBoundaries(), BarycentricRefineMesh(), checkHighOrderTriangles(), classifyFaces(), completeTheSetOfFaces(), computeDiscreteCurvatures(), computeEdgeCut(), computeLevelset(), computeNonManifoldEdges(), createFaceLinks(), createGeometryOfDiscreteEntities(), createSizeFieldFromExistingMesh(), createTopologyFromMesh2D(), createTopologyFromMesh3D(), deleteMesh(), deleteVertexArrays(), destroy(), drawContext::drawGeom(), drawContext::drawMesh(), ensureManifoldFaces(), GMSH_CurvedBndDistPlugin::execute(), GMSH_BubblesPlugin::execute(), GMSH_BoundaryAnglesPlugin::execute(), GMSH_ShowNeighborElementsPlugin::execute(), exportDiscreteGEOInternals(), fillVertexArrays(), FixErasedExtrScaleFlags(), FixPeriodicMesh(), GeomMeshMatcher::forceTomatch(), GenerateMesh(), getEntitiesToSave(), getFacesOfTheModel(), getGFace(), getMeshStatus(), getNumElementsMSH(), getNumMeshElements(), PViewDataGModel::getNumPolygons(), PViewDataGModel::getNumQuadrangles(), PViewDataGModel::getNumTriangles(), GetStatistics(), insertVerticesInRegion(), makeDiscreteFacesSimplyConnected(), GeomMeshMatcher::matchFaces(), Mesh2D(), Mesh2DWithBoundaryLayers(), meshMetric::meshMetric(), OptimizeMesh(), PrintMesh2dStatistics(), RecombineMesh(), RefineMesh(), remove(), removeInvisibleElements(), reverseInvisibleElements(), SetOrder1(), SetOrderN(), GEO_Internals::synchronize(), jacobianBasedQuality::testAllMeasuresAllElements(), topoExists(), writeCELUM(), writeGEO(), writeINP(), writeIR3(), writeKEY(), writeMAIL(), writeMESH(), writeMSH4Entities(), writeMSH4Parametrizations(), writeMSHEntities(), writeNEU(), writeP3D(), writePLY2(), writePY(), writeRAD(), writeSTL(), writeSU2(), writeTOCHNOG(), and writeVRML().

◆ firstFace() [2/2]

const_fiter GModel::firstFace ( ) const
inline

Definition at line 363 of file GModel.h.

◆ firstMEdge()

hashmapMEdge::const_iterator GModel::firstMEdge ( )
inline

Definition at line 285 of file GModel.h.

◆ firstMFace()

hashmapMFace::const_iterator GModel::firstMFace ( )
inline

Definition at line 287 of file GModel.h.

◆ firstPhysicalName()

piter GModel::firstPhysicalName ( )
inline

Definition at line 458 of file GModel.h.

Referenced by _writeMSH2(), _writeMSH3(), _writeMSH4(), getInnerPhysicalNamesIterators(), and getPhysicalNumber().

Here is the caller graph for this function:

◆ firstRegion() [1/2]

riter GModel::firstRegion ( )
inline

◆ firstRegion() [2/2]

const_riter GModel::firstRegion ( ) const
inline

Definition at line 362 of file GModel.h.

◆ firstVertex() [1/2]

◆ firstVertex() [2/2]

const_viter GModel::firstVertex ( ) const
inline

Definition at line 365 of file GModel.h.

◆ getACISInternals()

ACIS_Internals* GModel::getACISInternals ( )
inline

Definition at line 316 of file GModel.h.

◆ getAttributes()

std::map<std::string, std::vector<std::string> >& GModel::getAttributes ( )
inline

Definition at line 731 of file GModel.h.

◆ getBoundaryTags()

bool GModel::getBoundaryTags ( const std::vector< std::pair< int, int > > &  inDimTags,
std::vector< std::pair< int, int > > &  outDimTags,
bool  combined,
bool  oriented = true,
bool  recursive = false 
)

Definition at line 697 of file GModel.cpp.

Here is the call graph for this function:

◆ getCheckPointedMaxNumbers()

void GModel::getCheckPointedMaxNumbers ( std::size_t &  maxv,
std::size_t &  maxe 
) const
inline

Definition at line 269 of file GModel.h.

◆ getCurrentMeshEntity()

GEntity* GModel::getCurrentMeshEntity ( )
inline

Definition at line 581 of file GModel.h.

◆ getCurvatures()

std::map<MVertex *, std::pair<SVector3, SVector3> >& GModel::getCurvatures ( )
inline

Definition at line 719 of file GModel.h.

Referenced by computeDiscreteCurvatures(), and discreteFace::createGeometry().

Here is the caller graph for this function:

◆ getDim()

int GModel::getDim ( ) const

Definition at line 989 of file GModel.cpp.

Referenced by adaptMesh(), computeHomology(), createTopologyFromMesh(), getBoundaryFromMesh(), meshMetric::meshMetric(), OptimizeMesh(), readMSH4Entities(), writeNEU(), writeSU2(), and writeTOCHNOG().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getEdgeByTag()

◆ getEdgeForOCCShape()

GEdge * GModel::getEdgeForOCCShape ( const void *  shape)

Definition at line 5966 of file GModelIO_OCC.cpp.

◆ getEdges()

std::set<GEdge *, GEntityPtrLessThan> GModel::getEdges ( ) const
inline

Definition at line 377 of file GModel.h.

Referenced by GlobalBackgroundMesh::importGModelMeshes().

Here is the caller graph for this function:

◆ getElementaryName()

std::string GModel::getElementaryName ( int  dim,
int  tag 
)

Definition at line 1007 of file GModel.cpp.

Referenced by _writeX3dFile(), drawEntityLabel(), GEntity::getInfoString(), writeSTL(), and writeX3D().

Here is the caller graph for this function:

◆ getEntities()

void GModel::getEntities ( std::vector< GEntity * > &  entities,
int  dim = -1 
) const

Definition at line 651 of file GModel.cpp.

Referenced by _getEntities(), _getEntitiesForElementTypes(), _readMSH4(), _writeMSH2(), _writeMSH3(), _writeMSH4(), _writePartitionedMSH4(), bounds(), buildCutMesh(), checkMeshCoherence(), GMSH_NewViewPlugin::elementData(), GMSH_GaussPointsPlugin::execute(), GMSH_CrackPlugin::execute(), GMSH_MeshVolumePlugin::execute(), GMSH_InvisiblePlugin::execute(), GMSH_FieldFromAmplitudePhasePlugin::execute(), GMSH_DistancePlugin::execute(), stepData< Real >::fillEntities(), MElementOctree::find(), MElementOctree::findAll(), GeomMeshMatcher::forceTomatch(), getAllElementaryTags(), getBoundaryFromMesh(), getEntitiesInBox(), getMaxElementaryNumber(), getMaxPhysicalNumber(), getNumMeshElements(), getNumMeshParentElements(), getNumMeshVertices(), getPhysicalGroups(), indexMeshVertices(), GeomMeshMatcher::matchRegions(), MElementOctree::MElementOctree(), GMSH_NewViewPlugin::nodeData(), noPhysicalGroups(), pruneMeshVertexAssociations(), Field::putOnNewView(), readMSH4GhostElements(), readPLY(), rebuildMeshElementCache(), rebuildMeshVertexCache(), removeDuplicateMeshElements(), removeDuplicateMeshVertices(), removePhysicalGroup(), removePhysicalGroups(), renumberMeshElements(), renumberMeshVertices(), GMSH_SimplePartitionPlugin::run(), scaleMesh(), setSelection(), setVisibility(), writeBDF(), writeDIFF(), writeINP(), writeIR3(), writeKEY(), writeMAIL(), writeMATLAB(), writeMESH(), writeMSH4GhostCells(), writeMSH4PeriodicNodes(), writeNEU(), writeOFF(), writePartitionedTopology(), writePLY2(), writePOS(), writeRAD(), writeSU2(), writeTOCHNOG(), writeUNV(), writeVTK(), and writeX3D().

◆ getEntitiesInBox()

void GModel::getEntitiesInBox ( std::vector< GEntity * > &  entities,
const SBoundingBox3d box,
int  dim = -1 
) const

Definition at line 672 of file GModel.cpp.

Referenced by getElementaryTagsInBoundingBox(), and setPhysicalNumToEntitiesInBox().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getEntityByTag()

GEntity * GModel::getEntityByTag ( int  dim,
int  n 
) const

Definition at line 356 of file GModel.cpp.

Referenced by _getEntities(), _getEntitiesForElementTypes(), addPhysicalGroup(), getBoundingBox(), getParentTags(), readMSH4BoundingEntities(), readMSH4Elements(), readMSH4Entities(), readMSH4Nodes(), setColor(), and setVisibility().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFaceByTag()

◆ getFaceForOCCShape()

GFace * GModel::getFaceForOCCShape ( const void *  shape)

Definition at line 5976 of file GModelIO_OCC.cpp.

◆ getFaces()

std::set<GFace *, GEntityPtrLessThan> GModel::getFaces ( ) const
inline

◆ getFields()

◆ getFileName()

std::string GModel::getFileName ( ) const
inline

Definition at line 333 of file GModel.h.

Referenced by opt_general_filename().

Here is the caller graph for this function:

◆ getGEOInternals()

◆ getGhostCells()

std::multimap<MElement *, short>& GModel::getGhostCells ( )
inline

Definition at line 618 of file GModel.h.

Referenced by writeElementMSH().

Here is the caller graph for this function:

◆ getInnerPhysicalNamesIterators()

void GModel::getInnerPhysicalNamesIterators ( std::vector< piter > &  iterators)

Definition at line 929 of file GModel.cpp.

Referenced by _readMSH4().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getLastMeshEntityError()

std::vector<GEntity *> GModel::getLastMeshEntityError ( )
inline

Definition at line 586 of file GModel.h.

◆ getLastMeshVertexError()

std::vector<MVertex *> GModel::getLastMeshVertexError ( )
inline

Definition at line 592 of file GModel.h.

◆ getMaxElementaryNumber()

◆ getMaxElementNumber()

std::size_t GModel::getMaxElementNumber ( ) const
inline

Definition at line 223 of file GModel.h.

◆ getMaxPhysicalNumber()

int GModel::getMaxPhysicalNumber ( int  dim)

Definition at line 917 of file GModel.cpp.

Referenced by GMSH_SpanningTreePlugin::addToModel(), buildCutMesh(), setPhysicalName(), writeElementsMSH(), and writeNEU().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMaxVertexNumber()

std::size_t GModel::getMaxVertexNumber ( ) const
inline

Definition at line 222 of file GModel.h.

Referenced by MVertex::deleteLast().

Here is the caller graph for this function:

◆ getMEdge()

std::size_t GModel::getMEdge ( MVertex v0,
MVertex v1,
MEdge edge 
)

Definition at line 1569 of file GModel.cpp.

Here is the call graph for this function:

◆ getMeshDim()

int GModel::getMeshDim ( ) const

Definition at line 998 of file GModel.cpp.

Referenced by checkMeshCoherence(), GMSH_DistancePlugin::execute(), and OptimizeMesh().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMeshElementByCoord()

MElement * GModel::getMeshElementByCoord ( SPoint3 p,
SPoint3 param,
int  dim = -1,
bool  strict = true 
)

Definition at line 1842 of file GModel.cpp.

Referenced by getElement().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMeshElementByTag() [1/2]

MElement* GModel::getMeshElementByTag ( int  n)
inline

Definition at line 538 of file GModel.h.

Referenced by readMSH4GhostElements(), MSubTetrahedron::updateParent(), MSubTriangle::updateParent(), MSubLine::updateParent(), MSubPoint::updateParent(), and writeNEU().

Here is the caller graph for this function:

◆ getMeshElementByTag() [2/2]

MElement * GModel::getMeshElementByTag ( int  n,
int &  entityTag 
)

Definition at line 2007 of file GModel.cpp.

Here is the call graph for this function:

◆ getMeshElementIndex()

int GModel::getMeshElementIndex ( MElement e)

Definition at line 2027 of file GModel.cpp.

Referenced by _writeMSH2(), and writeElementsMSH().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMeshElementsByCoord()

std::vector< MElement * > GModel::getMeshElementsByCoord ( SPoint3 p,
int  dim = -1,
bool  strict = true 
)

Definition at line 1865 of file GModel.cpp.

Referenced by getElement().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMeshStatus()

int GModel::getMeshStatus ( bool  countDiscrete = true)

Definition at line 1474 of file GModel.cpp.

Referenced by drawContext::drawMesh(), GMSH_NewViewPlugin::execute(), fillVertexArrays(), GenerateMesh(), and needPolygonOffset().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMeshVertexByTag()

MVertex * GModel::getMeshVertexByTag ( int  n)

◆ getMeshVerticesForPhysicalGroup()

void GModel::getMeshVerticesForPhysicalGroup ( int  dim,
int  num,
std::vector< MVertex * > &  v 
)

Definition at line 1987 of file GModel.cpp.

Referenced by femTerm< scalar >::dirichletNodalBC().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getMFace()

std::size_t GModel::getMFace ( MVertex v0,
MVertex v1,
MVertex v2,
MVertex v3,
MFace face 
)

Definition at line 1591 of file GModel.cpp.

Here is the call graph for this function:

◆ getName()

std::string GModel::getName ( ) const
inline

Definition at line 329 of file GModel.h.

Referenced by buildCutMesh(), destroy(), GMSH_FieldFromAmplitudePhasePlugin::execute(), findByName(), PrintMesh2dStatistics(), writeMATLAB(), and writeVTK().

Here is the caller graph for this function:

◆ getNumEdges()

std::size_t GModel::getNumEdges ( ) const
inline

◆ getNumFaces()

std::size_t GModel::getNumFaces ( ) const
inline

◆ getNumMeshElements() [1/2]

std::size_t GModel::getNumMeshElements ( int  dim = -1) const

Definition at line 1540 of file GModel.cpp.

Referenced by adaptMesh(), PViewDataGModel::addData(), buildCutMesh(), checkMeshCoherence(), GenerateMesh(), getMeshDim(), rebuildMeshElementCache(), GMSH_SimplePartitionPlugin::run(), drawContext::select(), GEO_Internals::synchronize(), writeSU2(), and writeUNV().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getNumMeshElements() [2/2]

std::size_t GModel::getNumMeshElements ( unsigned  c[6])

Definition at line 1822 of file GModel.cpp.

Here is the call graph for this function:

◆ getNumMeshParentElements()

std::size_t GModel::getNumMeshParentElements ( ) const

Definition at line 1551 of file GModel.cpp.

Referenced by buildCutMesh().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getNumMeshVertices()

std::size_t GModel::getNumMeshVertices ( int  dim = -1) const

Definition at line 1529 of file GModel.cpp.

Referenced by PViewDataGModel::addData(), checkMeshCoherence(), GMSH_MeshVolumePlugin::execute(), GMSH_DistancePlugin::execute(), GenerateMesh(), rebuildMeshVertexCache(), GMSH_SpanningTreePlugin::run(), and writeMSH4Nodes().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getNumPartitions()

◆ getNumRegions()

std::size_t GModel::getNumRegions ( ) const
inline

◆ getNumVertices()

std::size_t GModel::getNumVertices ( ) const
inline

◆ getOCCInternals()

◆ getParasolidInternals()

Parasolid_Internals* GModel::getParasolidInternals ( )
inline

Definition at line 317 of file GModel.h.

◆ getPhysicalGroups() [1/2]

void GModel::getPhysicalGroups ( int  dim,
std::map< int, std::vector< GEntity * > > &  groups 
) const

Definition at line 861 of file GModel.cpp.

Here is the call graph for this function:

◆ getPhysicalGroups() [2/2]

◆ getPhysicalName()

std::string GModel::getPhysicalName ( int  dim,
int  num 
) const

◆ getPhysicalNames()

const std::map<std::pair<int, int>, std::string>& GModel::getPhysicalNames ( ) const
inline

Definition at line 437 of file GModel.h.

Referenced by GeomMeshMatcher::match().

Here is the caller graph for this function:

◆ getPhysicalNumber()

int GModel::getPhysicalNumber ( const int &  dim,
const std::string &  name 
)

Definition at line 980 of file GModel.cpp.

Referenced by elasticitySolver::addDirichletBC(), elasticitySolver::addElasticDomain(), elasticitySolver::addNeumannBC(), getTagsForPhysicalName(), and setPhysicalName().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRegionByTag()

◆ getRegionForOCCShape()

GRegion * GModel::getRegionForOCCShape ( const void *  shape)

Definition at line 5986 of file GModelIO_OCC.cpp.

◆ getRegions()

std::set<GRegion *, GEntityPtrLessThan> GModel::getRegions ( ) const
inline

Definition at line 372 of file GModel.h.

Referenced by OptimizeMesh().

Here is the caller graph for this function:

◆ getTagsForPhysicalName()

std::vector< int > GModel::getTagsForPhysicalName ( int  dim,
const std::string &  name 
)

Definition at line 420 of file GModel.cpp.

Here is the call graph for this function:

◆ getVertexByTag()

◆ getVertexForOCCShape()

GVertex * GModel::getVertexForOCCShape ( const void *  shape)

Definition at line 5956 of file GModelIO_OCC.cpp.

◆ getVertices()

std::set<GVertex *, GEntityPtrLessThan> GModel::getVertices ( ) const
inline

Definition at line 378 of file GModel.h.

Referenced by GlobalBackgroundMesh::importGModelMeshes().

Here is the caller graph for this function:

◆ getVisibility()

char GModel::getVisibility ( ) const
inline

Definition at line 340 of file GModel.h.

Referenced by bounds(), drawContext::drawGeom(), drawContext::drawMesh(), fillVertexArrays(), setSelection(), and ~GModel().

Here is the caller graph for this function:

◆ hasFileName()

bool GModel::hasFileName ( const std::string &  name) const
inline

Definition at line 334 of file GModel.h.

◆ importOCCShape()

int GModel::importOCCShape ( const void *  shape)

Definition at line 5942 of file GModelIO_OCC.cpp.

Here is the call graph for this function:

◆ incrementAndGetMaxElementNumber()

std::size_t GModel::incrementAndGetMaxElementNumber ( )
inline

Definition at line 246 of file GModel.h.

Referenced by MElement::MElement().

Here is the caller graph for this function:

◆ incrementAndGetMaxVertexNumber()

std::size_t GModel::incrementAndGetMaxVertexNumber ( )
inline

Definition at line 236 of file GModel.h.

Referenced by MVertex::MVertex().

Here is the caller graph for this function:

◆ indexMeshVertices()

std::size_t GModel::indexMeshVertices ( bool  all,
int  singlePartition = 0,
bool  renumber = true 
)

Definition at line 2135 of file GModel.cpp.

Referenced by _writeMSH2(), _writeMSH3(), buildCutMesh(), writeBDF(), writeDIFF(), writeINP(), writeIR3(), writeKEY(), writeMAIL(), writeMATLAB(), writeMESH(), writeNEU(), writeOFF(), writePLY2(), writeRAD(), writeSU2(), writeTOCHNOG(), writeUNV(), writeVRML(), and writeVTK().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ lastEdge() [1/2]

◆ lastEdge() [2/2]

const_eiter GModel::lastEdge ( ) const
inline

Definition at line 368 of file GModel.h.

◆ lastElementaryName()

piter GModel::lastElementaryName ( )
inline

Definition at line 461 of file GModel.h.

◆ lastFace() [1/2]

fiter GModel::lastFace ( )
inline

Definition at line 359 of file GModel.h.

Referenced by _associateEntityWithMeshVertices(), _getOneElementOfGivenType(), _isModelOkForTopologicalOpti(), _writeMSH2(), _writeMSH3(), _writeX3dFile(), adaptMesh(), alignPeriodicBoundaries(), BarycentricRefineMesh(), checkHighOrderTriangles(), classifyFaces(), completeTheSetOfFaces(), computeDiscreteCurvatures(), computeEdgeCut(), computeLevelset(), computeNonManifoldEdges(), createFaceLinks(), createGeometryOfDiscreteEntities(), createSizeFieldFromExistingMesh(), createTopologyFromMesh2D(), createTopologyFromMesh3D(), deleteMesh(), deleteVertexArrays(), destroy(), drawContext::drawGeom(), drawContext::drawMesh(), ensureManifoldFaces(), GMSH_CurvedBndDistPlugin::execute(), GMSH_DiscretizationErrorPlugin::execute(), GMSH_BubblesPlugin::execute(), GMSH_BoundaryAnglesPlugin::execute(), GMSH_ShowNeighborElementsPlugin::execute(), exportDiscreteGEOInternals(), fillVertexArrays(), FixErasedExtrScaleFlags(), FixPeriodicMesh(), GeomMeshMatcher::forceTomatch(), GenerateMesh(), getEntitiesToSave(), getFacesOfTheModel(), getGFace(), getMeshStatus(), getNumElementsMSH(), getNumMeshElements(), PViewDataGModel::getNumPolygons(), PViewDataGModel::getNumQuadrangles(), PViewDataGModel::getNumTriangles(), GetStatistics(), insertVerticesInRegion(), makeDiscreteFacesSimplyConnected(), GeomMeshMatcher::matchFaces(), Mesh2D(), Mesh2DWithBoundaryLayers(), meshMetric::meshMetric(), OptimizeMesh(), PrintMesh2dStatistics(), RecombineMesh(), RefineMesh(), remove(), removeInvisibleElements(), reverseInvisibleElements(), SetOrder1(), SetOrderN(), GEO_Internals::synchronize(), jacobianBasedQuality::testAllMeasuresAllElements(), topoExists(), writeCELUM(), writeGEO(), writeINP(), writeIR3(), writeKEY(), writeMAIL(), writeMESH(), writeMSH4Entities(), writeMSH4Parametrizations(), writeMSHEntities(), writeNEU(), writeP3D(), writePLY2(), writePY(), writeRAD(), writeSTL(), writeSU2(), writeTOCHNOG(), and writeVRML().

◆ lastFace() [2/2]

const_fiter GModel::lastFace ( ) const
inline

Definition at line 367 of file GModel.h.

◆ lastMEdge()

hashmapMEdge::const_iterator GModel::lastMEdge ( )
inline

Definition at line 286 of file GModel.h.

◆ lastMFace()

hashmapMFace::const_iterator GModel::lastMFace ( )
inline

Definition at line 288 of file GModel.h.

◆ lastPhysicalName()

piter GModel::lastPhysicalName ( )
inline

Definition at line 459 of file GModel.h.

Referenced by _writeMSH2(), _writeMSH3(), _writeMSH4(), getInnerPhysicalNamesIterators(), getPhysicalNumber(), and setPhysicalName().

Here is the caller graph for this function:

◆ lastRegion() [1/2]

riter GModel::lastRegion ( )
inline

◆ lastRegion() [2/2]

const_riter GModel::lastRegion ( ) const
inline

Definition at line 366 of file GModel.h.

◆ lastVertex() [1/2]

◆ lastVertex() [2/2]

const_viter GModel::lastVertex ( ) const
inline

Definition at line 369 of file GModel.h.

◆ load()

void GModel::load ( const std::string &  fileName)

Definition at line 3424 of file GModel.cpp.

Referenced by readUNV().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ makeDiscreteFacesSimplyConnected()

void GModel::makeDiscreteFacesSimplyConnected ( )

Definition at line 3160 of file GModel.cpp.

Here is the call graph for this function:

◆ makeDiscreteRegionsSimplyConnected()

void GModel::makeDiscreteRegionsSimplyConnected ( )

Definition at line 3101 of file GModel.cpp.

Here is the call graph for this function:

◆ mesh()

int GModel::mesh ( int  dimension)

◆ noPhysicalGroups()

bool GModel::noPhysicalGroups ( )

Definition at line 828 of file GModel.cpp.

Referenced by _writeMSH2(), _writeMSH3(), _writeMSH4(), _writeX3dFile(), writeBDF(), writeCELUM(), writeDIFF(), writeINP(), writeIR3(), writeKEY(), writeMAIL(), writeMATLAB(), writeMESH(), writeOFF(), writeP3D(), writePOS(), writeRAD(), writeSTL(), writeSU2(), writeTOCHNOG(), writeUNV(), writeVRML(), and writeVTK().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ numPhysicalNames()

int GModel::numPhysicalNames ( ) const
inline

Definition at line 464 of file GModel.h.

Referenced by _readMSH4(), _writeMSH2(), _writeMSH3(), and _writeMSH4().

Here is the caller graph for this function:

◆ optimizeMesh()

int GModel::optimizeMesh ( const std::string &  how,
bool  force = false,
int  niter = 1 
)

Definition at line 1437 of file GModel.cpp.

Here is the call graph for this function:

◆ partitionMesh()

int GModel::partitionMesh ( int  num,
std::vector< std::pair< MElement *, int > >  elementPartition = std::vector<std::pair<MElement *, int> >() 
)

Definition at line 2208 of file GModel.cpp.

Referenced by GmshBatch().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ pruneMeshVertexAssociations()

void GModel::pruneMeshVertexAssociations ( )

Definition at line 2527 of file GModel.cpp.

Referenced by classifyFaces(), computeHomology(), createTopologyFromMesh(), GMSH_MeshSubEntitiesPlugin::execute(), and SetOrderN().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readACISSAT()

int GModel::readACISSAT ( const std::string &  name)

Definition at line 3608 of file GModel.cpp.

Referenced by MergeFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readACTRAN()

int GModel::readACTRAN ( const std::string &  name)

Definition at line 32 of file GModelIO_ACTRAN.cpp.

Referenced by MergeFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readBDF()

int GModel::readBDF ( const std::string &  name)

Definition at line 218 of file GModelIO_BDF.cpp.

Referenced by MergeFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readCGNS()

int GModel::readCGNS ( const std::string &  name,
std::vector< std::vector< MVertex * > > &  vertPerZone,
std::vector< std::vector< MElement * > > &  eltPerZone 
)

Definition at line 244 of file GModelIO_CGNS.cpp.

Referenced by MergeFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readDIFF()

int GModel::readDIFF ( const std::string &  name)

Definition at line 42 of file GModelIO_DIFF.cpp.

Referenced by MergeFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readGEO()

int GModel::readGEO ( const std::string &  name)
static

Definition at line 3440 of file GModel.cpp.

Referenced by MergeFile(), and ParseString().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readGEOM()

int GModel::readGEOM ( const std::string &  name)

Definition at line 24 of file GModelIO_GEOM.cpp.

Referenced by MergeFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readMED() [1/2]

int GModel::readMED ( const std::string &  name)
static

Definition at line 879 of file GModelIO_MED.cpp.

Referenced by MergeFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readMED() [2/2]

int GModel::readMED ( const std::string &  name,
int  meshIndex 
)

Definition at line 886 of file GModelIO_MED.cpp.

Here is the call graph for this function:

◆ readMESH()

int GModel::readMESH ( const std::string &  name)

Definition at line 31 of file GModelIO_MESH.cpp.

Referenced by MergeFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readMSH()

int GModel::readMSH ( const std::string &  name)

Definition at line 12 of file GModelIO_MSH.cpp.

Referenced by GMSH_FieldFromAmplitudePhasePlugin::execute(), MergeFile(), thermicSolver::setMesh(), and elasticitySolver::setMesh().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readOCCBREP()

int GModel::readOCCBREP ( const std::string &  name)

Definition at line 5892 of file GModelIO_OCC.cpp.

Referenced by MergeFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readOCCIGES()

int GModel::readOCCIGES ( const std::string &  name)

Definition at line 5911 of file GModelIO_OCC.cpp.

Referenced by MergeFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readOCCSTEP()

int GModel::readOCCSTEP ( const std::string &  name)

Definition at line 5902 of file GModelIO_OCC.cpp.

Referenced by MergeFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readOFF()

int GModel::readOFF ( const std::string &  name)

Definition at line 14 of file GModelIO_OFF.cpp.

Referenced by MergeFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readP3D()

int GModel::readP3D ( const std::string &  name)

Definition at line 13 of file GModelIO_P3D.cpp.

Referenced by MergeFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readParasolidSTEP()

int GModel::readParasolidSTEP ( const std::string &  name)

Definition at line 3637 of file GModel.cpp.

Here is the call graph for this function:

◆ readParasolidXMT()

int GModel::readParasolidXMT ( const std::string &  name)

Definition at line 3623 of file GModel.cpp.

Referenced by MergeFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readPLY()

int GModel::readPLY ( const std::string &  name)

Definition at line 49 of file GModelIO_PLY.cpp.

Referenced by MergeFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readPLY2()

int GModel::readPLY2 ( const std::string &  name)

Definition at line 216 of file GModelIO_PLY.cpp.

Referenced by MergeFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readSAMCEF()

int GModel::readSAMCEF ( const std::string &  name)

Definition at line 33 of file GModelIO_SAMCEF.cpp.

Referenced by MergeFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readSTL()

int GModel::readSTL ( const std::string &  name,
double  tolerance = 1.e-3 
)

Definition at line 22 of file GModelIO_STL.cpp.

Referenced by MergeFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readUNV()

int GModel::readUNV ( const std::string &  name,
bool  readGroupsOfElements = true 
)

Definition at line 36 of file GModelIO_UNV.cpp.

Referenced by MergeFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readVRML()

int GModel::readVRML ( const std::string &  name)

Definition at line 118 of file GModelIO_VRML.cpp.

Referenced by MergeFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readVTK()

int GModel::readVTK ( const std::string &  name,
bool  bigEndian = false 
)

Definition at line 131 of file GModelIO_VTK.cpp.

Referenced by MergeFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ rebuildMeshElementCache()

void GModel::rebuildMeshElementCache ( bool  onlyIfNecessary = false)

Definition at line 1914 of file GModel.cpp.

Referenced by getMeshElementByTag().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ rebuildMeshVertexCache()

void GModel::rebuildMeshVertexCache ( bool  onlyIfNecessary = false)

Definition at line 1879 of file GModel.cpp.

Referenced by addMVertexToVertexCache(), and getMeshVertexByTag().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ recombineMesh()

int GModel::recombineMesh ( )

Definition at line 1421 of file GModel.cpp.

Here is the call graph for this function:

◆ refineMesh()

int GModel::refineMesh ( int  linear,
bool  splitIntoQuads = false,
bool  splitIntoHexas = false,
bool  barycentric = false 
)

Definition at line 1401 of file GModel.cpp.

Referenced by GmshBatch().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remove() [1/7]

void GModel::remove ( )

Definition at line 608 of file GModel.cpp.

Referenced by makeDiscreteFacesSimplyConnected(), makeDiscreteRegionsSimplyConnected(), and remove().

Here is the caller graph for this function:

◆ remove() [2/7]

void GModel::remove ( const std::vector< std::pair< int, int > > &  dimTags,
std::vector< GEntity * > &  removed,
bool  recursive = false 
)

Definition at line 601 of file GModel.cpp.

Here is the call graph for this function:

◆ remove() [3/7]

bool GModel::remove ( GEdge e)

Definition at line 463 of file GModel.cpp.

Here is the call graph for this function:

◆ remove() [4/7]

bool GModel::remove ( GFace f)

Definition at line 449 of file GModel.cpp.

Here is the call graph for this function:

◆ remove() [5/7]

bool GModel::remove ( GRegion r)

Definition at line 435 of file GModel.cpp.

Referenced by classifyFaces(), and GEO_Internals::synchronize().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ remove() [6/7]

bool GModel::remove ( GVertex v)

Definition at line 477 of file GModel.cpp.

Here is the call graph for this function:

◆ remove() [7/7]

void GModel::remove ( int  dim,
int  tag,
std::vector< GEntity * > &  removed,
bool  recursive = false 
)

Definition at line 489 of file GModel.cpp.

Here is the call graph for this function:

◆ removeDuplicateMeshElements()

int GModel::removeDuplicateMeshElements ( const std::vector< GEntity * > &  entities = std::vector<GEntity*>())

Definition at line 2792 of file GModel.cpp.

Here is the call graph for this function:

◆ removeDuplicateMeshVertices()

int GModel::removeDuplicateMeshVertices ( double  tolerance,
const std::vector< GEntity * > &  entities = std::vector<GEntity*>() 
)

Definition at line 2684 of file GModel.cpp.

Here is the call graph for this function:

◆ removeElementaryName()

void GModel::removeElementaryName ( const std::string &  name)

Definition at line 1014 of file GModel.cpp.

◆ removeInvisibleElements()

std::size_t GModel::removeInvisibleElements ( )

Definition at line 2057 of file GModel.cpp.

Referenced by GMSH_InvisiblePlugin::execute().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ removePhysicalGroup()

void GModel::removePhysicalGroup ( int  dim,
int  num 
)

Definition at line 901 of file GModel.cpp.

Referenced by DeletePhysicalLine(), DeletePhysicalPoint(), DeletePhysicalSurface(), and DeletePhysicalVolume().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ removePhysicalGroups()

void GModel::removePhysicalGroups ( )

Definition at line 893 of file GModel.cpp.

Referenced by GEO_Internals::synchronize().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ removePhysicalName()

void GModel::removePhysicalName ( const std::string &  name)

Definition at line 968 of file GModel.cpp.

◆ renumberMeshElements()

void GModel::renumberMeshElements ( )

Definition at line 1732 of file GModel.cpp.

Referenced by adaptMesh(), mesh(), optimizeMesh(), recombineMesh(), refineMesh(), removeDuplicateMeshElements(), and setOrderN().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ renumberMeshVertices()

void GModel::renumberMeshVertices ( )

Definition at line 1623 of file GModel.cpp.

Referenced by adaptMesh(), mesh(), optimizeMesh(), recombineMesh(), refineMesh(), removeDuplicateMeshVertices(), and setOrderN().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ resetOCCInternals()

void GModel::resetOCCInternals ( )

Definition at line 5886 of file GModelIO_OCC.cpp.

Referenced by destroy().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ reverseInvisibleElements()

std::size_t GModel::reverseInvisibleElements ( )

Definition at line 2102 of file GModel.cpp.

Referenced by GMSH_InvisiblePlugin::execute().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ save()

void GModel::save ( const std::string &  fileName)

Definition at line 3432 of file GModel.cpp.

Here is the call graph for this function:

◆ scaleMesh()

void GModel::scaleMesh ( double  factor)

Definition at line 2189 of file GModel.cpp.

Referenced by MergeFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setAllVolumesPositive()

bool GModel::setAllVolumesPositive ( )

Definition at line 1085 of file GModel.cpp.

Referenced by Mesh3D(), MeshDelaunayVolume(), OptimizeMesh(), and RefineMesh().

Here is the caller graph for this function:

◆ setAllVolumesPositiveTopology()

void GModel::setAllVolumesPositiveTopology ( )

Definition at line 1161 of file GModel.cpp.

Here is the call graph for this function:

◆ setAsCurrent()

int GModel::setAsCurrent ( )
inline

Definition at line 211 of file GModel.h.

Here is the call graph for this function:

◆ setCurrent()

int GModel::setCurrent ( GModel m)
static

Definition at line 147 of file GModel.cpp.

Referenced by load(), GeomMeshMatcher::match(), MergeFile(), MergePostProcessingFile(), save(), and setAsCurrent().

Here is the caller graph for this function:

◆ setCurrentMeshEntity()

void GModel::setCurrentMeshEntity ( GEntity e)

◆ setElementaryName()

void GModel::setElementaryName ( int  dim,
int  tag,
const std::string &  name 
)
inline

Definition at line 500 of file GModel.h.

Referenced by readSTL().

Here is the caller graph for this function:

◆ setFileName()

void GModel::setFileName ( const std::string &  fileName)

Definition at line 123 of file GModel.cpp.

Referenced by buildCutMesh(), ClearProject(), DoSystemUncompress(), GetOptions(), MergeFile(), and scriptAddCommand().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setMaxElementNumber()

void GModel::setMaxElementNumber ( std::size_t  num)
inline

Definition at line 229 of file GModel.h.

Referenced by MElement::forceNum(), MElement::MElement(), and renumberMeshElements().

Here is the caller graph for this function:

◆ setMaxVertexNumber()

void GModel::setMaxVertexNumber ( std::size_t  num)
inline

Definition at line 224 of file GModel.h.

Referenced by MVertex::forceNum(), MVertex::MVertex(), and renumberMeshVertices().

Here is the caller graph for this function:

◆ setMeshElementIndex()

void GModel::setMeshElementIndex ( MElement e,
int  index 
)

Definition at line 2036 of file GModel.cpp.

Referenced by writeElementMSH().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setName()

void GModel::setName ( const std::string &  name)
inline

Definition at line 328 of file GModel.h.

Referenced by ClearProject(), GMSH_FieldFromAmplitudePhasePlugin::execute(), MergeFile(), and scriptAddCommand().

Here is the caller graph for this function:

◆ setNumPartitions()

void GModel::setNumPartitions ( std::size_t  npart)
inline

Definition at line 603 of file GModel.h.

Referenced by buildCutMesh(), MElementFactory::create(), createElementMSH2(), readDIFF(), and readMSH4Entities().

Here is the caller graph for this function:

◆ setOrderN()

int GModel::setOrderN ( int  order,
int  linear,
int  incomplete,
int  onlyVisible 
)

Definition at line 1454 of file GModel.cpp.

Referenced by classifyFaces(), and PolyMesh2GFace().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPhysicalName() [1/2]

int GModel::setPhysicalName ( const std::string &  name,
int  dim,
int  num = 0 
)

Definition at line 937 of file GModel.cpp.

Referenced by _readMSH2(), _readMSH3(), _readMSH4(), GMSH_SpanningTreePlugin::addToModel(), and buildCutGModel().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setPhysicalName() [2/2]

GModel::piter GModel::setPhysicalName ( piter  pos,
const std::string &  name,
int  dim,
int  num = 0 
)

Definition at line 949 of file GModel.cpp.

Here is the call graph for this function:

◆ setPhysicalNames()

void GModel::setPhysicalNames ( const std::map< std::pair< int, int >, std::string > &  names)
inline

Definition at line 441 of file GModel.h.

Referenced by GeomMeshMatcher::match().

Here is the caller graph for this function:

◆ setPhysicalNumToEntitiesInBox() [1/2]

void GModel::setPhysicalNumToEntitiesInBox ( int  EntityDimension,
int  PhysicalNumber,
const SBoundingBox3d box 
)

Definition at line 3452 of file GModel.cpp.

Here is the call graph for this function:

◆ setPhysicalNumToEntitiesInBox() [2/2]

void GModel::setPhysicalNumToEntitiesInBox ( int  EntityDimension,
int  PhysicalNumber,
std::vector< double >  p1,
std::vector< double >  p2 
)

Definition at line 3462 of file GModel.cpp.

◆ setSelection()

void GModel::setSelection ( int  val)

Definition at line 1026 of file GModel.cpp.

Referenced by ClearProject(), and OpenProject().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setVisibility()

void GModel::setVisibility ( char  val)
inline

Definition at line 341 of file GModel.h.

Referenced by GMSH_FieldFromAmplitudePhasePlugin::execute(), GModel(), GmshFLTK(), MergeFile(), MergePostProcessingFile(), and GMSH_CutMeshPlugin::run().

Here is the caller graph for this function:

◆ snapVertices()

void GModel::snapVertices ( )

Definition at line 616 of file GModel.cpp.

Referenced by importOCCShape(), and readOCCBREP().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ storeChain()

void GModel::storeChain ( int  dim,
std::map< int, std::vector< MElement * > > &  entityMap,
std::map< int, std::map< int, std::string > > &  physicalMap 
)

Definition at line 2247 of file GModel.cpp.

Referenced by GMSH_SpanningTreePlugin::addToModel().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unpartitionMesh()

int GModel::unpartitionMesh ( )

Definition at line 2226 of file GModel.cpp.

Referenced by GMSH_SimplePartitionPlugin::run().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeBDF()

int GModel::writeBDF ( const std::string &  name,
int  format = 0,
int  elementTagType = 1,
bool  saveAll = false,
double  scalingFactor = 1.0 
)

Definition at line 347 of file GModelIO_BDF.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeCELUM()

int GModel::writeCELUM ( const std::string &  name,
bool  saveAll = false,
double  scalingFactor = 1.0 
)

Definition at line 17 of file GModelIO_CELUM.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeCGNS()

int GModel::writeCGNS ( const std::string &  name,
bool  saveAll = false,
double  scalingFactor = 1.0,
bool  structured = false 
)

Definition at line 252 of file GModelIO_CGNS.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeDIFF()

int GModel::writeDIFF ( const std::string &  name,
bool  binary = false,
bool  saveAll = false,
double  scalingFactor = 1.0 
)

Definition at line 407 of file GModelIO_DIFF.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeGEO()

int GModel::writeGEO ( const std::string &  name,
bool  printLabels = true,
bool  onlyPhysicals = false 
)

Definition at line 1802 of file GModelIO_GEO.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeINP()

int GModel::writeINP ( const std::string &  name,
bool  saveAll = false,
int  saveGroupsOfElements = 0,
int  saveGroupsOfNodes = 0,
double  scalingFactor = 1.0 
)

Definition at line 53 of file GModelIO_INP.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeIR3()

int GModel::writeIR3 ( const std::string &  name,
int  elementTagType,
bool  saveAll,
double  scalingFactor 
)

Definition at line 10 of file GModelIO_IR3.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeKEY()

int GModel::writeKEY ( const std::string &  name,
int  saveAll = 0,
int  saveGroupsOfNodes = 0,
double  scalingFactor = 1.0 
)

Definition at line 53 of file GModelIO_KEY.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeMAIL()

int GModel::writeMAIL ( const std::string &  name,
bool  saveAll,
double  scalingFactor 
)

Definition at line 10 of file GModelIO_MAIL.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeMATLAB()

int GModel::writeMATLAB ( const std::string &  name,
bool  binary = false,
bool  saveAll = false,
double  scalingFactor = 1.0,
int  filetype = 1 
)

Definition at line 47 of file GModelIO_MATLAB.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeMED()

int GModel::writeMED ( const std::string &  name,
bool  saveAll = false,
double  scalingFactor = 1.0 
)

Definition at line 893 of file GModelIO_MED.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeMESH()

int GModel::writeMESH ( const std::string &  name,
int  elementTagType = 1,
bool  saveAll = false,
double  scalingFactor = 1.0 
)

Definition at line 249 of file GModelIO_MESH.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeMSH()

int GModel::writeMSH ( const std::string &  name,
double  version = 2.2,
bool  binary = false,
bool  saveAll = false,
bool  saveParametric = false,
double  scalingFactor = 1.0,
int  elementStartNum = 0,
int  saveSinglePartition = 0,
bool  append = false 
)

Definition at line 76 of file GModelIO_MSH.cpp.

Referenced by _writeMSH3(), adaptMesh(), CreateOutputFile(), thermicSolver::cutMesh(), elasticitySolver::cutMesh(), GeomMeshMatcher::forceTomatch(), meshGenerator(), elasticitySolver::readInputFile(), and recombineIntoQuads().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeNEU()

int GModel::writeNEU ( const std::string &  name,
bool  saveAll,
double  scalingFactor 
)

Definition at line 121 of file GModelIO_NEU.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeOCCBREP()

int GModel::writeOCCBREP ( const std::string &  name)

Definition at line 5920 of file GModelIO_OCC.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeOCCSTEP()

int GModel::writeOCCSTEP ( const std::string &  name)

Definition at line 5931 of file GModelIO_OCC.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeOFF()

int GModel::writeOFF ( const std::string &  name,
bool  saveAll = false,
double  scalingFactor = 1.0 
)

Definition at line 83 of file GModelIO_OFF.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeP3D()

int GModel::writeP3D ( const std::string &  name,
bool  saveAll = false,
double  scalingFactor = 1.0 
)

Definition at line 123 of file GModelIO_P3D.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeParasolidSTEP()

int GModel::writeParasolidSTEP ( const std::string &  name)

Definition at line 3644 of file GModel.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeParasolidXMT()

int GModel::writeParasolidXMT ( const std::string &  name)

Definition at line 3630 of file GModel.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writePartitionedMSH()

int GModel::writePartitionedMSH ( const std::string &  baseName,
double  version = 2.2,
bool  binary = false,
bool  saveAll = false,
bool  saveParametric = false,
double  scalingFactor = 1.0 
)

Definition at line 104 of file GModelIO_MSH.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writePartitionedTopology()

int GModel::writePartitionedTopology ( std::string &  name)

Definition at line 2991 of file GModelIO_MSH4.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writePLY2()

int GModel::writePLY2 ( const std::string &  name)

Definition at line 282 of file GModelIO_PLY.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writePOS()

int GModel::writePOS ( const std::string &  name,
bool  printElementary,
bool  printElementNumber,
bool  printSICN,
bool  printSIGE,
bool  printGamma,
bool  printDisto,
bool  saveAll = false,
double  scalingFactor = 1.0 
)

Definition at line 11 of file GModelIO_POS.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writePY()

int GModel::writePY ( const std::string &  name,
bool  printLabels = true,
bool  onlyPhysicals = false 
)

Definition at line 1863 of file GModelIO_GEO.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeRAD()

int GModel::writeRAD ( const std::string &  name,
int  saveAll = 0,
int  saveGroupsOfNodes = 0,
double  scalingFactor = 1.0 
)

Definition at line 54 of file GModelIO_RAD.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeSTL()

int GModel::writeSTL ( const std::string &  name,
bool  binary = false,
bool  saveAll = false,
double  scalingFactor = 1.0,
int  oneSolidPerSurface = 0 
)

Definition at line 308 of file GModelIO_STL.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeSU2()

int GModel::writeSU2 ( const std::string &  name,
bool  saveAll,
double  scalingFactor 
)

Definition at line 29 of file GModelIO_SU2.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeTOCHNOG()

int GModel::writeTOCHNOG ( const std::string &  name,
bool  saveAll = false,
int  saveGroupsOfNodes = 0,
double  scalingFactor = 1.0 
)

Definition at line 54 of file GModelIO_TOCHNOG.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeUNV()

int GModel::writeUNV ( const std::string &  name,
bool  saveAll = false,
int  saveGroupsOfElements = 0,
int  saveGroupsOfNodes = 0,
double  scalingFactor = 1.0 
)

Definition at line 398 of file GModelIO_UNV.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeVRML()

int GModel::writeVRML ( const std::string &  name,
bool  saveAll = false,
double  scalingFactor = 1.0 
)

Definition at line 191 of file GModelIO_VRML.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeVTK()

int GModel::writeVTK ( const std::string &  name,
bool  binary = false,
bool  saveAll = false,
double  scalingFactor = 1.0,
bool  bigEndian = false 
)

Definition at line 19 of file GModelIO_VTK.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeX3D()

int GModel::writeX3D ( const std::string &  name,
bool  saveAll = false,
double  scalingFactor = 1.0,
int  x3dsurfaces = 1,
int  x3dedges = 0,
int  x3dvertices = 0,
int  x3dvolumes = 0,
int  x3dcolorize = 0 
)

Definition at line 472 of file GModelIO_X3D.cpp.

Referenced by CreateOutputFile().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _acis_internals

ACIS_Internals* GModel::_acis_internals
protected

Definition at line 123 of file GModel.h.

Referenced by getACISInternals().

◆ _attributes

std::map<std::string, std::vector<std::string> > GModel::_attributes
protected

Definition at line 156 of file GModel.h.

Referenced by _readMSH4(), _writeMSH4(), and getAttributes().

◆ _chainEdges

std::set<GEdge *, GEntityPtrLessThan> GModel::_chainEdges
private

Definition at line 51 of file GModel.h.

Referenced by pruneMeshVertexAssociations(), and storeChain().

◆ _chainFaces

std::set<GFace *, GEntityPtrLessThan> GModel::_chainFaces
private

Definition at line 50 of file GModel.h.

Referenced by pruneMeshVertexAssociations(), and storeChain().

◆ _chainRegions

std::set<GRegion *, GEntityPtrLessThan> GModel::_chainRegions
private

Definition at line 49 of file GModel.h.

Referenced by pruneMeshVertexAssociations(), and storeChain().

◆ _chainVertices

std::set<GVertex *, GEntityPtrLessThan> GModel::_chainVertices
private

Definition at line 52 of file GModel.h.

Referenced by pruneMeshVertexAssociations(), and storeChain().

◆ _checkPointedMaxElementNum

std::size_t GModel::_checkPointedMaxElementNum
private

Definition at line 57 of file GModel.h.

Referenced by destroy(), getCheckPointedMaxNumbers(), and GModel().

◆ _checkPointedMaxVertexNum

std::size_t GModel::_checkPointedMaxVertexNum
private

Definition at line 57 of file GModel.h.

Referenced by checkPointMaxNumbers(), destroy(), getCheckPointedMaxNumbers(), and GModel().

◆ _current

int GModel::_current = -1
staticprotected

Definition at line 139 of file GModel.h.

Referenced by current(), and setCurrent().

◆ _currentMeshEntity

GEntity* GModel::_currentMeshEntity
protected

Definition at line 131 of file GModel.h.

Referenced by deleteMesh(), destroy(), getCurrentMeshEntity(), and setCurrentMeshEntity().

◆ _curvatures

std::map<MVertex *, std::pair<SVector3, SVector3> > GModel::_curvatures
protected

Definition at line 116 of file GModel.h.

Referenced by getCurvatures().

◆ _elementaryNames

std::map<std::pair<int, int>, std::string> GModel::_elementaryNames
protected

◆ _elementIndexCache

std::map<int, int> GModel::_elementIndexCache
protected

◆ _elementMapCache

std::map<int, std::pair<MElement *, int> > GModel::_elementMapCache
protected

◆ _elementOctree

MElementOctree* GModel::_elementOctree
protected

◆ _elementVectorCache

std::vector<std::pair<MElement *, int> > GModel::_elementVectorCache
protected

◆ _fields

FieldManager* GModel::_fields
protected

Definition at line 128 of file GModel.h.

Referenced by destroy(), getFields(), GModel(), and ~GModel().

◆ _fileName

std::string GModel::_fileName
protected

Definition at line 93 of file GModel.h.

Referenced by getFileName(), and setFileName().

◆ _fileNames

std::set<std::string> GModel::_fileNames
protected

Definition at line 94 of file GModel.h.

Referenced by destroy(), hasFileName(), and setFileName().

◆ _geo_internals

GEO_Internals* GModel::_geo_internals
protected

◆ _ghostCells

std::multimap<MElement *, short> GModel::_ghostCells
protected

Definition at line 110 of file GModel.h.

Referenced by _readMSH2(), _writePartitionedMSH2(), addGhostCells(), and getGhostCells().

◆ _homologyRequests

std::multimap<std::pair<const std::vector<int>, const std::vector<int> >, std::pair<const std::string, const std::vector<int> > > GModel::_homologyRequests
private

Definition at line 48 of file GModel.h.

Referenced by addHomologyRequest(), clearHomologyRequests(), and computeHomology().

◆ _lastMeshEntityError

std::vector<GEntity *> GModel::_lastMeshEntityError
protected

◆ _lastMeshVertexError

std::vector<MVertex *> GModel::_lastMeshVertexError
protected

◆ _mapEdgeNum

hashmapMEdge GModel::_mapEdgeNum
private

Definition at line 53 of file GModel.h.

Referenced by addMEdge(), firstMEdge(), getMEdge(), and lastMEdge().

◆ _mapFaceNum

hashmapMFace GModel::_mapFaceNum
private

Definition at line 54 of file GModel.h.

Referenced by addMFace(), firstMFace(), getMFace(), and lastMFace().

◆ _maxElementNum

std::size_t GModel::_maxElementNum
private

◆ _maxVertexNum

◆ _name

std::string GModel::_name
protected

Definition at line 90 of file GModel.h.

Referenced by destroy(), getName(), and setName().

◆ _numPartitions

std::size_t GModel::_numPartitions
protected

Definition at line 153 of file GModel.h.

Referenced by getNumPartitions(), partitionMesh(), and setNumPartitions().

◆ _occ_internals

◆ _parasolid_internals

Parasolid_Internals* GModel::_parasolid_internals
protected

Definition at line 125 of file GModel.h.

Referenced by getParasolidInternals().

◆ _physicalNames

std::map<std::pair<int, int>, std::string> GModel::_physicalNames
protected

◆ _vertexMapCache

std::map<int, MVertex *> GModel::_vertexMapCache
protected

◆ _vertexVectorCache

std::vector<MVertex *> GModel::_vertexVectorCache
protected

◆ _visible

char GModel::_visible
protected

Definition at line 97 of file GModel.h.

Referenced by getVisibility(), and setVisibility().

◆ edges

◆ faces

◆ lcCallback

std::function<double(int, int, double, double, double, double)> GModel::lcCallback

Definition at line 713 of file GModel.h.

Referenced by BGM_MeshSizeWithoutScaling().

◆ list

◆ normals

smooth_normals* GModel::normals

Definition at line 653 of file GModel.h.

Referenced by addElementsInArrays(), addSmoothNormals(), destroy(), and fillVertexArrays().

◆ regions

◆ vertices


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