zylindricalFormula.hh

Go to the documentation of this file.
1 
7 #ifndef zylindricalformula_hh
8 #define zylindricalformula_hh
9 
10 #include "parsedFormula.hh"
11 
12 namespace concepts {
13 
14 
15  // **************************************************** ZylindricalFormula **
16 
23  class ZylindricalFormula : public ParsedFormula<> {
24  public:
30  ZylindricalFormula(const std::string formula, bool transCoord = false);
34  virtual ZylindricalFormula* clone() const;
35 
36  virtual Real operator() (const Real p, const Real t = 0.0) const;
37  virtual Real operator() (const Real2d& p, const Real t = 0.0) const;
38  virtual Real operator() (const Real3d& p, const Real t = 0.0) const;
39  protected:
40  virtual std::ostream& info(std::ostream& os) const;
41  private:
45  };
46 
47 } // namespace concepts
48 
49 #endif // zylindricalformula_hh
ZylindricalFormula(const std::string formula, bool transCoord=false)
Constructor.
virtual std::ostream & info(std::ostream &os) const
virtual ZylindricalFormula * clone() const
virtual Real operator()(const Real p, const Real t=0.0) const
Formula in zylindrical coordinates.
bool transCoord_
Flag, if variables "R" and "Phi" for coordinates are allowed (for reason of backwards compatibility)
double Real
Type normally used for a floating point number.
Definition: typedefs.hh:36
ZylindricalFormula(const ZylindricalFormula &frm)
Copy Constructor.
Basic namespace for Concepts-2.
Definition: pml_formula.h:16
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich