Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Member Functions
concepts::SphericalFormula Class Reference

Formula in spherical polar coordinates. More...

#include <sphericalFormula.hh>

Inheritance diagram for concepts::SphericalFormula:
Inheritance graph
[legend]
Collaboration diagram for concepts::SphericalFormula:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual SphericalFormulaclone () const
virtual Real operator() (const Real3d &p, const Real t=0.0) 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
 SphericalFormula (const SphericalFormula &frm)
 Copy Constructor.
 SphericalFormula (const char *formula)
 Constructor.
virtual ~SphericalFormula ()

Protected Member Functions

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

Detailed Description

Formula in spherical polar coordinates.

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

\[ r^2 = x^2 + y^2 + z^2, \tan \phi = \frac{y}{x}, \cos \theta = \frac{z}{r}, \]

where $\phi \in (-\pi, \pi)$ and $\theta \in (0,\pi)$.

Author:
Philipp Frauenfelder, 2002

Definition at line 27 of file sphericalFormula.hh.


Constructor & Destructor Documentation

concepts::SphericalFormula::SphericalFormula ( const char *  formula) [inline]

Constructor.

Definition at line 30 of file sphericalFormula.hh.

concepts::SphericalFormula::SphericalFormula ( const SphericalFormula frm) [inline]

Copy Constructor.

Definition at line 32 of file sphericalFormula.hh.

virtual concepts::SphericalFormula::~SphericalFormula ( ) [virtual]

Member Function Documentation

virtual SphericalFormula* concepts::SphericalFormula::clone ( ) const [virtual]
virtual std::ostream& concepts::SphericalFormula::info ( std::ostream &  os) const [protected, virtual]
virtual Real concepts::SphericalFormula::operator() ( const Real3d p,
const Real  t = 0.0 
) const [virtual]
virtual Real concepts::SphericalFormula::operator() ( const Real2d p,
const Real  t = 0.0 
) const [virtual]
virtual Real concepts::SphericalFormula::operator() ( const Real  p,
const Real  t = 0.0 
) const [virtual]

The documentation for this class was generated from the following file:

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)