Skip to content
Snippets Groups Projects
Select Git revision
  • fbb349230355da8954f4e5b7c68e226397998011
  • master default protected
  • alphashapes
  • quadMeshingTools
  • cygwin_conv_path
  • macos_arm64
  • add-transfiniteautomatic-to-geo
  • patch_releases_4_10
  • HierarchicalHDiv
  • isuruf-master-patch-63355
  • hyperbolic
  • hexdom
  • hxt_update
  • jf
  • 1618-pythonocc-and-gmsh-api-integration
  • octreeSizeField
  • hexbl
  • alignIrregularVertices
  • getEdges
  • patch_releases_4_8
  • isuruf-master-patch-51992
  • 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
  • gmsh_4_8_4
  • gmsh_4_8_3
  • gmsh_4_8_2
  • gmsh_4_8_1
  • gmsh_4_8_0
  • gmsh_4_7_1
  • gmsh_4_7_0
41 results

meshGRegionDelaunayInsertion.cpp

Blame
  • Forked from gmsh / gmsh
    Source project has a limited visibility.
    GRegionCompound.h 1.23 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>.
    
    #ifndef _GREGION_COMPOUND_H_
    #define _GREGION_COMPOUND_H_
    
    #include <list>
    #include <map>
    #include "GRegion.h"
    #include "GFace.h"
    #include "GFaceCompound.h"
    
    /*
    A GRegionCompound is a model region that is the compound of model regions.
    
    It is assumed that all the regions of the compound have been meshed
    first and that all the faces of the compound region are compound surfaces.
    
    The compound can therefore be re-meshed using any volume mesh
    generator of gmsh!
    */
    
    class GRegionCompound : public GRegion {
     public:
      GRegionCompound(GModel *m, int tag, std::vector<GRegion*> &compound);
      virtual ~GRegionCompound();
      virtual SBoundingBox3d bounds() const;
      virtual double curvature(double t) const;
      virtual GPoint point(double par) const; 
      virtual SVector3 firstDer(double par) const; 
      virtual GEntity::GeomType geomType() const { return CompoundVolume; }
      ModelType getNativeType() const { return GmshModel; }
      void * getNativePtr() const { return 0; }
    
     protected:
      std::vector<GRegion*> _compound;
      void getBoundingFaces();
    };
    
    #endif