~fluidity-core/fluidity/sea-ice-branch

« back to all changes in this revision

Viewing changes to tests/cv_mass_matrix_check_p2/tri.geo

  • Committer: Simon Mouradian
  • Date: 2012-03-30 11:11:47 UTC
  • mfrom: (3520.32.239 fluidity)
  • Revision ID: simon.mouradian06@imperial.ac.uk-20120330111147-y4n4y4th52x2dqcf
mergeĀ fromĀ lp:fluidity

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Simple triangle domain with one element
2
 
*/
3
 
 
4
 
// define variable used for characteristic length
5
 
lc = 1.0;
6
 
 
7
 
// define geometric entities
8
 
 
9
 
// define points
10
 
Point(1) = {0.0, 0.0, 0.0, lc};
11
 
Point(2) = {1.0, 0.0, 0.0, lc};
12
 
Point(3) = {0.2, 0.8, 0.0, lc};
13
 
 
14
 
//define lines
15
 
Line(4) = {1,2};
16
 
Line(5) = {2,3};
17
 
Line(6) = {3,1};
18
 
 
19
 
//define line loop
20
 
Line Loop(7) = {4,5,6};
21
 
 
22
 
// define surface
23
 
Plane Surface(8) = {7};
24
 
 
25
 
// define physical entities
26
 
 
27
 
// define physical lines
28
 
Physical Line (101) = {4,5,6};
29
 
 
30
 
// define physicial surface
31
 
Physical Surface(102) = {8};