Skip to content
Snippets Groups Projects
Select Git revision
  • 6c4266f1b8608b6881868ba4f398168cba0fd10c
  • master default
  • cgnsUnstructured
  • partitioning
  • poppler
  • HighOrderBLCurving
  • gmsh_3_0_4
  • gmsh_3_0_3
  • gmsh_3_0_2
  • gmsh_3_0_1
  • gmsh_3_0_0
  • gmsh_2_16_0
  • gmsh_2_15_0
  • gmsh_2_14_1
  • gmsh_2_14_0
  • gmsh_2_13_2
  • gmsh_2_13_1
  • gmsh_2_12_0
  • gmsh_2_11_0
  • gmsh_2_10_1
  • gmsh_2_10_0
  • gmsh_2_9_3
  • gmsh_2_9_2
  • gmsh_2_9_1
  • gmsh_2_9_0
  • gmsh_2_8_6
26 results

search.hpp

Blame
  • Forked from gmsh / gmsh
    Source project has a limited visibility.
    geomDisk.geo 956 B
    //========================================================
    // Benchmark "Academic eigenvalues problems"
    // File: GMSH geometry (disk)
    //========================================================
    
    DefineConstant[
      res = { 0.01, Min 0.001, Max 1, Step 0.001,
        Name StrCat[OnelabParamMesh,"2Characteristic length of cells (radius of domain = 1)"]}
    ];
    
    Mesh.CharacteristicLengthMax = res ;
    
    p[] += newp ; Point(newp) = { 0  , 0  , 0} ;
    p[] += newp ; Point(newp) = { 0.5, 0  , 0} ;
    p[] += newp ; Point(newp) = { 0  , 0.5, 0} ;
    p[] += newp ; Point(newp) = {-0.5, 0  , 0} ;
    p[] += newp ; Point(newp) = { 0  ,-0.5, 0} ;
    
    l[] += newl ; Circle(newl) = {p[1], p[0], p[2]} ;
    l[] += newl ; Circle(newl) = {p[2], p[0], p[3]} ;
    l[] += newl ; Circle(newl) = {p[3], p[0], p[4]} ;
    l[] += newl ; Circle(newl) = {p[4], p[0], p[1]} ;
    
    ll = newll ; Line Loop(newll) = {l[]} ;
    s = news ; Plane Surface(news) = {ll} ;
    
    Physical Line(BND) = {l[]} ;
    Physical Surface(DOM) = {s} ;