source: Sophya/trunk/SophyaLib/SkyT/derivblackbody.h@ 4040

Last change on this file since 4040 was 901, checked in by ansari, 25 years ago

Sophie: adding the namespace SOPHYA in the .h files

File size: 1.1 KB
RevLine 
[879]1// This may look like C code, but it is really -*- C++ -*-
2//--------------------------------------------------------------------------
3// File and Version Information:
[901]4// $Id: derivblackbody.h,v 1.2 2000-04-13 08:17:03 ansari Exp $
[879]5//
6// Description:
7//
8// History (add to end):
9// Sophie Oct, 1999 - creation
10//
11//------------------------------------------------------------------------
12
13#ifndef DERIVBLACKBODY_H_SEEN
14#define DERIVBLACKBODY_H_SEEN
15
16#include "radspec.h"
17#include "convtools.h"
[901]18namespace SOPHYA {
[879]19class DerivBlackBody : public RadSpectra
20{
21public: //Constructor
22 //Constructor
23 DerivBlackBody (double temp = ConvTools::tcmb);
24
25 virtual ~DerivBlackBody();
26
27 virtual double flux(double nu) const;
28
29 // returns the value of the temperature
30 inline double getTemperature() const {return _temperature;}
31
32 // reset the value of the temperature with a new value
33 inline void setTemperature(double newtemp) { _temperature = newtemp; }
34
35 // Redefintion of the Print function
36 virtual void Print(ostream& os) const;
37
38protected:
39 double _temperature;
40
41};
[901]42}
[879]43#endif
Note: See TracBrowser for help on using the repository browser.