Changeset 668 in Sophya for trunk/SophyaLib/SkyT/blackbody.cc
- Timestamp:
- Nov 29, 1999, 3:16:10 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SkyT/blackbody.cc
r607 r668 1 1 //-------------------------------------------------------------------------- 2 2 // File and Version Information: 3 // $Id: blackbody.cc,v 1. 2 1999-11-20 21:00:47ansari Exp $3 // $Id: blackbody.cc,v 1.3 1999-11-29 14:16:03 ansari Exp $ 4 4 // 5 5 // Description: … … 24 24 //---------------- 25 25 BlackBody::BlackBody(double temperature) 26 : RadSpectra( 0., 10000.)26 : RadSpectra(10., 10000.) 27 27 { 28 28 _temperature = temperature; … … 57 57 } 58 58 59 void 60 BlackBody::WriteSelf(POutPersist& s) 61 { 62 s.PutR8(this->getTemperature()); 63 s.PutR8(this->minFreq()); 64 s.PutR8(this->maxFreq()); 65 } 66 67 void 68 BlackBody::ReadSelf(PInPersist& s) 69 { 70 s.GetR8(_temperature); 71 s.GetR8(_numin); 72 s.GetR8(_numax); 73 cout << " Temperature - minFreq - maxFreq " << endl; 74 cout << _temperature << "-" << _numin << "-" << _numax << endl; 75 } 76 77 59 78 void 60 79 BlackBody::Print(ostream& os) const
Note:
See TracChangeset
for help on using the changeset viewer.