mc_interp.h File Reference

Interpolation classes and functions created for use within Monte Carlo scattering simulations. More...

#include "arts.h"
#include "matpackI.h"
#include "array.h"
#include "interpolation.h"
#include "optproperties.h"
#include "ppath.h"

Include dependency graph for mc_interp.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SLIData2
 A 2D sequential linear interpolation (SLI) lookup table. More...

Functions

ostream & operator<< (ostream &os, const SLIData2 &sli)
Matrix interp (ConstVectorView itw, ArrayOfMatrix a, const GridPos &tc)
 Red 1D Interpolate.
void interp_scat_angle_temperature (VectorView pha_mat_int, Numeric &theta_rad, const SingleScatteringData &scat_data, const Numeric &za_sca, const Numeric &aa_sca, const Numeric &za_inc, const Numeric &aa_inc, const Numeric &rte_temperature)
void interpTArray (Matrix &T, Vector &Kabs, Numeric &temperature, MatrixView &K, Vector &rte_pos, Vector &rte_los, VectorView &pnd_vec, const ArrayOfMatrix &TArray, const ArrayOfMatrix &ext_matArray, const ArrayOfVector &abs_vecArray, const Vector &t_ppath, const Matrix &pnd_ppath, const Vector &cum_l_step, const Numeric &pathlength, const Index &stokes_dim, const Ppath &ppath)

Variables

const Numeric DEG2RAD
const Numeric RAD2DEG
const Numeric PI


Detailed Description

Interpolation classes and functions created for use within Monte Carlo scattering simulations.

Author:
Cory Davis <cory@met.ed.ac.uk>
Date:
2005-02-28

Definition in file mc_interp.h.


Function Documentation

Matrix interp ( ConstVectorView  itw,
ArrayOfMatrix  a,
const GridPos tc 
)

Red 1D Interpolate.

This is a slight modifiaction of Stefan's code to do 1_D interpolation to get a Matrix from an array of Matrices

The dimension of itw must be consistent with the dimension of the interpolation (2^n).

Parameters:
itw Interpolation weights.
a The field to interpolate.(ArrayOfMatrix)
tc The grid position for the column dimension.
Returns:
Interpolated value.
Author:
Cory Davis (modified original code by Stefan Buehler)
Date:
2003-06-19
This is a slight modifiaction of Stefan's code to do 1_D interpolation to get a Vector from an array of Vectors

The dimension of itw must be consistent with the dimension of the interpolation (2^n).

Parameters:
itw Interpolation weights.
a The field to interpolate. (ArrayOfVector)
tc The grid position for the column dimension.
Returns:
Interpolated value.
Author:
Cory Davis (modified original code by Stefan Buehler)
Date:
2003-06-19

Definition at line 111 of file mc_interp.cc.

References DEBUG_ONLY, GridPos::idx, is_same_within_epsilon(), is_size(), ConstVectorView::sum(), and sum_check_epsilon.

void interp_scat_angle_temperature ( VectorView  pha_mat_int,
Numeric theta_rad,
const SingleScatteringData scat_data,
const Numeric za_sca,
const Numeric aa_sca,
const Numeric za_inc,
const Numeric aa_inc,
const Numeric rte_temperature 
)

void interpTArray ( Matrix T,
Vector Kabs,
Numeric temperature,
MatrixView K,
Vector rte_pos,
Vector rte_los,
VectorView pnd_vec,
const ArrayOfMatrix TArray,
const ArrayOfMatrix ext_matArray,
const ArrayOfVector abs_vecArray,
const Vector t_ppath,
const Matrix pnd_ppath,
const Vector cum_l_step,
const Numeric pathlength,
const Index stokes_dim,
const Ppath ppath 
)

ostream& operator<< ( ostream &  os,
const SLIData2 sli 
)

Definition at line 78 of file mc_interp.cc.


Variable Documentation

const Numeric PI


Generated on Mon Mar 23 14:06:46 2009 for ARTS by  doxygen 1.5.6