#include <linearForm.hh>
Public Member Functions | |
GradLinearForm (const concepts::ElementFormulaContainer< F > frm) | |
void | operator() (const concepts::Element< Real > &elm, concepts::ElementMatrix< F > &em) const |
virtual void | operator() (const Element< G > &elm, ElementMatrix< F > &em) const =0 |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Linear form on edges in nD.
This linear form computes
, where is a set of edges. first derivative $f'$ is interpolated on the quadrature points.
Definition at line 138 of file linearForm.hh.
hp1D::GradLinearForm< F >::GradLinearForm | ( | const concepts::ElementFormulaContainer< F > | frm | ) |
Constructor.
frm | Formula. |
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::LinearForm< F, G >.
void hp1D::GradLinearForm< F >::operator() | ( | const concepts::Element< Real > & | elm, |
concepts::ElementMatrix< F > & | em | ||
) | const |
Computes the element load vector. As for the computation of an element stiffness matrix, there are the loops over all quadrature points and the loops over all shape functions.
elm | The element for which the load vector should be computed. |
em | The load vector |
|
pure virtualinherited |
Computes the element contribution to the function.
elm | Element on which the computations should be performed |
em | The local matrix |
Implemented in vectorial::LinearForm< F, G >.