OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
TmParamsReader.cpp File Reference
#include <iostream>
#include <string>
#include <cstdlib>
#include <algorithm>
#include <vector>
#include <map>
#include <libgen.h>
#include <TmParamsReader.h>
#include <TmConstants.h>
Include dependency graph for TmParamsReader.cpp:

Go to the source code of this file.

Functions

void tm_set_optionList (clo_optionList_t *list)
 
clo_optionList_ttm_get_optionList ()
 
std::string tm_get_option (const std::string &name)
 
int tm_get_option_int (const std::string &name)
 
double tm_get_option_double (const std::string &name)
 
double * tm_get_option_doubles (const std::string &name, int *count)
 
void tm_add_options (clo_optionList_t *list)
 
void tm_copy_options ()
 
string tm_get_source ()
 
string tm_get_history (int argc, char *argv[])
 

Variables

const std::string INPUT_LAM = "wavelength"
 
const std::string INPUT_EPS_MAX = "axial_ratio_max"
 
const std::string INPUT_EPS_MIN = "axial_ratio_min"
 
const std::string INPUT_EPS_NUM = "axial_ratio_num"
 
const std::string INPUT_MRR_MAX = "mrr_max"
 
const std::string INPUT_MRR_MIN = "mrr_min"
 
const std::string INPUT_MRR_NUM = "mrr_num"
 
const std::string INPUT_MRI_MAX = "mri_max"
 
const std::string INPUT_MRI_MIN = "mri_min"
 
const std::string INPUT_MRI_NUM = "mri_num"
 
const std::string INPUT_B_MAX = "var_max"
 
const std::string INPUT_B_MIN = "var_min"
 
const std::string INPUT_B_NUM = "var_num"
 
const std::string INPUT_NPNAX = "rad_num"
 
const std::string INPUT_AXMAX = "rad_max"
 
const std::string INPUT_NPNA = "scattering_angles"
 
const std::string INPUT_DDELT = "computational_accuracy"
 
const std::string INPUT_NDGS = "division_points"
 
const std::string INPUT_NKMAX = "quadrature_points"
 
const std::string INPUT_NCOEFF = "expansion_coeffs"
 
const std::string INPUT_GAM = "modified_gamma"
 
const std::string INPUT_RAT = "radius_type"
 
const std::string INPUT_NP = "shape_type"
 
const std::string INPUT_NDISTR = "distribution_type"
 
const std::string OUTPUT_NC4 = "ofile"
 

Function Documentation

◆ tm_add_options()

void tm_add_options ( clo_optionList_t list)

Definition at line 123 of file TmParamsReader.cpp.

◆ tm_copy_options()

void tm_copy_options ( )

Definition at line 164 of file TmParamsReader.cpp.

◆ tm_get_history()

string tm_get_history ( int  argc,
char *  argv[] 
)

Definition at line 182 of file TmParamsReader.cpp.

◆ tm_get_option()

std::string tm_get_option ( const std::string name)

Definition at line 74 of file TmParamsReader.cpp.

◆ tm_get_option_double()

double tm_get_option_double ( const std::string name)

Definition at line 98 of file TmParamsReader.cpp.

◆ tm_get_option_doubles()

double* tm_get_option_doubles ( const std::string name,
int *  count 
)

Definition at line 110 of file TmParamsReader.cpp.

◆ tm_get_option_int()

int tm_get_option_int ( const std::string name)

Definition at line 86 of file TmParamsReader.cpp.

◆ tm_get_optionList()

clo_optionList_t* tm_get_optionList ( )

Definition at line 66 of file TmParamsReader.cpp.

◆ tm_get_source()

string tm_get_source ( )

Definition at line 167 of file TmParamsReader.cpp.

◆ tm_set_optionList()

void tm_set_optionList ( clo_optionList_t list)

Definition at line 62 of file TmParamsReader.cpp.

Variable Documentation

◆ INPUT_AXMAX

const std::string INPUT_AXMAX = "rad_max"

Definition at line 47 of file TmParamsReader.cpp.

◆ INPUT_B_MAX

const std::string INPUT_B_MAX = "var_max"

Definition at line 43 of file TmParamsReader.cpp.

◆ INPUT_B_MIN

const std::string INPUT_B_MIN = "var_min"

Definition at line 44 of file TmParamsReader.cpp.

◆ INPUT_B_NUM

const std::string INPUT_B_NUM = "var_num"

Definition at line 45 of file TmParamsReader.cpp.

◆ INPUT_DDELT

const std::string INPUT_DDELT = "computational_accuracy"

Definition at line 49 of file TmParamsReader.cpp.

◆ INPUT_EPS_MAX

const std::string INPUT_EPS_MAX = "axial_ratio_max"

Definition at line 34 of file TmParamsReader.cpp.

◆ INPUT_EPS_MIN

const std::string INPUT_EPS_MIN = "axial_ratio_min"

Definition at line 35 of file TmParamsReader.cpp.

◆ INPUT_EPS_NUM

const std::string INPUT_EPS_NUM = "axial_ratio_num"

Definition at line 36 of file TmParamsReader.cpp.

◆ INPUT_GAM

const std::string INPUT_GAM = "modified_gamma"

Definition at line 53 of file TmParamsReader.cpp.

◆ INPUT_LAM

const std::string INPUT_LAM = "wavelength"

Definition at line 33 of file TmParamsReader.cpp.

◆ INPUT_MRI_MAX

const std::string INPUT_MRI_MAX = "mri_max"

Definition at line 40 of file TmParamsReader.cpp.

◆ INPUT_MRI_MIN

const std::string INPUT_MRI_MIN = "mri_min"

Definition at line 41 of file TmParamsReader.cpp.

◆ INPUT_MRI_NUM

const std::string INPUT_MRI_NUM = "mri_num"

Definition at line 42 of file TmParamsReader.cpp.

◆ INPUT_MRR_MAX

const std::string INPUT_MRR_MAX = "mrr_max"

Definition at line 37 of file TmParamsReader.cpp.

◆ INPUT_MRR_MIN

const std::string INPUT_MRR_MIN = "mrr_min"

Definition at line 38 of file TmParamsReader.cpp.

◆ INPUT_MRR_NUM

const std::string INPUT_MRR_NUM = "mrr_num"

Definition at line 39 of file TmParamsReader.cpp.

◆ INPUT_NCOEFF

const std::string INPUT_NCOEFF = "expansion_coeffs"

Definition at line 52 of file TmParamsReader.cpp.

◆ INPUT_NDGS

const std::string INPUT_NDGS = "division_points"

Definition at line 50 of file TmParamsReader.cpp.

◆ INPUT_NDISTR

const std::string INPUT_NDISTR = "distribution_type"

Definition at line 56 of file TmParamsReader.cpp.

◆ INPUT_NKMAX

const std::string INPUT_NKMAX = "quadrature_points"

Definition at line 51 of file TmParamsReader.cpp.

◆ INPUT_NP

const std::string INPUT_NP = "shape_type"

Definition at line 55 of file TmParamsReader.cpp.

◆ INPUT_NPNA

const std::string INPUT_NPNA = "scattering_angles"

Definition at line 48 of file TmParamsReader.cpp.

◆ INPUT_NPNAX

const std::string INPUT_NPNAX = "rad_num"

Definition at line 46 of file TmParamsReader.cpp.

◆ INPUT_RAT

const std::string INPUT_RAT = "radius_type"

Definition at line 54 of file TmParamsReader.cpp.

◆ OUTPUT_NC4

const std::string OUTPUT_NC4 = "ofile"

Definition at line 57 of file TmParamsReader.cpp.