DUNE-FEM (unstable)

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>

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.

The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 20, 23:30, 2024)