OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022

#include <afrt.h>

Collaboration diagram for Afrt:
[legend]

Classes

struct  fdat
 

Public Member Functions

 Afrt ()
 
virtual ~Afrt ()
 
virtual int initialize ()
 
int ocn ()
 
int rt1 ()
 
int rt2 (int ilm, int isd, int itau, int iwnd, rt2_in *rt2in, rt2_out *rt2out, rt1_in *rt1in, rt1_out *rt1out, ocn_in *ocnin, ocn_out *ocnout, phs_in *phsin, phs_out *phsout)
 
int hump (double cnst, double t[][ntf], double tp[][nlyr], int nm, double lp, double rmu[], double thd[], int ixy)
 
int anglw ()
 
int frs (double xx, double xr, double xi, double &rfsea)
 
int matrx (int ii, int kk)
 
int mats (int ii, int kk, int l)
 
int depol (int ii, int kk, int l)
 
int single_down ()
 
int single_up ()
 
int getrad ()
 
int multp1d ()
 
int multp2d ()
 
int geocor ()
 
int geom (double a, double b, double c, double &r, double &g)
 
int rsea_new ()
 
int fluxlvl (double buft[][2 *nsza][nstk], double &sumg, int iflag)
 
int xntpln (double x, double x1, double x2, double y1, double y2, double &y)
 
int mdiffn (int ib, int ie, int il, double dlyr)
 
void setHistory (std::string history)
 
std::string getHistory ()
 

Public Attributes

string output_filepath_
 
string title_
 
string prod_name_
 
string history_
 

Protected Attributes

std::vector< fdatunit53
 
std::vector< fdatunit54
 
std::vector< fdatunit55
 
std::vector< fdatunit64
 
std::vector< fdatunit65
 
std::vector< fdatunit71
 
std::vector< fdatunit72
 
std::vector< fdat > * irad
 
std::vector< fdat > * iwrt
 
fdat fnull
 
fdat fio
 
fdat fiib
 
fdat fiic
 
fdat ftmp
 
fdat ftmpa
 
fdat ftmpb
 
fdat sngla
 
fdat snglb
 
fdat fioup
 
fdat fioup_btm
 
fdat fiodn
 
fdat fglint
 
double ee [nstk]
 
double ei [nstk]
 
double eo [nstk]
 
double p [2 *nphi][32]
 
double pp [nstk][nlyr]
 
double qq [nstk][nlyr]
 
double rmu [2 *nthe]
 
double cmu [2 *nthe]
 
double dcmu [2 *nthe]
 
double dcmu2 [2 *nthe]
 
double cosmu [2 *nthe]
 
double sinmu [2 *nthe]
 
double the [2 *nsza]
 
double c [2 *nsza]
 
double phi [2 *nphi]
 
double costh [2 *nphi]
 
double sinth [2 *nphi]
 
double taupl [nlyr]
 
double totl [nlyr]
 
double efact [nlyr]
 
double efactb [nlyr]
 
double emdtm [2 *nsza][nlyr]
 
double emtm [2 *nsza][nlyr]
 
double t [nstk][ntf]
 
double thd [ntf]
 
double pfs [2 *nsza][2 *nphi][32]
 
double ppin [2 *nsza][2 *nsza][2 *nphi][32]
 
double atnflx [nsza][nlyr]
 
double qsp [nsza]
 
double fdown [nsza]
 
double fup [nsza]
 
double fdirc [nsza]
 
double oalb [nsza]
 
double sbarz [nsza]
 
double albtdr [nsza]
 
double albtdf [nsza]
 
double albtrf [nsza]
 
double albtdt [nsza]
 
double albwl [nsza]
 
double albrdr [nsza]
 
double albrdf [nsza]
 
double rfair [2 *nsza]
 
double rfwat [2 *nsza]
 
double txx [nsza][nthe][nphi][16]
 
double raddir [nphi][nthe][nsza]
 
double radocn [nphi][nthe][nsza]
 
double radsky [nphi][nthe][nsza]
 
double geoiup [nphi][nsza][20]
 
double geoidn [nphi][nsza][20]
 
double fluxu [nlyr][20]
 
double fluxd [nlyr][20]
 
double xzeroz [nphi][nthe][nsza][nstk]
 
double xzerod [nphi][nthe][nsza][nstk]
 
