hp2Dedge::Neumann Class Referenceabstract
Linear form in 2D for the term of Neumann boundary. More...
#include <linearForm.hh>
Public Member Functions | |
Neumann (const concepts::BoundaryConditions *bc) | |
Constructor. More... | |
virtual void | operator() (const concepts::Element< Real > &elm, concepts::ElementMatrix< Real > &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 void | operator() (const Quad< Real > &elm, concepts::ElementMatrix< Real > &em) const |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Protected Attributes | |
std::unique_ptr< BoundaryConditions > | bc_ |
Reference to the boundary conditions. More... | |
Private Member Functions | |
virtual void | part (const Edge< Real > &edge, const concepts::Boundary bd, concepts::ElementMatrix< Real > &em) const |
Computes the distribution to an edge. More... | |
Detailed Description
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.
Constructor & Destructor Documentation
◆ Neumann()
hp2Dedge::Neumann::Neumann | ( | const concepts::BoundaryConditions * | bc | ) |
Constructor.
- Parameters
-
bc Boundary conditions, defaults to homogeneous
Member Function Documentation
◆ info()
|
protectedvirtualinherited |
Reimplemented from concepts::LinearForm< Real >.
◆ operator()() [1/3]
|
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.
- Parameters
-
edge The edge for which the load vector should be computed. em The load vector
◆ operator()() [2/3]
|
pure virtualinherited |
Computes the element contribution to the function.
- Parameters
-
elm Element on which the computations should be performed em The local matrix
◆ operator()() [3/3]
|
virtual |
◆ part()
|
privatevirtual |
Computes the distribution to an edge.
Member Data Documentation
◆ bc_
|
protectedinherited |
Reference to the boundary conditions.
Definition at line 100 of file linearForm.hh.
The documentation for this class was generated from the following file:
- hp2Dedge/linearForm.hh