PHengLEI-TestCases/F04_TwoD_Dual0012_OversetGr.../bin/partition.hypara

28 lines
1.1 KiB
Plaintext
Raw Normal View History

2021-06-29 11:13:59 +08:00
// 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 = 3;
int pgridtype = 0;
int pgridtype1 = 0;
int pgridtype2 = 0;
int maxproc = 4;
int maxproc1 = 4;
int maxproc2 = 4;
2021-06-29 11:13:59 +08:00
string original_grid_file = "./grid/background.fts";
string original_grid_file1 = "./grid/lowerwing.fts";
string original_grid_file2 = "./grid/upperwing.fts";
2021-06-29 11:13:59 +08:00
// 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;