File: lshape3d.geo

package info (click to toggle)
netgen 6.2.2601%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,076 kB
  • sloc: cpp: 166,627; tcl: 6,310; python: 2,868; sh: 528; makefile: 90
file content (26 lines) | stat: -rw-r--r-- 408 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
algebraic3d

#
## 3D Lshape - domain
#

solid c1 = plane (-1, -1, 0; 0, 0, -1)
         and plane (-1, -1, 0; 0, -1, 0)
         and plane (-1, -1, 0; -1, 0, 0)
         and plane (1, 1, 1; 0, 0, 1)
         and plane (1, 1, 1; 0, 1, 0)
         and plane (1, 1, 1; 1, 0, 0);

solid f1 = plane (0, 0, 0; -1, 0, 0);
solid f2 = plane (0, 0, 0; 0, 1, 0);

solid main = c1 and not (f1 and f2);

tlo main;