dune-grid 2.9.0
Static Public Attributes | List of all members
Dune::Capabilities::viewThreadSafe< Grid > Struct Template Reference

Specialize with 'true' if the grid implementation is thread safe, while it is not modified. (default=false) More...

#include <dune/grid/common/capabilities.hh>

Static Public Attributes

static const bool v = false
 

Detailed Description

template<class Grid>
struct Dune::Capabilities::viewThreadSafe< Grid >

Specialize with 'true' if the grid implementation is thread safe, while it is not modified. (default=false)

This capability is 'true' if the grid is thread safe, at least while working on a GridView. This means especially that all grid modification, like load balancing and grid adaption are not necessarily thread safe.

See also
threadSafe
Note
that the communicate method can only be called by one individual thread, as the whole Dune parallel components are (i.e. cannot be) not thread safe.
the methods leafGridView(), levelGridView(level) on the Grid can only be called single-threaded
calling the methods indexSet(), idSet(), globalIdSet() on the Grid or the GridView is only allowed, if they were called once before starting the threads.

Member Data Documentation

◆ v

template<class Grid >
const bool Dune::Capabilities::viewThreadSafe< Grid >::v = false
static

The documentation for this struct was generated from the following file: