hp1D::GradLinearForm< F > Class Template Referenceabstract
Linear form on edges in nD. More...
#include <linearForm.hh>
Inheritance diagram for hp1D::GradLinearForm< F >:
Public Member Functions | |
GradLinearForm (const concepts::ElementFormulaContainer< F > frm) | |
Constructor. More... | |
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... | |
virtual | ~GradLinearForm () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Detailed Description
template<typename F = Real>
class hp1D::GradLinearForm< F >
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.
Constructor & Destructor Documentation
◆ GradLinearForm()
template<typename F = Real>
hp1D::GradLinearForm< F >::GradLinearForm | ( | const concepts::ElementFormulaContainer< F > | frm | ) |
Constructor.
- Parameters
-
frm Formula.
◆ ~GradLinearForm()
template<typename F = Real>
|
virtual |
Member Function Documentation
◆ info()
template<typename F = Real>
|
protectedvirtual |
Reimplemented from concepts::LinearForm< Real >.
◆ operator()() [1/2]
template<typename F = Real>
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.
- 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
The documentation for this class was generated from the following file:
- hp1D/linearForm.hh