Scroll to navigation

environment(2rheolef) rheolef-7.0 environment(2rheolef)

NAME

environment - rheolef initialization (rheolef-7.0)

SYNOPSIS

This class is mainly used to initialize the MPI library: it should be called juste after the main(argc,argv) declaration as in:

    #include "rheolef.h"
    using namespace rheolef;
    int main(int argc, char**argv) {
      environment rheolef (argc, argv);
      ...
    }

An optional third argument of the environment constructor allows one to set the MPI thread feature. By default, its value is MPI_THREAD_SINGLE, as defined in mpi.h. Other possible values are related to MPI multi-threaded, see the MPI documentation for more details.

COPYRIGHT

Copyright (C) 2000-2018 Pierre Saramito <Pierre.Saramito@imag.fr> GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
rheolef-7.0 rheolef-7.0