concepts::CurvatureElementFormula Class Referenceabstract

Formula for the curvature or their derivatives on edges in 2D. More...

#include <formula.hh>

Inheritance diagram for concepts::CurvatureElementFormula:
concepts::ElementFormula< Real > concepts::Cloneable concepts::OutputOperator

Public Types

typedef Real value_type
 

Public Member Functions

virtual CurvatureElementFormulaclone () const
 Virtual copy constructor. More...
 
virtual ElementFormula< Real, typename Realtype< Real >::type > * clone () const=0
 Virtual copy constructor. More...
 
 CurvatureElementFormula (uint n=0)
 Constructor. More...
 
virtual Real operator() (const ElementWithCell< Real > &elm, const Real p, const Real t=0.0) const
 
virtual Real operator() (const ElementWithCell< Real > &elm, const Real2d &p, const Real t=0.0) const
 
virtual Real operator() (const ElementWithCell< Real > &elm, const Real3d &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...
 

Private Attributes

uint n_
 Degree of derivative of the curvature. More...
 

Detailed Description

Formula for the curvature or their derivatives on edges in 2D.

The curvature is taken with respect to the tangential coordinate where the tangential vector is the by 90 degree counter-clockwise rotated outer normal vector.

Definition at line 494 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.

Constructor & Destructor Documentation

◆ CurvatureElementFormula()

concepts::CurvatureElementFormula::CurvatureElementFormula ( uint  n = 0)
inline

Constructor.

Parameters
nderivative of curvature

Definition at line 500 of file formula.hh.

Member Function Documentation

◆ clone() [1/2]

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

Virtual copy constructor.

Implements concepts::Cloneable.

Definition at line 508 of file formula.hh.

◆ clone() [2/2]

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

Virtual copy constructor.

◆ info()

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

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

◆ operator()() [1/6]

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

◆ operator()() [2/6]

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

◆ operator()() [3/6]

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

◆ operator()() [4/6]

virtual Real concepts::ElementFormula< Real , typename Realtype<Real >::type >::operator() ( const ElementWithCell< typename Realtype<Real >::type > &  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< typename Realtype<Real >::type > &  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< typename Realtype<Real >::type > &  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

Member Data Documentation

◆ n_

uint concepts::CurvatureElementFormula::n_
private

Degree of derivative of the curvature.

Definition at line 515 of file formula.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