45void olbInit(
int *argc,
char ***argv,
bool multiOutput,
bool verbose)
52#ifdef PARALLEL_MODE_OMP
57 if (
const char* envOlbNumThreads = std::getenv(
"OLB_NUM_THREADS")) {
58 nThreads = std::stoi(envOlbNumThreads);
63 #ifdef PLATFORM_GPU_CUDA
class for marking output with some text
void setMultiOutput(bool b)
enable message output for all MPI processes, disabled by default
Pool of threads for CPU-based background processing.
void init(int nThreads, bool verbose)
Initialization to be called by olbInit.
void init(int *argc, char ***argv, bool verbose=true)
Initializes the mpi manager.
Wrapper functions that simplify the use of MPI.
Top level namespace for all of OpenLB.
void checkPlatform< Platform::GPU_CUDA >()
Verifies availability of CUDA device and MPI support.
void olbInit(int *argc, char ***argv, bool multiOutput, bool verbose)
LB initialisation routine – header file.
void init(bool verbose=true)