Class template Dune::XT::Grid::ElementBoundObject

template<class Element>
class Dune::XT::Grid::ElementBoundObject<Element>

Holds a copy of a grid element and allows rebinding to other elements.

Method Dune::XT::Grid::ElementBoundObject::operator=

template<class Element>
ThisType &Dune::XT::Grid::ElementBoundObject<Element>::operator=(const ThisType &other)

No documentation provided.

Method Dune::XT::Grid::ElementBoundObject::operator=

template<class Element>
ThisType &Dune::XT::Grid::ElementBoundObject<Element>::operator=(ThisType &&source) noexcept

No documentation provided.

Method Dune::XT::Grid::ElementBoundObject::element

template<class Element>
const ElementType &Dune::XT::Grid::ElementBoundObject<Element>::element() const

Warning

The returned reference will change as soon as the object is bound to another element!

Note

Will throw Exceptions::not_bound_to_an_element_yet error if not bound yet!

Method Dune::XT::Grid::ElementBoundObject::bind

template<class Element>
ThisType &Dune::XT::Grid::ElementBoundObject<Element>::bind(const ElementType &ele)

No documentation provided.

Method Dune::XT::Grid::ElementBoundObject::post_bind

template<class Element>
virtual void Dune::XT::Grid::ElementBoundObject<Element>::post_bind(const ElementType&)

Note

Override this function if you need/want to do preparatory work on an element.

Constructor Dune::XT::Grid::ElementBoundObject::ElementBoundObject<Element>

template<>
template<class Element>
Dune::XT::Grid::ElementBoundObject<Element>::ElementBoundObject<Element>()

No documentation provided.

Constructor Dune::XT::Grid::ElementBoundObject::ElementBoundObject<Element>

template<>
template<class Element>
Dune::XT::Grid::ElementBoundObject<Element>::ElementBoundObject<Element>(const ThisType &other)

No documentation provided.

Constructor Dune::XT::Grid::ElementBoundObject::ElementBoundObject<Element>

template<>
template<class Element>
Dune::XT::Grid::ElementBoundObject<Element>::ElementBoundObject<Element>(ThisType &&source) noexcept

No documentation provided.

Destructor Dune::XT::Grid::ElementBoundObject::~ElementBoundObject<Element>

template<>
template<class Element>
virtual Dune::XT::Grid::ElementBoundObject<Element>::~ElementBoundObject<Element>() = default

No documentation provided.

Field Dune::XT::Grid::ElementBoundObject::element_

int Dune::XT::Grid::ElementBoundObject::element_

No documentation provided.

Field Dune::XT::Grid::ElementBoundObject::is_bound_

bool Dune::XT::Grid::ElementBoundObject::is_bound_

No documentation provided.

Type alias Dune::XT::Grid::ElementBoundObject::ThisType

type Dune::XT::Grid::ElementBoundObject::ThisType

No documentation provided.

Type alias Dune::XT::Grid::ElementBoundObject::ElementType

type Dune::XT::Grid::ElementBoundObject::ElementType

No documentation provided.