concepts::EdgeNormalVectorRuleAttrib Class Reference

Class defining the rule that the normal vector is outwards or inwards cells with giving attribute. More...

#include <normalVector.hh>

Inheritance diagram for concepts::EdgeNormalVectorRuleAttrib:
concepts::EdgeNormalVectorRule concepts::OutputOperator

Public Member Functions

virtual EdgeNormalVectorRuleAttribclone () const
 
 EdgeNormalVectorRuleAttrib (const Set< Attribute > attrib, 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 Set< Attributeattrib_
 Attributes of inner or outer domain. More...
 
bool outer_
 Flag indicating, if for cells with given attributes the normal vector should points outwards or inwards. More...
 

Detailed Description

Class defining the rule that the normal vector is outwards or inwards cells with giving attribute.

For cells with other then the given attributes the normal vector is pointing in the respective other direction.

Author
Kersten Schmidt, 2012

Definition at line 52 of file normalVector.hh.

Constructor & Destructor Documentation

◆ EdgeNormalVectorRuleAttrib()

concepts::EdgeNormalVectorRuleAttrib::EdgeNormalVectorRuleAttrib ( const Set< Attribute attrib,
bool  outer = true 
)
inline

Constructor.

Parameters
attribset of cell attributes
outerflag, if for cells with given attributes the normal vector should points outwards or inwards

Definition at line 60 of file normalVector.hh.

Member Function Documentation

◆ clone()

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

Reimplemented from concepts::EdgeNormalVectorRule.

Definition at line 66 of file normalVector.hh.

◆ info()

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

Returns information in an output stream.

Reimplemented from concepts::EdgeNormalVectorRule.

◆ operator()()

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

Reimplemented from concepts::EdgeNormalVectorRule.

Member Data Documentation

◆ attrib_

const Set<Attribute> concepts::EdgeNormalVectorRuleAttrib::attrib_
private

Attributes of inner or outer domain.

Definition at line 75 of file normalVector.hh.

◆ outer_

bool concepts::EdgeNormalVectorRuleAttrib::outer_
private

Flag indicating, if for cells with given attributes the normal vector should points outwards or inwards.

Definition at line 79 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