An extension (subclass) to Wave adding an energy property.

I don't really want to start modelling components of the universe, so perhaps this could be given a different name. Rather like Wave I just want a 'placeholder' that people can use as they see fit (ie, wavelength, frequency or energy). A different name (Jon's DataModelFravergy ?) might be more appropriate. - MCH


  • Wave properties
  • Energy : in eV ?


A trivial extra method getEnergy() that does the appropriate multiplication from the wavelength/frequency of the Wave superclass.

-- MartinHill - 21 May 2004

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2004-05-25 - MartinHill
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback