File: simplex3.fe

package info (click to toggle)
evolver 2.70+ds-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 17,148 kB
  • sloc: ansic: 127,395; makefile: 209; sh: 98
file content (30 lines) | stat: -rw-r--r-- 501 bytes parent folder | download | duplicates (7)
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
27
28
29
30
// simplex3.fe

// Evolver data for bubble in 4-space. Initially simplex.
// Evolves into 3-sphere in 4-space.

SIMPLEX_REPRESENTATION
SPACE_DIMENSION 4
SURFACE_DIMENSION 3

vertices
1     0  0  0  0
2     1  0  0  0
3     0  1  0  0
4     0  0  1  0
5     0  0  0  1

faces  /* given as oriented vertex list */
1     2 3 4 5
2     3 4 5 1
3     4 5 1 2
4     5 1 2 3
5     1 2 3 4

bodies
1    1 2 3 4 5  volume .04

read

// Typical evolution
gogo := { r; g 5; U; g 10; r; g 10; r; g 20; r; g 20; }