![]() |
ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
#include <walberla_bridge/utils/ResourceManager.hpp>#include <walberla_bridge/walberla_init.hpp>#include <core/mpi/Environment.h>#include <core/mpi/MPIManager.h>#include <cassert>#include <memory>
Include dependency graph for walberla_init.cpp:Go to the source code of this file.
Namespaces | |
| namespace | walberla |
| \file PackInfoPdfDoublePrecision.cpp \author pystencils | |
Functions | |
| void | walberla::mpi_init () |
| Initialize waLBerla's MPI manager and environment. | |
| void | walberla::mpi_reinit (int const *cart_topol) |
| Re-initialize waLBerla's MPI Cartesian communicator. | |
| void | walberla::mpi_deinit () |
| Release waLBerla's MPI manager and environment. | |
| std::unique_ptr< ResourceManager > | walberla::get_vtk_dependent_resources () |
| Get a lock on waLBerla's global resources for VTK. | |
| ResourceObserver | walberla::get_mpi_cart_comm_observer () |
| Get an observer on waLBerla's MPI Cartesian communicator status. | |
Variables | |
| static std::shared_ptr< walberla::mpi::MPIManager > | walberla_mpi_comm |
| waLBerla MPI communicator. | |
| static std::shared_ptr< walberla::mpi::Environment > | walberla_mpi_env |
| waLBerla MPI environment. | |
| static std::shared_ptr< int > | walberla_mpi_cart_comm_observer |
| waLBerla MPI Cartesian communicator observer. | |
|
static |
waLBerla MPI Cartesian communicator observer.
It is purposefully decoupled from walberla_mpi_comm. We are not tracking the lifetime of walberla_mpi_comm itself, but the lifetime of its ownership by the waLBerla MPI singleton.
Definition at line 39 of file walberla_init.cpp.
Referenced by walberla::get_mpi_cart_comm_observer(), walberla::mpi_deinit(), walberla::mpi_init(), and walberla::mpi_reinit().
|
static |
waLBerla MPI communicator.
Definition at line 30 of file walberla_init.cpp.
Referenced by walberla::get_vtk_dependent_resources(), walberla::mpi_deinit(), walberla::mpi_init(), and walberla::mpi_reinit().
|
static |
waLBerla MPI environment.
Definition at line 32 of file walberla_init.cpp.
Referenced by walberla::get_vtk_dependent_resources(), walberla::mpi_deinit(), walberla::mpi_init(), and walberla::mpi_reinit().