Skip to content
Snippets Groups Projects
Select Git revision
  • gmsh_4_9_3
  • master default protected
  • revert-ef4a3a4f
  • patch_releases_4_14
  • overlaps_tags_and_distributed_export
  • overlaps_tags_and_distributed_export_rebased
  • relaying
  • alphashapes
  • 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
  • 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_2
  • gmsh_4_9_1
  • gmsh_4_9_0
40 results

t21.geo

Blame
  • discreteRegion.h 500 B
    #ifndef _DISCRETE_REGION_H_
    #define _DISCRETE_REGION_H_
    
    #include "GRegion.h"
    
    #if !defined(HAVE_NO_GEO)
    #include "Geo.h"
    #endif
    
    class discreteRegion : public GRegion {
     public:
      discreteRegion(GModel *model, int num) : GRegion(model, num)
      {
    #if !defined(HAVE_NO_GEO)
        ::Volume *v = Create_Volume(num, MSH_VOLUME_DISCRETE);
        Tree_Add(model->getGEOInternals()->Volumes, &v);
    #endif
      }
      virtual ~discreteRegion() {}
      virtual GeomType geomType() const { return DiscreteVolume; }
    };
    
    #endif