Formula in zylindrical coordinates. More...

#include <zylindricalFormula.hh>

Inheritance diagram for concepts::ZylindricalFormula:
concepts::ParsedFormula<>

Public Member Functions

virtual ZylindricalFormulaclone () const
 
virtual Real operator() (const Real p, const Real t=0.0) const
 
virtual Real operator() (const Real2d &p, const Real t=0.0) const
 
virtual Real operator() (const Real3d &p, const Real t=0.0) const
 
 ZylindricalFormula (const std::string formula, bool transCoord=false)
 Constructor. More...
 
 ZylindricalFormula (const ZylindricalFormula &frm)
 Copy Constructor. More...
 
virtual ~ZylindricalFormula ()
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 

Private Attributes

bool transCoord_
 Flag, if variables "R" and "Phi" for coordinates are allowed (for reason of backwards compatibility) More...
 

Detailed Description

Formula in zylindrical coordinates.

In such a formula, x has the meaning of the radius and y has the meaning of the angle. The input parameters of the application operators has to be given in Kartesian coordinates.

Author
Philipp Frauenfelder, 2002

Definition at line 23 of file zylindricalFormula.hh.

Constructor & Destructor Documentation

◆ ZylindricalFormula() [1/2]

concepts::ZylindricalFormula::ZylindricalFormula ( const std::string  formula,
bool  transCoord = false 
)

Constructor.

In the case of transCoord is true the variables "R" and "Phi" are transformed to "x" and "y".

◆ ZylindricalFormula() [2/2]

concepts::ZylindricalFormula::ZylindricalFormula ( const ZylindricalFormula frm)

Copy Constructor.

◆ ~ZylindricalFormula()

virtual concepts::ZylindricalFormula::~ZylindricalFormula ( )
virtual

Member Function Documentation

◆ clone()

virtual ZylindricalFormula* concepts::ZylindricalFormula::clone ( ) const
virtual

◆ info()

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

◆ operator()() [1/3]

virtual Real concepts::ZylindricalFormula::operator() ( const Real  p,
const Real  t = 0.0 
) const
virtual

◆ operator()() [2/3]

virtual Real concepts::ZylindricalFormula::operator() ( const Real2d p,
const Real  t = 0.0 
) const
virtual

◆ operator()() [3/3]

virtual Real concepts::ZylindricalFormula::operator() ( const Real3d p,
const Real  t = 0.0 
) const
virtual

Member Data Documentation

◆ transCoord_

bool concepts::ZylindricalFormula::transCoord_
private

Flag, if variables "R" and "Phi" for coordinates are allowed (for reason of backwards compatibility)

Definition at line 44 of file zylindricalFormula.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