00001 00005 #ifndef zylindricalformula_hh 00006 #define zylindricalformula_hh 00007 00008 #include "parsedFormula.hh" 00009 00010 namespace concepts { 00011 00012 00013 // **************************************************** ZylindricalFormula ** 00014 00021 class ZylindricalFormula : public ParsedFormula<> { 00022 public: 00028 ZylindricalFormula(const std::string formula, bool transCoord = false); 00030 ZylindricalFormula(const ZylindricalFormula& frm); 00031 virtual ~ZylindricalFormula(); 00032 virtual ZylindricalFormula* clone() const; 00033 00034 virtual Real operator() (const Real p, const Real t = 0.0) const; 00035 virtual Real operator() (const Real2d& p, const Real t = 0.0) const; 00036 virtual Real operator() (const Real3d& p, const Real t = 0.0) const; 00037 protected: 00038 virtual std::ostream& info(std::ostream& os) const; 00039 private: 00042 bool transCoord_; 00043 }; 00044 00045 } // namespace concepts 00046 00047 #endif // zylindricalformula_hh