GyotoPatternDiskBB.h
Go to the documentation of this file.
/*
Copyright 2012-2016, 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 __GyotoPatternDiskBB_H_
#define __GyotoPatternDiskBB_H_
#include <iostream>
#include <fstream>
#include <iomanip>
namespace Gyoto{
namespace Astrobj { class PatternDiskBB; }
}
//#include <GyotoMetric.h>
#include <GyotoPatternDisk.h>
#include <GyotoBlackBodySpectrum.h>
class Gyoto::Astrobj::PatternDiskBB : public Astrobj::PatternDisk {
friend class Gyoto::SmartPointer<Gyoto::Astrobj::PatternDiskBB>;
protected:
SmartPointer<Spectrum::BlackBody> spectrumBB_;
private:
int SpectralEmission_;
// Constructors - Destructor
// -------------------------
public:
GYOTO_OBJECT;
GYOTO_OBJECT_THREAD_SAFETY;
PatternDiskBB();
PatternDiskBB(const PatternDiskBB& ) ;
virtual PatternDiskBB* clone () const;
virtual ~PatternDiskBB() ;
// Accessors
// ---------
public:
bool spectralEmission() const;
void spectralEmission(bool t);
public:
using PatternDisk::emission;
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
GyotoPatternDisk.h
A geometrically thin, optically thick disk.
Gyoto::Astrobj::PatternDiskBB
Geometrically thin disk read from FITS file with black body spectrum.
Definition GyotoPatternDiskBB.h:54
Gyoto::Astrobj::PatternDiskBB::spectrumBB_
SmartPointer< Spectrum::BlackBody > spectrumBB_
emission law
Definition GyotoPatternDiskBB.h:57
Gyoto::Astrobj::PatternDiskBB::PatternDiskBB
PatternDiskBB()
Standard constructor.
Gyoto::Astrobj::PatternDiskBB::SpectralEmission_
int SpectralEmission_
1 if spectral emission.
Definition GyotoPatternDiskBB.h:66
Gyoto::Astrobj::PatternDiskBB::clone
virtual PatternDiskBB * clone() const
Cloner.
Gyoto::Astrobj::PatternDiskBB::emission
double emission(double nu_em, double dsem, state_t const &c_ph, double const c_obj[8]=NULL) const
Specific intensity Iν.
Gyoto::Astrobj::PatternDisk
Geometrically thin disk read from FITS file.
Definition GyotoPatternDisk.h:51
Gyoto::Astrobj::PatternDisk::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::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