#include <linearForm.hh>
Public Member Functions | |
Neumann (const concepts::BoundaryConditions *bc) | |
void | operator() (const concepts::Element< Real > &elm, concepts::ElementMatrix< Real > &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. | |
Protected Attributes | |
std::unique_ptr< BoundaryConditions > | bc_ |
Reference to the boundary conditions. | |
Linear form on edges in nD.
Point evaluation of boundary vertices which correspond to the Neumann boundary condition for one-dimensional domains.
This linear form computes
where is the data of the Neumann boundary condition.
Definition at line 38 of file linearForm.hh.
hp1D::Neumann::Neumann | ( | const concepts::BoundaryConditions * | bc | ) |
Constructor. Parses the formula.
frm | The formula |
bc | Boundary conditions, defaults to homogeneous |
|
virtual |
Reimplemented from concepts::Neumann< Real >.
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::LinearForm< F, G >.
void hp1D::Neumann::operator() | ( | const concepts::Element< Real > & | elm, |
concepts::ElementMatrix< Real > & | 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 >.
|
protectedinherited |
Reference to the boundary conditions.
Definition at line 100 of file linearForm.hh.