~ubuntu-branches/ubuntu/raring/rheolef/raring-proposed

« back to all changes in this revision

Viewing changes to nfem/ptst/my_square_t_gmsh.mshcad

  • Committer: Package Import Robot
  • Author(s): Pierre Saramito
  • Date: 2012-04-06 09:12:21 UTC
  • mfrom: (1.1.5)
  • Revision ID: package-import@ubuntu.com-20120406091221-m58me99p1nxqui49
Tags: 6.0-1
* New upstream release 6.0 (major changes):
  - massively distributed and parallel support
  - full FEM characteristic method (Lagrange-Gakerkin method) support
  - enhanced users documentation 
  - source code supports g++-4.7 (closes: #667356)
* debian/control: dependencies for MPI distributed solvers added
* debian/rules: build commands simplified
* debian/librheolef-dev.install: man1/* to man9/* added
* debian/changelog: package description rewritted (closes: #661689)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//  gmsh -2 my_square_tq_gmsh.mshcad -o my_square_tq-10.msh
 
2
//  ../pbin/msh2geo < my_square_tq-10.msh | ../pbin/geo -upgrade -geo - > my_square_tq-10.geo
 
3
 
 
4
    n = 10.0;
 
5
    hloc = 1.0/n;
 
6
    Point(1) = {0, 0, 0, hloc};
 
7
    Point(2) = {1, 0, 0, hloc};
 
8
    Point(3) = {1, 1, 0, hloc};
 
9
    Point(4) = {0, 1, 0, hloc};
 
10
    Line(1) = {1,2};
 
11
    Line(2) = {2,3};
 
12
    Line(3) = {3,4};
 
13
    Line(4) = {4,1};
 
14
    Line Loop(5) = {1,2,3,4};
 
15
    Mesh.Algorithm = 1;
 
16
    Plane Surface(6) = {5} ;
 
17
    Physical Point("left_bottom")  = {1};
 
18
    Physical Point("right_bottom") = {2};
 
19
    Physical Point("right_top")    = {3};
 
20
    Physical Point("left_top")     = {4};
 
21
    Physical Line("boundary") = {1,2,3,4};
 
22
    Physical Line("bottom") = {1};
 
23
    Physical Line("right")  = {2};
 
24
    Physical Line("top")    = {3};
 
25
    Physical Line("left")   = {4};
 
26
    Physical Surface("interior") = {6};