.\" .de Id .. .de Sp .if n .sp .if t .sp 0.4 .. .TH environment 2rheolef "rheolef-7.0" "rheolef-7.0" "rheolef-7.0" .\" label: /*Class:environment .SH NAME \fBenvironment\fP - rheolef initialization (rheolef-7.0) .SH SYNOPSIS This class is mainly used to initialize the MPI library: it should be called juste after the \fBmain(argc,argv)\fP declaration as in: .\" begin_example .Sp .nf #include "rheolef.h" using namespace rheolef; int main(int argc, char**argv) { environment rheolef (argc, argv); ... } .Sp .fi .\" end_example An optional third argument of the \fBenvironment\fP constructor allows one to set the MPI thread feature. By default, its value is MPI_THREAD_SINGLE, as defined in \fBmpi.h\fP. Other possible values are related to MPI multi-threaded, see the MPI documentation for more details. .PP .\" skip start:AUTHORS: .\" skip start:DATE: .\" END .SH COPYRIGHT Copyright (C) 2000-2018 Pierre Saramito GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.