icemc
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Ray Class Reference

Ray tracing. More...

#include <ray.hh>

Public Member Functions

 Ray ()
 
void Initialize ()
 
void PrintAnglesofIncidence ()
 
int GetRayIceSide (const Vector &n_exit2bn, const Vector &nsurf_rfexit, double nexit, double nenter, Vector &nrf2_iceside)
 
int TraceRay (Settings *settings1, Anita *anita1, int whichiteration, double n_depth)
 
int GetSurfaceNormal (Settings *settings1, IceModel *antarctica, Vector posnu, double &slopeyangle, int whichtry)
 
int RandomizeSurface (Settings *settings1, Position rfexit_temp, Vector posnu, IceModel *antarctica, double &slopeyangle, int whichtry)
 
void GetRFExit (Settings *settings1, Anita *anita1, int whichray, Position posnu, Position posnu_down, Position r_bn, Position r_boresights[Anita::NLAYERS_MAX][Anita::NPHI_MAX], int whichtry, IceModel *antarctica)
 

Static Public Member Functions

static int WhereDoesItLeave (const Position &posnu, const Vector &ntemp, IceModel *antarctica, Position &r_out)
 

Public Attributes

Vector n_exit2bn [5]
 
Vector nsurf_rfexit
 
Vector nsurf_rfexit_db
 
Vector nrf_iceside [5]
 
Vector nrf_iceside_eachboresight [5][Anita::NLAYERS_MAX][Anita::NPHI_MAX]
 
Vector n_exit2bn_eachboresight [5][Anita::NLAYERS_MAX][Anita::NPHI_MAX]
 
Position rfexit_eachboresight [5][Anita::NLAYERS_MAX][Anita::NPHI_MAX]
 
Position rfexit_db [5]
 
Position rfexit [5]
 
double sum_slopeyness
 
double slopeyx
 
double slopeyy
 
double slopeyz
 
Vector xaxis
 
Vector yaxis
 
Vector zaxis
 

Detailed Description

Ray tracing.

Constructor & Destructor Documentation

◆ Ray()

Ray::Ray ( )

Member Function Documentation

◆ GetRayIceSide()

int Ray::GetRayIceSide ( const Vector n_exit2bn,
const Vector nsurf_rfexit,
double  nexit,
double  nenter,
Vector nrf2_iceside 
)

◆ GetRFExit()

void Ray::GetRFExit ( Settings settings1,
Anita anita1,
int  whichray,
Position  posnu,
Position  posnu_down,
Position  r_bn,
Position  r_boresights[Anita::NLAYERS_MAX][Anita::NPHI_MAX],
int  whichtry,
IceModel antarctica 
)

◆ GetSurfaceNormal()

int Ray::GetSurfaceNormal ( Settings settings1,
IceModel antarctica,
Vector  posnu,
double &  slopeyangle,
int  whichtry 
)

◆ Initialize()

void Ray::Initialize ( )

◆ PrintAnglesofIncidence()

void Ray::PrintAnglesofIncidence ( )

◆ RandomizeSurface()

int Ray::RandomizeSurface ( Settings settings1,
Position  rfexit_temp,
Vector  posnu,
IceModel antarctica,
double &  slopeyangle,
int  whichtry 
)

◆ TraceRay()

int Ray::TraceRay ( Settings settings1,
Anita anita1,
int  whichiteration,
double  n_depth 
)

◆ WhereDoesItLeave()

static int Ray::WhereDoesItLeave ( const Position posnu,
const Vector ntemp,
IceModel antarctica,
Position r_out 
)
inlinestatic

Member Data Documentation

◆ n_exit2bn

Vector Ray::n_exit2bn[5]

◆ n_exit2bn_eachboresight

Vector Ray::n_exit2bn_eachboresight[5][Anita::NLAYERS_MAX][Anita::NPHI_MAX]

◆ nrf_iceside

Vector Ray::nrf_iceside[5]

◆ nrf_iceside_eachboresight

Vector Ray::nrf_iceside_eachboresight[5][Anita::NLAYERS_MAX][Anita::NPHI_MAX]

◆ nsurf_rfexit

Vector Ray::nsurf_rfexit

◆ nsurf_rfexit_db

Vector Ray::nsurf_rfexit_db

◆ rfexit

Position Ray::rfexit[5]

◆ rfexit_db

Position Ray::rfexit_db[5]

◆ rfexit_eachboresight

Position Ray::rfexit_eachboresight[5][Anita::NLAYERS_MAX][Anita::NPHI_MAX]

◆ slopeyx

double Ray::slopeyx

◆ slopeyy

double Ray::slopeyy

◆ slopeyz

double Ray::slopeyz

◆ sum_slopeyness

double Ray::sum_slopeyness

◆ xaxis

Vector Ray::xaxis

◆ yaxis

Vector Ray::yaxis

◆ zaxis

Vector Ray::zaxis

The documentation for this class was generated from the following files: