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

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

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

No documentation provided.

Constructor Dune::XT::Grid::ElementBoundObject::ElementBoundObject

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

No documentation provided.

Constructor Dune::XT::Grid::ElementBoundObject::ElementBoundObject

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

No documentation provided.

Destructor Dune::XT::Grid::ElementBoundObject::~ElementBoundObject

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

No documentation provided.

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

template<class Element>
std::unique_ptr<ElementType> Dune::XT::Grid::ElementBoundObject<Element>::element_

No documentation provided.

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

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

No documentation provided.

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

template<class Element>
using Dune::XT::Grid::ElementBoundObject<Element>::ThisType = ElementBoundObject<Element>

No documentation provided.

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

template<class Element>
using Dune::XT::Grid::ElementBoundObject<Element>::ElementType = Element

No documentation provided.