concepts::EdgeNormalVectorRuleMidPoint Class Reference
Class defining the rule that the normal vector is outwards or inwards when looking from a given point. More...
#include <normalVector.hh>
Public Member Functions | |
virtual EdgeNormalVectorRuleMidPoint * | clone () const |
EdgeNormalVectorRuleMidPoint (const Real2d midpoint, bool outer=true) | |
Constructor. More... | |
virtual Z2 | operator() (const Cell2 &cell, uint k) const |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Private Attributes | |
const Real2d | midpoint_ |
Point in the domain. More... | |
bool | outer_ |
Flag indicating, if the normal vector should be outwards or inwards directed when looking from the midpoint. More... | |
Detailed Description
Class defining the rule that the normal vector is outwards or inwards when looking from a given point.
With this rule for star shaped domains the normal vector on all edges of the outer boundary can be set either outwards or inwards directing.
Definition at line 93 of file normalVector.hh.
Constructor & Destructor Documentation
◆ EdgeNormalVectorRuleMidPoint()
|
inline |
Constructor.
- Parameters
-
midpoint Point in the domain outer flag, if the normal vector should be outwards or inwards directed when looking from the midpoint
Definition at line 101 of file normalVector.hh.
Member Function Documentation
◆ clone()
|
inlinevirtual |
Reimplemented from concepts::EdgeNormalVectorRule.
Definition at line 104 of file normalVector.hh.
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::EdgeNormalVectorRule.
◆ operator()()
|
virtual |
Reimplemented from concepts::EdgeNormalVectorRule.
Member Data Documentation
◆ midpoint_
|
private |
Point in the domain.
Definition at line 113 of file normalVector.hh.
◆ outer_
|
private |
Flag indicating, if the normal vector should be outwards or inwards directed when looking from the midpoint.
Definition at line 117 of file normalVector.hh.
The documentation for this class was generated from the following file:
- geometry/normalVector.hh