Athena++/Atmosphere
Planetary Atmosphere Simulator
radiation_utils.hpp File Reference
#include <string>
#include "../athena.hpp"
#include "radiation.hpp"

Go to the source code of this file.

Functions

void readRadiationDirections (std::vector< Direction > &ray, std::string str)
 
void setRadiationFlags (uint64_t *flags, std::string str)
 
void getPhaseHenyeyGreenstein (Real *pmom, int iphas, Real gg, int npmom)
 
void packSpectralProperties (Real *buf, Real const *tau, Real const *ssa, Real const *pmom, int nlayer, int npmom)
 
void unpackSpectralProperties (Real *tau, Real *ssa, Real *pmom, Real const *buf, int slyr, int npmom, int nblocks, int npmom_max=-1)
 

Function Documentation

◆ readRadiationDirections()

void readRadiationDirections ( std::vector< Direction > &  ray,
std::string  str 
)

Definition at line 292 of file radiation_utils.cpp.

◆ setRadiationFlags()

void setRadiationFlags ( uint64_t *  flags,
std::string  str 
)

Definition at line 205 of file radiation_utils.cpp.

◆ getPhaseHenyeyGreenstein()

void getPhaseHenyeyGreenstein ( Real pmom,
int  iphas,
Real  gg,
int  npmom 
)

Definition at line 244 of file radiation_utils.cpp.

◆ packSpectralProperties()

void packSpectralProperties ( Real buf,
Real const *  tau,
Real const *  ssa,
Real const *  pmom,
int  nlayer,
int  npmom 
)

Definition at line 264 of file radiation_utils.cpp.

◆ unpackSpectralProperties()

void unpackSpectralProperties ( Real tau,
Real ssa,
Real pmom,
Real const *  buf,
int  slyr,
int  npmom,
int  nblocks,
int  npmom_max = -1 
)

Definition at line 275 of file radiation_utils.cpp.