template<class Vector>
Rodin::Variational::LinearFormBase class

Base class for linear form objects.

Base classes

class Base
Base class for all classes which are part of Rodin's FormLanguage.

Derived classes

template<class FES, class Vector>
class LinearForm
Represents a linear form on some finite element space.
template<class FES, class Vector>
class LinearForm
Represents a linear form on some finite element space.
template<class FES, class Vector>
class LinearForm
Represents a linear form on some finite element space.

Public functions

void assemble() pure virtual
Assembles the linear form.
auto getVector() -> VectorType& pure virtual
Gets the reference to the (local) associated vector to the LinearForm.
auto getVector() const -> const VectorType& pure virtual
Gets the reference to the (local) associated vector to the LinearForm.
auto getTestFunction() const -> const FormLanguage::Base& pure virtual
Gets the test function argument associated to this linear form.
auto copy() const -> LinearFormBase* override noexcept
Copies the object and returns a non-owning pointer to the copied object.

Function documentation

template<class Vector>
void Rodin::Variational::LinearFormBase<Vector>::assemble() pure virtual

Assembles the linear form.

This method will assemble the underlying vector associated the linear form.

template<class Vector>
LinearFormBase* Rodin::Variational::LinearFormBase<Vector>::copy() const override noexcept

Copies the object and returns a non-owning pointer to the copied object.

Returns Non-owning pointer to the copied object.