Defines | Functions | Variables

ocsReducedModelTools.cc File Reference

#include "ocsReducedModelTools.hh"
#include "ocsConst.hh"
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
#include <math.h>

Defines

#define NR_END   1
#define FREE_ARG   char*
#define ITMAX   100
#define EPS   3.0e-7
#define FPMIN   1.0e-30
#define ITMAX   100
#define EPS   3.0e-7

Functions

void TransRzRyV3to_Xhat (double *Vector, double *thetaZthetaY)
void TransRyV3to_YZ (double *Vector, double *thetaY)
void TransRzRxV3to_Xhat (double *Vector, double *thetaZthetaX)
void Multiply (double Left[][3], double Right[][3])
void Multiply (double Left[][3], double Right[3])
void CrossProduct (double *Left, double *Right, int FirstCoord)
void RotatesAboutZ (double angle, double *Vector)
void RotatesAboutX (double angle, double *Vector)
void RotatesAboutY (double angle, double *Vector)
double ScalarProduct (double *VectorA, double *VectorB)
double GetVectorLength (double *Vector, int Dimension)
double dB2Linear (double dBvalue)
double dBm2Linear (double dBmPower)
double Linear2dB (double LinearValue)
double Linear2dBm (double LinearPower)
double GetDegreeOfPolarization (double *StokesVector)
double GetPhase (const cplx Phasor)
void Stokes2Jones (const double *Stokes, cplx *Jones)
void Stokes2JonesKeepPower (const double *Stokes, cplx *Jones)
void Jones2Stokes (const cplx *Jones, double *Stokes)
void Jones2StokesKeepPower (const cplx *Jones, double *Stokes)
double Frequency2Wavelength (double Frequency)
double Wavelength2Frequency (double Wavelength)
int lock_or_unlock_mosix (int what)
int cpujob_mosix (void)
int slow_mosix (void)
void nrerror (char error_text[])
float erffc (float x)
float gammp (float a, float x)
void gcf (float *gammcf, float a, float x, float *gln)
void gser (float *gamser, float a, float x, float *gln)
float gammln (float xx)
float gammq (float a, float x)

Variables

ofstream * LogFile

Define Documentation

#define EPS   3.0e-7

Referenced by frprmn(), frprmnd(), gser(), and zbrent().

#define EPS   3.0e-7
#define FPMIN   1.0e-30

Referenced by gcf().

#define FREE_ARG   char*
#define ITMAX   100
#define ITMAX   100
#define NR_END   1

Function Documentation

int cpujob_mosix ( void   ) 
void CrossProduct ( double *  Left,
double *  Right,
int  FirstCoord 
)

Referenced by GetRadiusCircle().

double dB2Linear ( double  dBvalue  ) 
double dBm2Linear ( double  dBmPower  ) 
float erffc ( float  x  ) 
double Frequency2Wavelength ( double  Frequency  ) 
float gammln ( float  xx  ) 

Referenced by gcf(), and gser().

float gammp ( float  a,
float  x 
)

Referenced by erffc().

float gammq ( float  a,
float  x 
)

Referenced by erffc().

void gcf ( float *  gammcf,
float  a,
float  x,
float *  gln 
)

Referenced by gammp(), and gammq().

double GetDegreeOfPolarization ( double *  StokesVector  ) 
double GetPhase ( const cplx  Phasor  ) 
double GetVectorLength ( double *  Vector,
int  Dimension 
)
void gser ( float *  gamser,
float  a,
float  x,
float *  gln 
)

Referenced by gammp(), and gammq().

void Jones2Stokes ( const cplx Jones,
double *  Stokes 
)
void Jones2StokesKeepPower ( const cplx Jones,
double *  Stokes 
)
double Linear2dB ( double  LinearValue  ) 
double Linear2dBm ( double  LinearPower  ) 
int lock_or_unlock_mosix ( int  what  ) 
void Multiply ( double  Left[][3],
double  Right[3] 
)
void Multiply ( double  Left[][3],
double  Right[][3] 
)

Referenced by MGeneralRotation().

void nrerror ( char  error_text[]  ) 
void RotatesAboutX ( double  angle,
double *  Vector 
)
void RotatesAboutY ( double  angle,
double *  Vector 
)
void RotatesAboutZ ( double  angle,
double *  Vector 
)
double ScalarProduct ( double *  VectorA,
double *  VectorB 
)
int slow_mosix ( void   ) 
void Stokes2Jones ( const double *  Stokes,
cplx Jones 
)
void Stokes2JonesKeepPower ( const double *  Stokes,
cplx Jones 
)
void TransRyV3to_YZ ( double *  Vector,
double *  thetaY 
)
void TransRzRxV3to_Xhat ( double *  Vector,
double *  thetaZthetaX 
)
void TransRzRyV3to_Xhat ( double *  Vector,
double *  thetaZthetaY 
)
double Wavelength2Frequency ( double  Wavelength  ) 

Variable Documentation

ofstream* LogFile