ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
walberla_init.cpp File Reference
#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
 

Functions

void walberla::mpi_init ()
 Initialize waLBerla's MPI manager.
 
std::unique_ptr< ResourceManagerwalberla::get_vtk_dependent_resources ()
 Get a lock on waLBerla's global resources for VTK.
 

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 (destructor depends on the communicator).
 

Variable Documentation

◆ walberla_mpi_comm

std::shared_ptr<walberla::mpi::MPIManager> walberla_mpi_comm
static

waLBerla MPI communicator.

Definition at line 30 of file walberla_init.cpp.

Referenced by walberla::get_vtk_dependent_resources(), and walberla::mpi_init().

◆ walberla_mpi_env

std::shared_ptr<walberla::mpi::Environment> walberla_mpi_env
static

waLBerla MPI environment (destructor depends on the communicator).

Definition at line 32 of file walberla_init.cpp.

Referenced by walberla::get_vtk_dependent_resources(), and walberla::mpi_init().