-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
45 lines (29 loc) · 1.17 KB
/
README
File metadata and controls
45 lines (29 loc) · 1.17 KB
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
README
======
This project implements the program
compute_cc
which calculates the number of connected components of the
tetrahedral or cubical Morton curve for a given refinement level in 2D or 3D.
INSTALLATION
============
This program depends on the t8code library commit 807f9488d97d35f
t8code can be found at https://github.com/holke/t8code
or at https://github.com/cburstedde/t8code.git.
Install t8code as an external library in a folder.
Edit the entries BASE_DIR and T8_DIR in the file ./exec/compile.
$ cd ./exec
$ source compile
The source call is necessary to export the correct t8code library.
In subsequent calls, only ./compile is necessary.
USAGE
=====
The program exec/compute_cc accepts two options:
-d [num] num is either 2 or 3 and specifies the dimension (triangle or tetrahedra)
-l [num] num is a non-negative integer and specifies the uniform refinement level
-c Switch from simplicial to cubical Morton curve.
The program is parallelized with MPI. To run a parallel version with p processes, call
$ mpirun -np p ./compute_cc -d [num] -l [num]
TODO
====
Configure the project with autotools or cmake to automate the installation
process.