double xzero_up [nphi][nthe][nsza]
 
double xzero_btm [nphi][nthe][nsza]
 
double tupz [nphi][nthe][nsza][nstk]
 
double tdwnz [nphi][nthe][nsza][nstk]
 
double dtmm [nlyr]
 
double dtrr [nlyr]
 
double dtaa [nlyr]
 
double dtot [nlyr]
 
double tmsl
 
double trsl
 
double dlyr
 
double factr
 
double calb
 
double amuo
 
double nx
 
double dphi
 
double qsqt
 
double wvlth
 
double ddphi
 
double cnst
 
double conr
 
double xrw
 
double xiw
 
double vz
 
double alw
 
double amusq
 
double amumu
 
double amups
 
double copsi
 
double copsq
 
double cfisq
 
double copcs
 
double sfisq
 
double rho
 
double tautot
 
int msza [nsza]
 
int ifc
 
int iref
 
int iglint
 
int itrans
 
int iwatr
 
int ifoam
 
int ipol
 
int nolyr
 
int nmu
 
int nophi
 
int jpart
 
int jpass
 
int kzz
 
int ksza
 
int kkx
 
int kdx
 
int insz
 

Detailed Description

Definition at line 14 of file afrt.h.

Constructor & Destructor Documentation

◆ Afrt()

Afrt ( )

class constructor

Definition at line 19 of file afrt.cpp.

◆ ~Afrt()

~Afrt ( )
virtual

class destructor

Definition at line 30 of file afrt.cpp.

Member Function Documentation

◆ anglw()

int anglw ( )

Definition at line 558 of file afrt.cpp.

◆ depol()

int depol ( int  ii,
int  kk,
int  l 
)

Definition at line 746 of file afrt.cpp.

◆ fluxlvl()

int fluxlvl ( double  buft[][2 *nsza][nstk],
double &  sumg,
int  iflag 
)

Definition at line 1687 of file afrt.cpp.

◆ frs()

int frs ( double  xx,
double  xr,
double  xi,
double &  rfsea 
)

Definition at line 584 of file afrt.cpp.

◆ geocor()

int geocor ( )

Definition at line 1316 of file afrt.cpp.

◆ geom()

int geom ( double  a,
double  b,
double  c,
double &  r,
double &  g 
)

Definition at line 1718 of file afrt.cpp.

◆ getHistory()

std::string getHistory ( )
inline

Definition at line 77 of file afrt.h.

◆ getrad()

int getrad ( )

Definition at line 990 of file afrt.cpp.

◆ hump()

int hump ( double  cnst,
double  t[][ntf],
double  tp[][nlyr],
int  nm,
double  lp,
double  rmu[],
double  thd[],
int  ixy 
)

Definition at line 446 of file afrt.cpp.

◆ initialize()

int initialize ( )
virtual

initialize input data

Definition at line 41 of file afrt.cpp.

◆ matrx()

int matrx ( int  ii,
int  kk 
)

Definition at line 622 of file afrt.cpp.

◆ mats()

int mats ( int  ii,
int  kk,
int  l 
)

Definition at line 695 of file afrt.cpp.

◆ mdiffn()

int mdiffn ( int  ib,
int  ie,
int  il,
double  dlyr 
)

Definition at line 1754 of file afrt.cpp.

◆ multp1d()

int multp1d ( )

Definition at line 1054 of file afrt.cpp.

◆ multp2d()

int multp2d ( )

Definition at line 1200 of file afrt.cpp.

◆ ocn()

int ocn ( )

compute top-of-atmosphere radiative transfer tables

Definition at line 53 of file afrt.cpp.

◆ rsea_new()

int rsea_new ( )

Definition at line 1481 of file afrt.cpp.

◆ rt1()

int rt1 ( )

Definition at line 66 of file afrt.cpp.

◆ rt2()

int rt2 ( int  ilm,
int  isd,
int  itau,
int  iwnd,
rt2_in rt2in,
rt2_out rt2out,
rt1_in rt1in,
rt1_out rt1out,
ocn_in ocnin,
ocn_out ocnout,
phs_in phsin,
phs_out phsout 
)

Definition at line 79 of file afrt.cpp.

◆ setHistory()

void setHistory ( std::string  history)
inline

Definition at line 74 of file afrt.h.

◆ single_down()

int single_down ( )

