Planetary Atmosphere Simulator
radiation_utils.cpp File Reference
#include <fstream>
#include <iostream>
#include <sstream>
#include <iomanip>
#include "../utils/utils.hpp"
#include "../math/core.h"
#include "radiation_utils.hpp"

Go to the source code of this file.


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)
void readRadiationDirections (std::vector< Direction > &ray, std::string str)

Function Documentation

◆ 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 

Definition at line 275 of file radiation_utils.cpp.

◆ readRadiationDirections()

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

Definition at line 292 of file radiation_utils.cpp.