forked from PHengLEI/PHengLEI-TestCases
31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
|
// pgridtype: The grid type.
|
||
|
// 0 -- unstruct grid.
|
||
|
// 1 -- struct grid.
|
||
|
// maxproc: The number of partition zones that want to be divided into,
|
||
|
// which is equal to the number of CPU processors you want.
|
||
|
// Usually, 50~100 thousands structured cells per CPU-Core is suggested.
|
||
|
// 30~70 thousands unstructured cells per CPU-Core is suggested.
|
||
|
// original_grid_file: Original grid file that want to be divided(PHengLEI type, *.fts).
|
||
|
// partition_grid_file: Target partition grid file(PHengLEI type, *.fts).
|
||
|
|
||
|
int numberOfGridFile = 4;
|
||
|
int pgridtype = 1;
|
||
|
int pgridtype1 = 1;
|
||
|
int pgridtype2 = 1;
|
||
|
int pgridtype3 = 1;
|
||
|
int maxproc = 8;
|
||
|
int maxproc1 = 8;
|
||
|
int maxproc2 = 8;
|
||
|
int maxproc3 = 8;
|
||
|
|
||
|
string original_grid_file = "./grid/wing.fts";
|
||
|
string original_grid_file1 = "./grid/missile1.fts";
|
||
|
string original_grid_file2 = "./grid/missile2.fts";
|
||
|
string original_grid_file3 = "./grid/missile3.fts";
|
||
|
|
||
|
// numberOfMultigrid: Number of multi-grid levels, ONLY used for structured grid.
|
||
|
// 1 -- single level.
|
||
|
// 2 -- 2 level.
|
||
|
// N -- N level,..., et al.
|
||
|
int numberOfMultigrid = 1;
|