#include <normalVector.hh>
Public Member Functions | |
EdgeNormalVectorRuleMidPoint (const Real2d midpoint, bool outer=true) | |
virtual EdgeNormalVectorRuleMidPoint * | clone () const |
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. | |
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.
|
inline |
Constructor
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.
|
inlinevirtual |
Reimplemented from concepts::EdgeNormalVectorRule.
Definition at line 104 of file normalVector.hh.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::EdgeNormalVectorRule.
|
virtual |
Reimplemented from concepts::EdgeNormalVectorRule.