-
Notifications
You must be signed in to change notification settings - Fork 1
/
INSTALL
48 lines (35 loc) · 1.09 KB
/
INSTALL
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
The model consists of several folders:
Libraries:
./tetgen1.4.3 - tetgen used for mesh generation
./xerces-c-3.1.2 - Apache xerces used for XML parsing
Utilities:
./mesh - program for generating the model mesh
./linescan - program for simulating linescans from spark model output
Models:
./cpu - cpu-based version of the model
./gpu - gpu-based version of the model
Other:
./param - folder containing model parameter files
**INSTRUCTIONS**
1) First compile the tetgen library:
>> cd tetgen1.4.3
>> make tetlib
2) Next compile the xerces-c library and install it in ./xerces-build:
>> cd ../xerces-c-3.1.2
>> ./configure --prefix=/path/to/git/root/xerces-build
>> make install
3) Next compile the mesh program:
>> cd ../mesh
>> make
4) Then compile the models (GPU version not required):
>> cd ../cpu
>> make
>> cd ../gpu
>> make
5) If you are using the linescan tool, compile that as well:
>> cd ../linescan
>> make
**Command Line Usage Examples**
./mesh -param DefaultMesh.xml -out ../meshes/DefaultMesh
./cru3d -mesh ../meshes/DefaultMesh -param ../param/DefaultSpark.xml
./linescan -param DefaultScan.xml