ARTS 2.5.11 (git: 725533f0)
mc_interp.h
Go to the documentation of this file.
1
11/*===========================================================================
12 === External declarations
13 ===========================================================================*/
14
15#ifndef mc_interp_h
16#define mc_interp_h
17#include "array.h"
18#include "arts.h"
19#include "interpolation.h"
20#include "matpack_data.h"
21#include "optproperties.h"
22#include "ppath.h"
23
35class SLIData2 {
36 public:
37 //grid of x1 values where y is known
38 Vector x1a;
39 //A vector of x2 values for every x1a
40 ArrayOfVector x2a;
41 //y values for every x1a, x2a
42 ArrayOfVector ya;
43 //performs SLI.
44 Numeric interpolate(Numeric x1, Numeric x2) const;
45 //checks that it is not empty
46 //void check() const;
47
48 friend ostream& operator<<(ostream& os, const SLIData2& sli);
49};
50
69void interp(MatrixView tia,
70 ConstVectorView itw,
71 const ArrayOfMatrix& a,
72 const GridPos& tc);
73
92void interp(VectorView tia,
93 ConstVectorView itw,
94 const ArrayOfVector& a,
95 const GridPos& tc);
96
113void interp_scat_angle_temperature( //Output:
114 VectorView pha_mat_int,
115 Numeric& theta_rad,
116 //Input:
117 const SingleScatteringData& scat_data_single,
118 const Numeric& za_sca,
119 const Numeric& aa_sca,
120 const Numeric& za_inc,
121 const Numeric& aa_inc,
122 const Numeric& rtp_temperature);
123
124#endif // mc_interp_h
This file contains the definition of Array.
The global header file for ARTS.
A 2D sequential linear interpolation (SLI) lookup table This class holds the gridded for 2D SLI as we...
Definition mc_interp.h:35
ArrayOfVector x2a
Definition mc_interp.h:40
Numeric interpolate(Numeric x1, Numeric x2) const
Definition mc_interp.cc:23
ArrayOfVector ya
Definition mc_interp.h:42
Vector x1a
Definition mc_interp.h:38
friend ostream & operator<<(ostream &os, const SLIData2 &sli)
Definition mc_interp.cc:47
Header file for interpolation.cc.
void interp(MatrixView tia, ConstVectorView itw, const ArrayOfMatrix &a, const GridPos &tc)
interp.
Definition mc_interp.cc:52
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.
Definition mc_interp.cc:99
Scattering database structure and functions.
Propagation path structure and functions.
Structure to store a grid position.
#define a