ARTS
2.3.1285(git:92a29ea9-dirty)
|
Interpolation classes and functions created for use within Monte Carlo scattering simulations. More...
#include "array.h"
#include "arts.h"
#include "interpolation.h"
#include "matpackI.h"
#include "optproperties.h"
#include "ppath.h"
Go to the source code of this file.
Classes | |
class | SLIData2 |
A 2D sequential linear interpolation (SLI) lookup table This class holds the gridded for 2D SLI as well as the interpolate member function for retrieving interpolated values. More... | |
Functions | |
ostream & | operator<< (ostream &os, const SLIData2 &sli) |
void | interp (MatrixView tia, ConstVectorView itw, const ArrayOfMatrix &a, const GridPos &tc) |
interp. More... | |
void | interp (VectorView tia, ConstVectorView itw, const ArrayOfVector &a, const GridPos &tc) |
interp. More... | |
void | interp_scat_angle_temperature (VectorView pha_mat_int, Numeric &theta_rad, const SingleScatteringData &scat_data_single, const Numeric &za_sca, const Numeric &aa_sca, const Numeric &za_inc, const Numeric &aa_inc, const Numeric &rtp_temperature) |
interp_scat_angle_temperature. More... | |
Variables | |
const Numeric | DEG2RAD |
const Numeric | RAD2DEG |
const Numeric | PI |
Interpolation classes and functions created for use within Monte Carlo scattering simulations.
FIXMEDOC ***: interp_scat_angle_temperature (check)
Definition in file mc_interp.h.
void interp | ( | MatrixView | tia, |
ConstVectorView | itw, | ||
const ArrayOfMatrix & | a, | ||
const GridPos & | tc | ||
) |
interp.
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).
[out] | tia | Interpolated value. |
[in] | itw | Interpolation weights. |
[in] | a | The field to interpolate.(ArrayOfMatrix). |
[in] | tc | The grid position for the column dimension. |
Definition at line 62 of file mc_interp.cc.
References DEBUG_ONLY.
Referenced by SLIData2::interpolate().
void interp | ( | VectorView | tia, |
ConstVectorView | itw, | ||
const ArrayOfVector & | a, | ||
const GridPos & | tc | ||
) |
interp.
Red 1D Interpolate.
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).
[out] | tia | Interpolated value. |
[in] | itw | Interpolation weights. |
[in] | a | The field to interpolate.(ArrayOfVector). |
[in] | tc | The grid position for the column dimension. |
Definition at line 88 of file mc_interp.cc.
References DEBUG_ONLY.
void interp_scat_angle_temperature | ( | VectorView | pha_mat_int, |
Numeric & | theta_rad, | ||
const SingleScatteringData & | scat_data_single, | ||
const Numeric & | za_sca, | ||
const Numeric & | aa_sca, | ||
const Numeric & | za_inc, | ||
const Numeric & | aa_inc, | ||
const Numeric & | rtp_temperature | ||
) |
interp_scat_angle_temperature.
Returns the interpolated phase matrix for given incident and scattered directions.
[out] | pha_mat_int | Interpolated phase matrix |
[out] | theta_rad | Scattering angle defined by inc and sca direct. |
[in] | scat_data_single | A monochromatic SingleScatteringData object. |
[in] | za_sca | Zenith angle of scattering direction. |
[in] | aa_sca | Azimuth angle of scattering direction. |
[in] | za_inc | Zenith angle of incident direction. |
[in] | aa_inc | Azimuth angle of incident direction. |
[in] | rtp_temperature | As the WSV. |
Definition at line 109 of file mc_interp.cc.
ostream& operator<< | ( | ostream & | os, |
const SLIData2 & | sli | ||
) |
Definition at line 57 of file mc_interp.cc.
const Numeric DEG2RAD |
const Numeric PI |
const Numeric RAD2DEG |