Skip to content
Snippets Groups Projects
Select Git revision
  • 3862278e6705ecc0f5d32144289635a34f5d90cb
  • master default protected
  • overlaps_tags_and_distributed_export
  • overlaps_tags_and_distributed_export_rebased
  • relaying
  • alphashapes
  • patches-4.14
  • steplayer
  • bl
  • pluginMeshQuality
  • fixBugsAmaury
  • hierarchical-basis
  • new_export_boris
  • oras_vs_osm
  • reassign_partitions
  • distributed_fwi
  • rename-classes
  • fix/fortran-api-example-t4
  • robust_partitions
  • reducing_files
  • fix_overlaps
  • gmsh_4_14_0
  • gmsh_4_13_1
  • gmsh_4_13_0
  • gmsh_4_12_2
  • gmsh_4_12_1
  • gmsh_4_12_0
  • gmsh_4_11_1
  • gmsh_4_11_0
  • gmsh_4_10_5
  • gmsh_4_10_4
  • gmsh_4_10_3
  • gmsh_4_10_2
  • gmsh_4_10_1
  • gmsh_4_10_0
  • gmsh_4_9_5
  • gmsh_4_9_4
  • gmsh_4_9_3
  • gmsh_4_9_2
  • gmsh_4_9_1
  • gmsh_4_9_0
41 results

flatten2.py

Blame
  • GModel.cpp 124.73 KiB
    // Gmsh - Copyright (C) 1997-2016 C. Geuzaine, J.-F. Remacle
    //
    // See the LICENSE.txt file for license information. Please report all
    // bugs and problems to the public mailing list <gmsh@onelab.info>.
    
    #include <limits>
    #include <stdlib.h>
    #include <sstream>
    #include <stack>
    #include "GmshConfig.h"
    #include "GmshMessage.h"
    #include "GModel.h"
    #include "GModelFactory.h"
    #include "GFaceCompound.h"
    #include "GEdgeCompound.h"
    #include "MPoint.h"
    #include "MLine.h"
    #include "MTriangle.h"
    #include "MQuadrangle.h"
    #include "MTetrahedron.h"
    #include "MHexahedron.h"
    #include "MPrism.h"
    #include "MPyramid.h"
    #include "MTrihedron.h"
    #include "MElementCut.h"
    #include "MElementOctree.h"
    #include "discreteRegion.h"
    #include "discreteFace.h"
    #include "discreteEdge.h"
    #include "discreteVertex.h"
    #include "gmshSurface.h"
    #include "Geo.h"
    #include "SmoothData.h"
    #include "Context.h"
    #include "OS.h"
    #include "StringUtils.h"
    #include "GEdgeLoop.h"
    #include "MVertexRTree.h"
    #include "OpenFile.h"
    #include "CreateFile.h"
    #include "Options.h"
    #include "meshGEdge.h"
    #include "meshGFace.h"
    #include "meshGRegion.h"
    
    #if defined(HAVE_MESH)
    #include "Field.h"
    #include "Generator.h"
    #include "meshGFaceOptimize.h"
    #include "meshPartition.h"
    #include "HighOrder.h"
    #include "meshMetric.h"
    #include "meshGRegionMMG3D.h"
    #include "meshGFaceBamg.h"
    #endif
    
    #if defined(HAVE_KBIPACK)
    #include "Homology.h"
    #endif
    
    std::vector<GModel*> GModel::list;
    int GModel::_current = -1;
    
    GModel::GModel(std::string name)
      : _maxVertexNum(0), _maxElementNum(0),
        _checkPointedMaxVertexNum(0), _checkPointedMaxElementNum(0),
        _name(name), _visible(1), _octree(0), _geo_internals(0),
        _occ_internals(0), _sgeom_internals(0), _acis_internals(0),
        _fm_internals(0), _factory(0), _fields(0), _currentMeshEntity(0),
        normals(0)