hp2D::ElementFormulaSignNormalVector Class Referenceabstract

Element formula on 1D elements based on Edge2d returning the 1.0 if the normal vector is the right one and -1.0 otherwise. More...

#include <formula.hh>

Inheritance diagram for hp2D::ElementFormulaSignNormalVector:
concepts::ElementFormula< Real > concepts::Cloneable concepts::OutputOperator

Public Types

typedef Real value_type
 

Public Member Functions

virtual ElementFormulaSignNormalVectorclone () const
 Virtual copy constructor. More...
 
virtual ElementFormula< Real, typename Realtype< Real >::type > * clone () const=0
 Virtual copy constructor. More...
 
virtual Real operator() (const concepts::ElementWithCell< Real > &elm, const concepts::Real2d &p, const Real t=0.0) const
 
virtual Real operator() (const concepts::ElementWithCell< Real > &elm, const concepts::Real3d &p, const Real t=0.0) const
 
virtual Real operator() (const concepts::ElementWithCell< Real > &elm, const Real p, const Real t=0.0) const
 
virtual Real operator() (const ElementWithCell< typename Realtype< Real >::type > &elm, const Real p, const Real t=0.0) const=0
 Evaluates the formula. More...
 
virtual Real operator() (const ElementWithCell< typename Realtype< Real >::type > &elm, const Real2d &p, const Real t=0.0) const=0
 Evaluates the formula. More...
 
virtual Real operator() (const ElementWithCell< typename Realtype< Real >::type > &elm, const Real3d &p, const Real t=0.0) const=0
 Evaluates the formula. More...
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream. More...
 

Detailed Description

Element formula on 1D elements based on Edge2d returning the 1.0 if the normal vector is the right one and -1.0 otherwise.

Author
Kersten Schmidt, 2010

Definition at line 320 of file formula.hh.

Member Typedef Documentation

◆ value_type

typedef Real concepts::ElementFormula< Real , typename Realtype<Real >::type >::value_type
inherited

Definition at line 37 of file elementFormula.hh.

Member Function Documentation

◆ clone() [1/2]

virtual ElementFormulaSignNormalVector* hp2D::ElementFormulaSignNormalVector::clone ( ) const
inlinevirtual

Virtual copy constructor.

Implements concepts::Cloneable.

Definition at line 336 of file formula.hh.

◆ clone() [2/2]

virtual ElementFormula<Real ,typename Realtype<Real >::type >* concepts::ElementFormula< Real , typename Realtype<Real >::type >::clone ( ) const
pure virtualinherited

Virtual copy constructor.

◆ info()

virtual std::ostream& hp2D::ElementFormulaSignNormalVector::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

◆ operator()() [1/6]

virtual Real hp2D::ElementFormulaSignNormalVector::operator() ( const concepts::ElementWithCell< Real > &  elm,
const concepts::Real2d p,
const Real  t = 0.0 
) const
inlinevirtual

Definition at line 324 of file formula.hh.

◆ operator()() [2/6]

virtual Real hp2D::ElementFormulaSignNormalVector::operator() ( const concepts::ElementWithCell< Real > &  elm,
const concepts::Real3d p,
const Real  t = 0.0 
) const
inlinevirtual

Definition at line 329 of file formula.hh.

◆ operator()() [3/6]

virtual Real hp2D::ElementFormulaSignNormalVector::operator() ( const concepts::ElementWithCell< Real > &  elm,
const Real  p,
const Real  t = 0.0 
) const
virtual

◆ operator()() [4/6]

virtual Real concepts::ElementFormula< Real , typename Realtype<Real >::type >::operator() ( const ElementWithCell< G > &  elm,
const Real  p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

◆ operator()() [5/6]

virtual Real concepts::ElementFormula< Real , typename Realtype<Real >::type >::operator() ( const ElementWithCell< G > &  elm,
const Real2d p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

◆ operator()() [6/6]

virtual Real concepts::ElementFormula< Real , typename Realtype<Real >::type >::operator() ( const ElementWithCell< G > &  elm,
const Real3d p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

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