#include <linearForm.hh>
Public Member Functions | |
Neumann (const concepts::BoundaryConditions *bc) | |
virtual void | operator() (const concepts::Element< Real > &elm, concepts::ElementMatrix< Real > &em) const |
virtual void | operator() (const Quad< 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 in 2D for the term of Neumann boundary
This linear form computes
where
is the tangential vector,
the outer normal vector, and
the tangential component of the Neumann boundary.
Currently only on quadrilaterals.
Definition at line 55 of file linearForm.hh.
hp2Dedge::Neumann::Neumann | ( | const concepts::BoundaryConditions * | bc | ) |
Constructor.
bc | Boundary conditions, defaults to homogeneous |
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::LinearForm< F, G >.
|
virtual |
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.
edge | The edge 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.