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>

Inheritance diagram for concepts::EdgeNormalVectorRuleMidPoint:
concepts::EdgeNormalVectorRule concepts::OutputOperator

Public Member Functions

virtual EdgeNormalVectorRuleMidPointclone () 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.

Author
Kersten Schmidt, 2012

Definition at line 93 of file normalVector.hh.

Constructor & Destructor Documentation

◆ EdgeNormalVectorRuleMidPoint()

concepts::EdgeNormalVectorRuleMidPoint::EdgeNormalVectorRuleMidPoint ( const Real2d  midpoint,
bool  outer = true 
)
inline

Constructor.

Parameters
midpointPoint in the domain
outerflag, 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()

virtual EdgeNormalVectorRuleMidPoint* concepts::EdgeNormalVectorRuleMidPoint::clone ( ) const
inlinevirtual

Reimplemented from concepts::EdgeNormalVectorRule.

Definition at line 104 of file normalVector.hh.

◆ info()

virtual std::ostream& concepts::EdgeNormalVectorRuleMidPoint::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::EdgeNormalVectorRule.

◆ operator()()

virtual Z2 concepts::EdgeNormalVectorRuleMidPoint::operator() ( const Cell2 cell,
uint  k 
) const
virtual

Reimplemented from concepts::EdgeNormalVectorRule.

Member Data Documentation

◆ midpoint_

const Real2d concepts::EdgeNormalVectorRuleMidPoint::midpoint_
private

Point in the domain.

Definition at line 113 of file normalVector.hh.

◆ outer_

bool concepts::EdgeNormalVectorRuleMidPoint::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:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich