Comprehensive Atmosphere N' Ocean Engine
radiation_utils.hpp File Reference
#include <athena/athena.hpp>
#include <string>
#include <vector>
#include "radiation.hpp"

Go to the source code of this file.


void read_radiation_directions (std::vector< Direction > *ray, std::string str)
void set_radiation_flags (uint64_t *flags, std::string str)
void get_phase_momentum (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

◆ read_radiation_directions()

void read_radiation_directions ( std::vector< Direction > *  ray,
std::string  str 

Definition at line 295 of file radiation_utils.cpp.

◆ set_radiation_flags()

void set_radiation_flags ( uint64_t *  flags,
std::string  str 

Definition at line 214 of file radiation_utils.cpp.

◆ get_phase_momentum()

void get_phase_momentum ( Real *  pmom,
int  iphas,
Real  gg,
int  npmom 

Definition at line 255 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 272 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 280 of file radiation_utils.cpp.