Definition at line 790 of file afrt.cpp.

◆ single_up()

int single_up ( )

Definition at line 911 of file afrt.cpp.

◆ xntpln()

int xntpln ( double  x,
double  x1,
double  x2,
double  y1,
double  y2,
double &  y 
)

Definition at line 1740 of file afrt.cpp.

Member Data Documentation

◆ albrdf

double albrdf[nsza]
protected

Definition at line 150 of file afrt.h.

◆ albrdr

double albrdr[nsza]
protected

Definition at line 149 of file afrt.h.

◆ albtdf

double albtdf[nsza]
protected

Definition at line 145 of file afrt.h.

◆ albtdr

double albtdr[nsza]
protected

Definition at line 144 of file afrt.h.

◆ albtdt

double albtdt[nsza]
protected

Definition at line 147 of file afrt.h.

◆ albtrf

double albtrf[nsza]
protected

Definition at line 146 of file afrt.h.

◆ albwl

double albwl[nsza]
protected

Definition at line 148 of file afrt.h.

◆ alw

double alw
protected

Definition at line 187 of file afrt.h.

◆ amumu

double amumu
protected

Definition at line 189 of file afrt.h.

◆ amuo

double amuo
protected

Definition at line 176 of file afrt.h.

◆ amups

double amups
protected

Definition at line 190 of file afrt.h.

◆ amusq

double amusq
protected

Definition at line 188 of file afrt.h.

◆ atnflx

double atnflx[nsza][nlyr]
protected

Definition at line 137 of file afrt.h.

◆ c

double c[2 *nsza]
protected

Definition at line 123 of file afrt.h.

◆ calb

double calb
protected

Definition at line 175 of file afrt.h.

◆ cfisq

double cfisq
protected

Definition at line 193 of file afrt.h.

◆ cmu

double cmu[2 *nthe]
protected

Definition at line 117 of file afrt.h.

◆ cnst

double cnst
protected

Definition at line 182 of file afrt.h.

◆ conr

double conr
protected

Definition at line 183 of file afrt.h.

◆ copcs

double copcs
protected

Definition at line 194 of file afrt.h.

◆ copsi

double copsi
protected

Definition at line 191 of file afrt.h.

◆ copsq

double copsq
protected

Definition at line 192 of file afrt.h.

◆ cosmu

double cosmu[2 *nthe]
protected

Definition at line 120 of file afrt.h.

◆ costh

double costh[2 *nphi]
protected

Definition at line 125 of file afrt.h.

◆ dcmu

double dcmu[2 *nthe]
protected

Definition at line 118 of file afrt.h.

◆ dcmu2

double dcmu2[2 *nthe]
protected

Definition at line 119 of file afrt.h.

◆ ddphi

double ddphi
protected

Definition at line 181 of file afrt.h.

◆ dlyr

double dlyr
protected

Definition at line 173 of file afrt.h.

◆ dphi

double dphi
protected

Definition at line 178 of file afrt.h.

◆ dtaa

double dtaa[nlyr]
protected

Definition at line 169 of file afrt.h.

◆ dtmm

double dtmm[nlyr]
protected

Definition at line 167 of file afrt.h.

◆ dtot

double dtot[nlyr]
protected

Definition at line 170 of file afrt.h.

◆ dtrr

double dtrr[nlyr]
protected

Definition at line 168 of file afrt.h.

◆ ee

double ee[nstk]
protected

Definition at line 110 of file afrt.h.

◆ efact

double efact[nlyr]
protected

Definition at line 129 of file afrt.h.

◆ efactb

double efactb[nlyr]
protected

Definition at line 130 of file afrt.h.

◆ ei

double ei[nstk]
protected

Definition at line 111 of file afrt.h.

◆ emdtm

double emdtm[2 *nsza][nlyr]
protected

Definition at line 131 of file afrt.h.

◆ emtm

double emtm[2 *nsza][nlyr]
protected

Definition at line 132 of file afrt.h.

◆ eo

double eo[nstk]
protected

Definition at line 112 of file afrt.h.

◆ factr

double factr
protected

Definition at line 174 of file afrt.h.

◆ fdirc

double fdirc[nsza]
protected

Definition at line 141 of file afrt.h.

◆ fdown

double fdown[nsza]
protected

Definition at line 139 of file afrt.h.

◆ fglint

