hp1D::PointEvaluation< F > Class Template Referenceabstract
Point evaluation in 1D. More...
#include <linearForm.hh>
Public Member Functions | |
void | operator() (const concepts::Element< Real > &elm, concepts::ElementMatrix< F > &em) const |
Computes the element load vector. More... | |
virtual void | operator() (const Element< typename Realtype< Real >::type > &elm, ElementMatrix< Real > &em) const=0 |
Computes the element contribution to the function. More... | |
PointEvaluation (const concepts::Set< concepts::Attribute > attrib, const concepts::ElementFormulaContainer< F > frm=concepts::ConstFormula< F >(1.0)) | |
Constructor. More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Private Attributes | |
const concepts::Set< concepts::Attribute > | attrib_ |
Set of vertex attributes. More... | |
const concepts::ElementFormulaContainer< F > | frm_ |
The element formula. More... | |
Detailed Description
template<typename F = Real>
class hp1D::PointEvaluation< F >
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.
Constructor & Destructor Documentation
◆ PointEvaluation()
|
inline |
Constructor.
- Parameters
-
frm The formula attrib Set of vertex attributes
Definition at line 179 of file linearForm.hh.
Member Function Documentation
◆ info()
|
protectedvirtual |
Reimplemented from concepts::LinearForm< Real >.
◆ operator()() [1/2]
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.
- Parameters
-
elm The element for which the load vector should be computed. em The load vector
◆ operator()() [2/2]
|
pure virtualinherited |
Computes the element contribution to the function.
- Parameters
-
elm Element on which the computations should be performed em The local matrix
Member Data Documentation
◆ attrib_
|
private |
Set of vertex attributes.
Definition at line 195 of file linearForm.hh.
◆ frm_
|
private |
The element formula.
Definition at line 197 of file linearForm.hh.
The documentation for this class was generated from the following file:
- hp1D/linearForm.hh