Changeset 909 in Sophya for trunk/SophyaLib/SkyT/nupower.cc


Ignore:
Timestamp:
Apr 13, 2000, 4:10:46 PM (25 years ago)
Author:
ansari
Message:

Sophie: adding documentation for Doxygen in the .cc files:wq

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/SkyT/nupower.cc

    r669 r909  
    11//--------------------------------------------------------------------------
    22// File and Version Information:
    3 //      $Id: nupower.cc,v 1.5 1999-11-29 16:59:10 ansari Exp $
     3//      $Id: nupower.cc,v 1.6 2000-04-13 14:10:44 ansari Exp $
    44//
    55// Description:
     
    2121#include "nupower.h"
    2222
    23 //----------------
    24 // Constructor --
    25 //----------------
     23
     24/*!
     25 * \class SOPHYA::PowerLawSpectra <BR>
     26 * This class corresponds to a power law radiation spectrum.
     27*/
    2628PowerLawSpectra::PowerLawSpectra()
    2729{
    2830}
    29 
    30 PowerLawSpectra::PowerLawSpectra(double a, double b, double nu0, double dnu, double numin, double numax)
     31/*! Constructor: The arguments corresponds to the Power Law Spectrum
     32  equation:
     33<a name="psldef"> </a>
     34\f[
     35\hbox{flux}(\nu) = A ({\nu-\nu_0\over \delta\nu})^B
     36\f]
     37*/
     38PowerLawSpectra::PowerLawSpectra(double A, double B, double nu0, double dnu, double numin, double numax)
    3139  : RadSpectra(numin, numax)
    3240{
    33   _a = a;
    34   _b = b;
     41  _a = A;
     42  _b = B;
    3543  _nu0 = nu0;
    3644  _dnu = (dnu > 1.e-19) ? dnu : 1.;
     
    4149{
    4250}
    43 
     51/*! Flux function according to the <a href="#psldef"> above </a>
     52 equation */
    4453double
    4554PowerLawSpectra::flux(double nu) const
Note: See TracChangeset for help on using the changeset viewer.