fdat fglint
protected

Definition at line 108 of file afrt.h.

◆ fiib

fdat fiib
protected

Definition at line 98 of file afrt.h.

◆ fiic

fdat fiic
protected

Definition at line 99 of file afrt.h.

◆ fio

fdat fio
protected

Definition at line 97 of file afrt.h.

◆ fiodn

fdat fiodn
protected

Definition at line 107 of file afrt.h.

◆ fioup

fdat fioup
protected

Definition at line 105 of file afrt.h.

◆ fioup_btm

fdat fioup_btm
protected

Definition at line 106 of file afrt.h.

◆ fluxd

double fluxd[nlyr][20]
protected

Definition at line 160 of file afrt.h.

◆ fluxu

double fluxu[nlyr][20]
protected

Definition at line 159 of file afrt.h.

◆ fnull

fdat fnull
protected

Definition at line 96 of file afrt.h.

◆ ftmp

fdat ftmp
protected

Definition at line 100 of file afrt.h.

◆ ftmpa

fdat ftmpa
protected

Definition at line 101 of file afrt.h.

◆ ftmpb

fdat ftmpb
protected

Definition at line 102 of file afrt.h.

◆ fup

double fup[nsza]
protected

Definition at line 140 of file afrt.h.

◆ geoidn

double geoidn[nphi][nsza][20]
protected

Definition at line 158 of file afrt.h.

◆ geoiup

double geoiup[nphi][nsza][20]
protected

Definition at line 157 of file afrt.h.

◆ history_

string history_

set/get history

Definition at line 72 of file afrt.h.

◆ ifc

int ifc
protected

Definition at line 199 of file afrt.h.

◆ ifoam

int ifoam
protected

Definition at line 204 of file afrt.h.

◆ iglint

int iglint
protected

Definition at line 201 of file afrt.h.

◆ insz

int insz
protected

Definition at line 215 of file afrt.h.

◆ ipol

int ipol
protected

Definition at line 205 of file afrt.h.

◆ irad

std::vector<fdat>* irad
protected

Definition at line 93 of file afrt.h.

◆ iref

int iref
protected

Definition at line 200 of file afrt.h.

◆ itrans

int itrans
protected

Definition at line 202 of file afrt.h.

◆ iwatr

int iwatr
protected

Definition at line 203 of file afrt.h.

◆ iwrt

std::vector<fdat>* iwrt
protected

Definition at line 94 of file afrt.h.

◆ jpart

int jpart
protected

Definition at line 209 of file afrt.h.

◆ jpass

int jpass
protected

Definition at line 210 of file afrt.h.

◆ kdx

int kdx
protected

Definition at line 214 of file afrt.h.

◆ kkx

int kkx
protected

Definition at line 213 of file afrt.h.

◆ ksza

int ksza
protected

Definition at line 212 of file afrt.h.

◆ kzz

int kzz
protected

Definition at line 211 of file afrt.h.

◆ msza

int msza[nsza]
protected

Definition at line 198 of file afrt.h.

◆ nmu

int nmu
protected

Definition at line 207 of file afrt.h.

◆ nolyr

int nolyr
protected

Definition at line 206 of file afrt.h.

◆ nophi

int nophi
protected

Definition at line 208 of file afrt.h.

◆ nx

double nx
protected

Definition at line 177 of file afrt.h.

◆ oalb

double oalb[nsza]
protected

Definition at line 142 of file afrt.h.

◆ output_filepath_

string output_filepath_

Definition at line 17 of file afrt.h.

◆ p

double p[2 *nphi][32]
protected

Definition at line 113 of file afrt.h.

◆ pfs

double pfs[2 *nsza][2 *nphi][32]
protected

Definition at line 135 of file afrt.h.

◆ phi

double phi[2 *nphi]
protected

Definition at line 124 of file afrt.h.

◆ pp

double pp[nstk][nlyr]
protected

Definition at line 114 of file afrt.h.

◆ ppin

double ppin[2 *nsza][2 *nsza][2 *nphi][32]
protected

Definition at line 136 of file afrt.h.

◆ prod_name_

string prod_name_

Definition at line 22 of file afrt.h.

◆ qq

double qq[nstk][nlyr]
protected

Definition at line 115 of file afrt.h.

◆ qsp

double qsp[nsza]
protected

Definition at line 138 of file afrt.h.

