#include <linearForm.hh>
Public Member Functions | |
PointEvaluation (const concepts::Set< concepts::Attribute > attrib, const concepts::ElementFormulaContainer< F > frm=concepts::ConstFormula< F >(1.0)) | |
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. | |
Point evaluation in 1D
This linear form computes on vertices of the mesh with given attribute, where is a formula to evaluate and $v$ the test function.
Definition at line 172 of file linearForm.hh.
|
inline |
Constructor.
frm | The formula |
attrib | Set of vertex attributes |
Definition at line 179 of file linearForm.hh.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::LinearForm< F, G >.
void hp1D::PointEvaluation< 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 >.