GyotoThinDiskPL.h
Go to the documentation of this file.
/*
Copyright 2012-2018 Frederic Vincent, Thibaut Paumard
This file is part of Gyoto.
Gyoto is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Gyoto is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Gyoto. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __GyotoThinDiskPL_H_
#define __GyotoThinDiskPL_H_
#include <iostream>
#include <fstream>
#include <iomanip>
namespace Gyoto{
namespace Astrobj { class ThinDiskPL; }
}
//#include <GyotoMetric.h>
#include <GyotoThinDisk.h>
#include <GyotoBlackBodySpectrum.h>
class Gyoto::Astrobj::ThinDiskPL : public Astrobj::ThinDisk {
friend class Gyoto::SmartPointer<Gyoto::Astrobj::ThinDiskPL>;
private:
double slope_;
double Tinner_;
protected:
SmartPointer<Spectrum::BlackBody> spectrumBB_;
// Constructors - Destructor
// -------------------------
public:
GYOTO_OBJECT;
GYOTO_OBJECT_THREAD_SAFETY;
ThinDiskPL();
ThinDiskPL(const ThinDiskPL& ) ;
virtual ThinDiskPL* clone () const;
virtual ~ThinDiskPL() ;
// Accessors
// ---------
public:
void Slope(double);
double Slope()const;
void Tinner(double);
double Tinner()const;
public:
using ThinDisk::emission;
virtual double emission(double nu_em, double dsem,
state_t const &c_ph,double const c_obj[8]=NULL) const;
};
#endif
GyotoBlackBodySpectrum.h
I_nu(nu, T) = cst_*2*h*nu^3/c^2/(exp(h*nu/k*T)-1.);.
GYOTO_OBJECT
#define GYOTO_OBJECT
Declare class::properties and class::getProperties().
Definition GyotoObject.h:84
GyotoThinDisk.h
Geometrically thin disks and rings.
Gyoto::Astrobj::Generic::emission
virtual double emission(double nu_em, double dsem, state_t const &coord_ph, double const coord_obj[8]=NULL) const
Specific intensity Iν.
Gyoto::Astrobj::ThinDisk
Geometrically thin disks and rings.
Definition GyotoThinDisk.h:71
Gyoto::Astrobj::ThinDiskPL
Geometrically thin disk with black-body emission.
Definition GyotoThinDiskPL.h:51
Gyoto::Astrobj::ThinDiskPL::ThinDiskPL
ThinDiskPL()
Standard constructor.
Gyoto::Astrobj::ThinDiskPL::clone
virtual ThinDiskPL * clone() const
Cloner.
Gyoto::Astrobj::ThinDiskPL::spectrumBB_
SmartPointer< Spectrum::BlackBody > spectrumBB_
disk black body
Definition GyotoThinDiskPL.h:57
Gyoto::Astrobj::ThinDiskPL::emission
virtual double emission(double nu_em, double dsem, state_t const &c_ph, double const c_obj[8]=NULL) const
Specific intensity Iν.
Gyoto::Astrobj::ThinDiskPL::Tinner_
double Tinner_
Reference temperature assumed at inner radius.
Definition GyotoThinDiskPL.h:55
Gyoto::Astrobj::ThinDiskPL::slope_
double slope_
Power law index.
Definition GyotoThinDiskPL.h:54
Gyoto::SmartPointer
Pointers performing reference counting.
Definition GyotoSmartPointer.h:135
Gyoto::Astrobj
Access to astronomical objects.
Definition GyotoAstrobj.h:49
Gyoto
Namespace for the Gyoto library.
Definition GyotoAstrobj.h:44