Athena++/Atmosphere
Planetary Atmosphere Simulator
RadiationBand Class Reference

#include <radiation.hpp>

Public Member Functions

 RadiationBand (Radiation *prad)
 
 RadiationBand (Radiation *prad, std::string name, ParameterInput *pin)
 
 ~RadiationBand ()
 
void addAbsorber (std::string name, std::string file, ParameterInput *pin)
 
void addAbsorber (Absorber *pab)
 
void setSpectralProperties (AthenaArray< Real > const &w, int k, int j, int il, int iu)
 
void calculateRadiativeFlux (Direction rayInput, Real dist_au, int k, int j, int il, int iu)
 
void calculateRadiance (Direction rayInput, Real dist_au, int k, int j, int il, int iu)
 

Public Attributes

std::string myname
 
int num_bins
 
uint64_t bflags
 
Radiationpmy_rad
 
RadiationBandprev
 
RadiationBandnext
 
Absorberpabs
 
std::vector< Spectrumspec
 
Real wmin
 
Real wmax
 
AthenaArray< Realbtau
 
AthenaArray< Realbssa
 
AthenaArray< Realbpmom
 
AthenaArray< Realbflxup
 
AthenaArray< Realbflxdn
 
AthenaArray< Realbtoa
 btoa is a reference to radiance in Radiation More...
 
std::vector< DirectionrayOutput
 

Protected Attributes

Real ** tau_
 
Real ** ssa_
 
Real *** pmom_
 
Realtem_
 
Realtemf_
 
Real ** flxup_
 
Real ** flxdn_
 
Real ** toa_
 
Real alpha_
 

Detailed Description

Definition at line 43 of file radiation.hpp.

Constructor & Destructor Documentation

◆ RadiationBand() [1/2]

RadiationBand::RadiationBand ( Radiation prad)

Definition at line 15 of file radiation_band.cpp.

◆ RadiationBand() [2/2]

RadiationBand::RadiationBand ( Radiation prad,
std::string  name,
ParameterInput pin 
)
Note
btoa is set to a shallow slice to Radiation::radOutput

Definition at line 20 of file radiation_band.cpp.

◆ ~RadiationBand()

RadiationBand::~RadiationBand ( )

Definition at line 175 of file radiation_band.cpp.

Member Function Documentation

◆ addAbsorber() [1/2]

void RadiationBand::addAbsorber ( std::string  name,
std::string  file,
ParameterInput pin 
)

◆ addAbsorber() [2/2]

void RadiationBand::addAbsorber ( Absorber pab)

Definition at line 202 of file radiation_band.cpp.

◆ setSpectralProperties()

void RadiationBand::setSpectralProperties ( AthenaArray< Real > const &  w,
int  k,
int  j,
int  il,
int  iu 
)
Todo:
do we need it?

Definition at line 21 of file set_spectral_properties.cpp.

◆ calculateRadiativeFlux()

void RadiationBand::calculateRadiativeFlux ( Direction  rayInput,
Real  dist_au,
int  k,
int  j,
int  il,
int  iu 
)

◆ calculateRadiance()

void RadiationBand::calculateRadiance ( Direction  rayInput,
Real  dist_au,
int  k,
int  j,
int  il,
int  iu 
)

Member Data Documentation

◆ myname

std::string RadiationBand::myname

Definition at line 46 of file radiation.hpp.

◆ num_bins

int RadiationBand::num_bins

Definition at line 47 of file radiation.hpp.

◆ bflags

uint64_t RadiationBand::bflags

Definition at line 48 of file radiation.hpp.

◆ pmy_rad

Radiation* RadiationBand::pmy_rad

Definition at line 49 of file radiation.hpp.

◆ prev

RadiationBand* RadiationBand::prev

Definition at line 50 of file radiation.hpp.

◆ next

RadiationBand * RadiationBand::next

Definition at line 50 of file radiation.hpp.

◆ pabs

Absorber* RadiationBand::pabs

Definition at line 51 of file radiation.hpp.

◆ spec

std::vector<Spectrum> RadiationBand::spec

Definition at line 54 of file radiation.hpp.

◆ wmin

Real RadiationBand::wmin

Definition at line 55 of file radiation.hpp.

◆ wmax

Real RadiationBand::wmax

Definition at line 55 of file radiation.hpp.

◆ btau

AthenaArray<Real> RadiationBand::btau

Definition at line 58 of file radiation.hpp.

◆ bssa

AthenaArray<Real> RadiationBand::bssa

Definition at line 58 of file radiation.hpp.

◆ bpmom

AthenaArray<Real> RadiationBand::bpmom

Definition at line 58 of file radiation.hpp.

◆ bflxup

AthenaArray<Real> RadiationBand::bflxup

Definition at line 59 of file radiation.hpp.

◆ bflxdn

AthenaArray<Real> RadiationBand::bflxdn

Definition at line 59 of file radiation.hpp.

◆ btoa

AthenaArray<Real> RadiationBand::btoa

btoa is a reference to radiance in Radiation

Definition at line 61 of file radiation.hpp.

◆ rayOutput

std::vector<Direction> RadiationBand::rayOutput

Definition at line 64 of file radiation.hpp.

◆ tau_

Real** RadiationBand::tau_
protected

Definition at line 85 of file radiation.hpp.

◆ ssa_

Real ** RadiationBand::ssa_
protected

Definition at line 85 of file radiation.hpp.

◆ pmom_

Real *** RadiationBand::pmom_
protected

Definition at line 85 of file radiation.hpp.

◆ tem_

Real * RadiationBand::tem_
protected

Definition at line 85 of file radiation.hpp.

◆ temf_

Real * RadiationBand::temf_
protected

Definition at line 85 of file radiation.hpp.

◆ flxup_

Real** RadiationBand::flxup_
protected

Definition at line 86 of file radiation.hpp.

◆ flxdn_

Real ** RadiationBand::flxdn_
protected

Definition at line 86 of file radiation.hpp.

◆ toa_

Real** RadiationBand::toa_
protected

Definition at line 87 of file radiation.hpp.

◆ alpha_

Real RadiationBand::alpha_
protected

Definition at line 88 of file radiation.hpp.


The documentation for this class was generated from the following files: