template<class Range, class Mesh>
Rodin::Variational::GridFunction<P1<Range, Mesh>> class final

P1 GridFunction.

Base classes

template<class FES, class Derived>
class GridFunctionBase<P1<Range, Mesh>, GridFunction<P1<Range, Mesh>>>
Base class for grid function objects.

Public types

using FESType = P1<Range, Mesh>
Type of finite element space to which the GridFunction belongs to.
using Parent = GridFunctionBase<FESType, GridFunction<FESType>>
Parent class.

Constructors, destructors, conversion operators

GridFunction(const FESType& fes)
Constructs a grid function on a finite element space.
GridFunction(const GridFunction& other)
Copies the grid function.
GridFunction(GridFunction&& other)
Move constructs the grid function.

Public functions

auto operator=(GridFunction&& other) -> GridFunction& constexpr
Move assignment operator.

Function documentation

template<class Range, class Mesh>
Rodin::Variational::GridFunction<P1<Range, Mesh>><Range, Mesh>::GridFunction(const FESType& fes)

Constructs a grid function on a finite element space.

Parameters
fes in Finite element space to which the function belongs to.

template<class Range, class Mesh>
Rodin::Variational::GridFunction<P1<Range, Mesh>><Range, Mesh>::GridFunction(const GridFunction& other)

Copies the grid function.

Parameters
other in Other grid function to copy.

template<class Range, class Mesh>
Rodin::Variational::GridFunction<P1<Range, Mesh>><Range, Mesh>::GridFunction(GridFunction&& other)

Move constructs the grid function.

Parameters
other in Other grid function to move.