Gridfunction returning a constant value per element. More...
#include <ElementGridFunction.hpp>
Public Member Functions | |
ElementGridFunction (GridView const &gridView, Container const &container) | |
Constructor. Stores the function fct and creates an EntitySet . | |
Range | operator() (Domain const &) const |
Return the constant value_ | |
EntitySet const & | entitySet () const |
LocalFunction | makeLocalFunction () const |
Create an ElementLocalFunction. | |
Gridfunction returning a constant value per element.
The GridFunction represents for each element the constant value that is stored in the Container
. This container is indexed by the IndexSet of the given GridView
for the element it is bound to.