Class template Dune::GDT::GhostDataHandle

Inherits from Dune::GDT::SpaceDataHandle.

template<class GV, size_t r, size_t rD, class R, class VectorType>
class Dune::GDT::GhostDataHandle : public SpaceDataHandle<GV, r, rD, R, VectorType, GhostGatherScatter, EntityDataCommunicationDescriptor<bool>>

Data handle for marking ghost DOFs.

This data handle will mark all ghost DOFs (more precisely, all DOFs associated with entities not part of either the interior or the border partition).

Note

In order to work correctly, the data handle must be communicated on the Dune::InteriorBorder_All_Interface.

template<>
Dune::GDT::GhostDataHandle::GhostDataHandle<GV, r, rD, R, VectorType>(const SpaceInterface<GV, r, rD, R> &sp, VectorType &v_, bool init_vector = true)

Creates a new GhostDataHandle.

Creates a new GhostDataHandle and by default initializes the result vector with the correct value of false. If you have already done that externally, you can skip the initialization.

:param space_: The GridFunctionSpace to operate on. :param v_: The result vector. :param init_vector: Flag to control whether the result vector will be initialized.

type Dune::GDT::GhostDataHandle::BaseType

No documentation provided.