◆ qsqt

double qsqt
protected

Definition at line 179 of file afrt.h.

◆ raddir

double raddir[nphi][nthe][nsza]
protected

Definition at line 154 of file afrt.h.

◆ radocn

double radocn[nphi][nthe][nsza]
protected

Definition at line 155 of file afrt.h.

◆ radsky

double radsky[nphi][nthe][nsza]
protected

Definition at line 156 of file afrt.h.

◆ rfair

double rfair[2 *nsza]
protected

Definition at line 151 of file afrt.h.

◆ rfwat

double rfwat[2 *nsza]
protected

Definition at line 152 of file afrt.h.

◆ rho

double rho
protected

Definition at line 196 of file afrt.h.

◆ rmu

double rmu[2 *nthe]
protected

Definition at line 116 of file afrt.h.

◆ sbarz

double sbarz[nsza]
protected

Definition at line 143 of file afrt.h.

◆ sfisq

double sfisq
protected

Definition at line 195 of file afrt.h.

◆ sinmu

double sinmu[2 *nthe]
protected

Definition at line 121 of file afrt.h.

◆ sinth

double sinth[2 *nphi]
protected

Definition at line 126 of file afrt.h.

◆ sngla

fdat sngla
protected

Definition at line 103 of file afrt.h.

◆ snglb

fdat snglb
protected

Definition at line 104 of file afrt.h.

◆ t

double t[nstk][ntf]
protected

Definition at line 133 of file afrt.h.

◆ taupl

double taupl[nlyr]
protected

Definition at line 127 of file afrt.h.

◆ tautot

double tautot
protected

Definition at line 197 of file afrt.h.

◆ tdwnz

double tdwnz[nphi][nthe][nsza][nstk]
protected

Definition at line 166 of file afrt.h.

◆ thd

double thd[ntf]
protected

Definition at line 134 of file afrt.h.

◆ the

double the[2 *nsza]
protected

Definition at line 122 of file afrt.h.

◆ title_

string title_

Definition at line 21 of file afrt.h.

◆ tmsl

double tmsl
protected

Definition at line 171 of file afrt.h.

◆ totl

double totl[nlyr]
protected

Definition at line 128 of file afrt.h.

◆ trsl

double trsl
protected

Definition at line 172 of file afrt.h.

◆ tupz

double tupz[nphi][nthe][nsza][nstk]
protected

Definition at line 165 of file afrt.h.

◆ txx

double txx[nsza][nthe][nphi][16]
protected

Definition at line 153 of file afrt.h.

◆ unit53

std::vector<fdat> unit53
protected

Definition at line 85 of file afrt.h.

◆ unit54

std::vector<fdat> unit54
protected

Definition at line 86 of file afrt.h.

◆ unit55

std::vector<fdat> unit55
protected

Definition at line 87 of file afrt.h.

◆ unit64

std::vector<fdat> unit64
protected

Definition at line 88 of file afrt.h.

◆ unit65

std::vector<fdat> unit65
protected

Definition at line 89 of file afrt.h.

◆ unit71

std::vector<fdat> unit71
protected

Definition at line 90 of file afrt.h.

◆ unit72

std::vector<fdat> unit72
protected

Definition at line 91 of file afrt.h.

◆ vz

double vz
protected

Definition at line 186 of file afrt.h.

◆ wvlth

double wvlth
protected

Definition at line 180 of file afrt.h.

◆ xiw

double xiw
protected

Definition at line 185 of file afrt.h.

◆ xrw

double xrw
protected

Definition at line 184 of file afrt.h.

◆ xzero_btm

double xzero_btm[nphi][nthe][nsza]
protected

Definition at line 164 of file afrt.h.

◆ xzero_up

double xzero_up[nphi][nthe][nsza]
protected

Definition at line 163 of file afrt.h.

◆ xzerod

double xzerod[nphi][nthe][nsza][nstk]
protected

Definition at line 162 of file afrt.h.

◆ xzeroz

double xzeroz[nphi][nthe][nsza][nstk]
protected

Definition at line 161 of file afrt.h.


The documentation for this class was generated from the following files:
  • /gfs-oceanweb/web/ocssw/ocssw_src/src/afrt/afrt.h
  • /gfs-oceanweb/web/ocssw/ocssw_src/src/afrt/afrt.cpp