ARTS 2.5.0 (git: 9ee3ac6c)
test_cpp_api.cc
Go to the documentation of this file.
1#include <autoarts.h>
2
3namespace ARTS::Agenda {
5 using namespace Agenda::Method;
6 using namespace Agenda::Define;
7 iy_main_agenda(ws, ppathCalc(ws), iyEmissionStandard(ws));
8 return ws;
9 }
10
12 using namespace Agenda::Method;
13 using namespace Agenda::Define;
14 using namespace Var;
15 iy_main_agenda(ws, Ignore(ws, iy_unit(ws)), Ignore(ws, iy_id(ws)),
17 return ws;
18 }
19
21 using namespace Agenda::Method;
22 using namespace Agenda::Define;
23 using namespace Var;
24 iy_space_agenda(ws, Ignore(ws, rtp_pos(ws)), Ignore(ws, rtp_los(ws)),
25 MatrixCBR(ws, iy(ws), f_grid(ws)));
26 return ws;
27 }
28
30 using namespace Agenda::Method;
31 using namespace Agenda::Define;
32 iy_surface_agenda(ws, SurfaceDummy(ws), iySurfaceRtpropAgenda(ws));
33 return ws;
34 }
35
37 using namespace Agenda::Method;
38 using namespace Agenda::Define;
39 using namespace Var;
40 ppath_agenda(ws, Ignore(ws, rte_pos2(ws)), ppathStepByStep(ws));
41 return ws;
42 }
43
45 using namespace Agenda::Method;
46 using namespace Agenda::Define;
47 using namespace Var;
48 ppath_agenda(ws, Ignore(ws, ppath_lraytrace(ws)), Ignore(ws, rte_pos2(ws)),
49 Ignore(ws, t_field(ws)), Ignore(ws, vmr_field(ws)),
50 Ignore(ws, f_grid(ws)), ppathPlaneParallel(ws));
51 return ws;
52 }
53
55 using namespace Agenda::Method;
56 using namespace Agenda::Define;
57 using namespace Var;
58 ppath_step_agenda(ws, Ignore(ws, ppath_lraytrace(ws)), Ignore(ws, f_grid(ws)),
60 return ws;
61 }
62
64 using namespace Agenda::Method;
65 using namespace Agenda::Define;
66 ppath_step_agenda(ws, ppath_stepRefractionBasic(ws));
67 return ws;
68 }
69
71 using namespace Agenda::Method;
72 using namespace Agenda::Define;
73 using namespace Var;
74 propmat_clearsky_agenda(ws, Ignore(ws, rtp_mag(ws)), Ignore(ws, rtp_los(ws)),
78 );
79 return ws;
80 }
81
83 using namespace Agenda::Method;
84 using namespace Agenda::Define;
85 propmat_clearsky_agenda(ws, propmat_clearskyInit(ws),
89 return ws;
90 }
91
93 using namespace Agenda::Method;
94 using namespace Agenda::Define;
95 abs_xsec_agenda(ws, abs_xsec_per_speciesInit(ws),
97 return ws;
98 }
99
101 using namespace Agenda::Method;
102 using namespace Agenda::Define;
103 abs_xsec_agenda(
106 return ws;
107 }
108
110 using namespace Agenda::Method;
111 using namespace Agenda::Define;
112 using namespace Var;
113 surface_rtprop_agenda(
114 ws, InterpSurfaceFieldToPosition(ws, surface_skin_t(ws), t_surface(ws)),
115 surfaceBlackbody(ws));
116 return ws;
117 }
118
120 using namespace Agenda::Method;
121 using namespace Agenda::Define;
122 using namespace Var;
123 surface_rtprop_agenda(
124 ws, InterpAtmFieldToPosition(ws, surface_skin_t(ws), t_field(ws)),
125 surfaceBlackbody(ws));
126 return ws;
127 }
128
130 using namespace Agenda::Method;
131 using namespace Agenda::Define;
132 using namespace Var;
133 geo_pos_agenda(ws, Ignore(ws, ppath(ws)),
134 VectorSet(ws, geo_pos(ws), VectorCreate(ws, {}, "Default")));
135 return ws;
136 }
137
139 using namespace Agenda::Method;
140 using namespace Agenda::Define;
141 water_p_eq_agenda(ws, water_p_eq_fieldMK05(ws));
142 return ws;
143 }
144} // namespace ARTS::Agenda
145
146namespace ARTS::Continua {
148
149 Workspace& addH2OPWR98(Workspace& ws) { Method::abs_cont_descriptionAppend(ws, String{"H2O-PWR98"}, String{"Rosenkranz"}); return ws; }
150
151 Workspace& addO2PWR98(Workspace& ws) { Method::abs_cont_descriptionAppend(ws, String{"O2-PWR98"}, String{"Rosenkranz"}); return ws; }
152} // ARTS::Continua
153
154int main() try {
155 using namespace ARTS;
156
157 auto ws = init(0, 0, 0);
158
160
162
164
166
168
170
172
174
176
178
180 Method::nlteOff(ws);
181 Var::iy_unit(ws) = "PlanckBT";
182 Method::Touch(ws, Var::iy_aux_vars(ws));
183 Method::Touch(ws, Var::surface_props_names(ws));
184
188
189 Method::abs_speciesSet(ws, ArrayOfString{"H2O-PWR98", "O2-PWR98"});
190
192 Method::VectorNLogSpace(ws, Var::p_grid(ws).value(), 51, 1e+05, 1e-4);
193
195 Var::lat_true(ws) = Var::lat_grid(ws);
196 Var::lon_true(ws) = Var::lon_grid(ws);
197 Method::Touch(ws, Var::wind_u_field(ws));
198 Method::Touch(ws, Var::wind_v_field(ws));
199 Method::Touch(ws, Var::wind_w_field(ws));
200 Method::Touch(ws, Var::mag_u_field(ws));
201 Method::Touch(ws, Var::mag_v_field(ws));
202 Method::Touch(ws, Var::mag_w_field(ws));
203 Method::Touch(ws, Var::nlte_field(ws));
204 Method::Touch(ws, Var::surface_props_data(ws));
205
206 Var::rte_alonglos_v(ws) = 0;
207 Var::p_hse(ws) = 1e5;
208 Var::t_field(ws) = Tensor3(51, 1, 1, 250.0);
209 Var::vmr_field(ws) = Tensor4(2, 51, 1, 1, 1e-2);
210 Var::z_field(ws) = Tensor3(51, 1, 1, 0);
211 for (Index i=0; i<51; i++) Var::z_field(ws).value()(i, 0, 0) = 2e3 * Numeric(i);
212 Method::Touch(ws, Var::nlte_field(ws));
213
214 Method::refellipsoidVenus(ws, String{"Sphere"});
216 Var::t_surface(ws) = Matrix(1, 1, 250.0);
217
218 Method::Touch(ws, Var::abs_lines(ws));
220
221 Var::abs_f_interp_order(ws) = 1;
222 Var::stokes_dim(ws) = 1;
223 Var::ppath_lraytrace(ws) = 1e3;
224 Var::ppath_lmax(ws) = 1e3;
225 Var::rt_integration_option(ws) = "default";
226
227 Method::VectorNLinSpace(ws, Var::f_grid(ws).value(), 10001, 22e9 - 500e6, 22e9 + 500e6);
228
229 Var::sensor_pos(ws) = Matrix(1, 1, 100);
230 Var::sensor_los(ws) = Matrix(1, 1, 75);
231 Method::Touch(ws, Var::transmitter_pos(ws));
234
242
243 Method::yCalc(ws);
244 for (auto& n: Var::y(ws).value()) std::cout << n << ',';
245 std::cout << '\n';
246 return EXIT_SUCCESS;
247} catch(const std::exception& e) {
248 std::ostringstream os;
249 os << "EXITING WITH ERROR:\n" << e.what() << '\n';
250 std::cerr << os.str();
251 return EXIT_FAILURE;
252}
void VectorCreate(Vector &var, const Verbosity &)
WORKSPACE METHOD: VectorCreate.
Definition: auto_md.cc:25058
void iySurfaceRtpropAgenda(Workspace &ws, Matrix &iy, ArrayOfTensor3 &diy_dx, Numeric &surface_skin_t, Matrix &surface_los, Tensor4 &surface_rmatrix, Matrix &surface_emission, const Tensor3 &iy_transmittance, const Index &iy_id, const Index &jacobian_do, const Index &atmosphere_dim, const EnergyLevelMap &nlte_field, const Index &cloudbox_on, const Index &stokes_dim, const Vector &f_grid, const Vector &rtp_pos, const Vector &rtp_los, const Vector &rte_pos2, const String &iy_unit, const Agenda &iy_main_agenda, const Agenda &surface_rtprop_agenda, const Verbosity &verbosity)
WORKSPACE METHOD: iySurfaceRtpropAgenda.
Definition: m_surface.cc:443
void cloudboxOff(Index &cloudbox_on, Index &ppath_inside_cloudbox_do, ArrayOfIndex &cloudbox_limits, Agenda &iy_cloudbox_agenda, Tensor4 &pnd_field, ArrayOfTensor4 &dpnd_field_dx, ArrayOfString &scat_species, ArrayOfArrayOfSingleScatteringData &scat_data, ArrayOfArrayOfSingleScatteringData &scat_data_raw, Index &scat_data_checked, Matrix &particle_masses, const ArrayOfRetrievalQuantity &jacobian_quantities, const Verbosity &verbosity)
WORKSPACE METHOD: cloudboxOff.
Definition: m_cloudbox.cc:82
void iyTransmissionStandard(Workspace &ws, Matrix &iy, ArrayOfMatrix &iy_aux, ArrayOfTensor3 &diy_dx, Vector &ppvar_p, Vector &ppvar_t, EnergyLevelMap &ppvar_nlte, Matrix &ppvar_vmr, Matrix &ppvar_wind, Matrix &ppvar_mag, Matrix &ppvar_pnd, Matrix &ppvar_f, Tensor3 &ppvar_iy, Tensor4 &ppvar_trans_cumulat, Tensor4 &ppvar_trans_partial, const Index &stokes_dim, const Vector &f_grid, const Index &atmosphere_dim, const Vector &p_grid, const Tensor3 &t_field, const EnergyLevelMap &nlte_field, const Tensor4 &vmr_field, const ArrayOfArrayOfSpeciesTag &abs_species, const Tensor3 &wind_u_field, const Tensor3 &wind_v_field, const Tensor3 &wind_w_field, const Tensor3 &mag_u_field, const Tensor3 &mag_v_field, const Tensor3 &mag_w_field, const Index &cloudbox_on, const ArrayOfIndex &cloudbox_limits, const Tensor4 &pnd_field, const ArrayOfTensor4 &dpnd_field_dx, const ArrayOfString &scat_species, const ArrayOfArrayOfSingleScatteringData &scat_data, const ArrayOfString &iy_aux_vars, const Index &jacobian_do, const ArrayOfRetrievalQuantity &jacobian_quantities, const Ppath &ppath, const Agenda &propmat_clearsky_agenda, const Agenda &water_p_eq_agenda, const Agenda &iy_transmitter_agenda, const Index &iy_agenda_call1, const Tensor3 &iy_transmittance, const Numeric &rte_alonglos_v, const Verbosity &verbosity)
WORKSPACE METHOD: iyTransmissionStandard.
void sensorOff(Sparse &sensor_response, Vector &sensor_response_f, ArrayOfIndex &sensor_response_pol, Matrix &sensor_response_dlos, Vector &sensor_response_f_grid, ArrayOfIndex &sensor_response_pol_grid, Matrix &sensor_response_dlos_grid, Matrix &mblock_dlos_grid, const Index &stokes_dim, const Vector &f_grid, const Verbosity &verbosity)
WORKSPACE METHOD: sensorOff.
Definition: m_sensor.cc:1827
void iyEmissionStandard(Workspace &ws, Matrix &iy, ArrayOfMatrix &iy_aux, ArrayOfTensor3 &diy_dx, Vector &ppvar_p, Vector &ppvar_t, EnergyLevelMap &ppvar_nlte, Matrix &ppvar_vmr, Matrix &ppvar_wind, Matrix &ppvar_mag, Matrix &ppvar_f, Tensor3 &ppvar_iy, Tensor4 &ppvar_trans_cumulat, Tensor4 &ppvar_trans_partial, const Index &iy_id, const Index &stokes_dim, const Vector &f_grid, const Index &atmosphere_dim, const Vector &p_grid, const Tensor3 &t_field, const EnergyLevelMap &nlte_field, const Tensor4 &vmr_field, const ArrayOfArrayOfSpeciesTag &abs_species, const Tensor3 &wind_u_field, const Tensor3 &wind_v_field, const Tensor3 &wind_w_field, const Tensor3 &mag_u_field, const Tensor3 &mag_v_field, const Tensor3 &mag_w_field, const Index &cloudbox_on, const String &iy_unit, const ArrayOfString &iy_aux_vars, const Index &jacobian_do, const ArrayOfRetrievalQuantity &jacobian_quantities, const Ppath &ppath, const Vector &rte_pos2, const Agenda &propmat_clearsky_agenda, const Agenda &water_p_eq_agenda, const String &rt_integration_option, const Agenda &iy_main_agenda, const Agenda &iy_space_agenda, const Agenda &iy_surface_agenda, const Agenda &iy_cloudbox_agenda, const Index &iy_agenda_call1, const Tensor3 &iy_transmittance, const Numeric &rte_alonglos_v, const Tensor3 &surface_props_data, const Verbosity &verbosity)
WORKSPACE METHOD: iyEmissionStandard.
Definition: m_rte.cc:160
void ppathStepByStep(Workspace &ws, Ppath &ppath, const Agenda &ppath_step_agenda, const Index &ppath_inside_cloudbox_do, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Tensor3 &z_field, const Vector &f_grid, const Vector &refellipsoid, const Matrix &z_surface, const Index &cloudbox_on, const ArrayOfIndex &cloudbox_limits, const Vector &rte_pos, const Vector &rte_los, const Numeric &ppath_lmax, const Numeric &ppath_lraytrace, const Verbosity &verbosity)
WORKSPACE METHOD: ppathStepByStep.
Definition: m_ppath.cc:1473
void AtmosphereSet1D(Index &atmosphere_dim, Vector &lat_grid, Vector &lon_grid, const Verbosity &verbosity)
WORKSPACE METHOD: AtmosphereSet1D.
void lbl_checkedCalc(Index &lbl_checked, const ArrayOfArrayOfAbsorptionLines &abs_lines_per_species, const ArrayOfArrayOfSpeciesTag &abs_species, const SpeciesIsotopologueRatios &isotopologue_ratios, const Verbosity &verbosity)
WORKSPACE METHOD: lbl_checkedCalc.
Definition: m_checked.cc:722
void isotopologue_ratiosInitFromBuiltin(SpeciesIsotopologueRatios &isotopologue_ratios, const Verbosity &verbosity)
WORKSPACE METHOD: isotopologue_ratiosInitFromBuiltin.
Definition: m_abs.cc:1558
void ppath_stepGeometric(Ppath &ppath_step, const Index &atmosphere_dim, const Vector &lat_grid, const Vector &lon_grid, const Tensor3 &z_field, const Vector &refellipsoid, const Matrix &z_surface, const Numeric &ppath_lmax, const Verbosity &verbosity)
WORKSPACE METHOD: ppath_stepGeometric.
Definition: m_ppath.cc:1700
void ppathPlaneParallel(Ppath &ppath, const Index &atmosphere_dim, const Tensor3 &z_field, const Matrix &z_surface, const Index &cloudbox_on, const ArrayOfIndex &cloudbox_limits, const Index &ppath_inside_cloudbox_do, const Vector &rte_pos, const Vector &rte_los, const Numeric &ppath_lmax, const Verbosity &verbosity)
WORKSPACE METHOD: ppathPlaneParallel.
Definition: m_ppath.cc:1191
void SurfaceDummy(ArrayOfTensor4 &dsurface_rmatrix_dx, ArrayOfMatrix &dsurface_emission_dx, const Index &atmosphere_dim, const Vector &lat_grid, const Vector &lon_grid, const Tensor3 &surface_props_data, const ArrayOfString &surface_props_names, const ArrayOfString &dsurface_names, const Index &jacobian_do, const Verbosity &verbosity)
WORKSPACE METHOD: SurfaceDummy.
Definition: m_surface.cc:2490
void InterpAtmFieldToPosition(Numeric &out, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Tensor3 &z_field, const Vector &rtp_pos, const Tensor3 &field, const Verbosity &verbosity)
WORKSPACE METHOD: InterpAtmFieldToPosition.
void Touch(T &in, const Verbosity &verbosity)
WORKSPACE METHOD: Touch.
Definition: m_ignore.h:64
void abs_xsec_agenda_checkedCalc(Workspace &ws, Index &abs_xsec_agenda_checked, const ArrayOfArrayOfSpeciesTag &abs_species, const Agenda &abs_xsec_agenda, const Verbosity &verbosity)
WORKSPACE METHOD: abs_xsec_agenda_checkedCalc.
Definition: m_checked.cc:44
void nlteOff(Index &nlte_do, EnergyLevelMap &nlte_field, ArrayOfQuantumIdentifier &nlte_level_identifiers, const Verbosity &verbosity)
WORKSPACE METHOD: nlteOff.
Definition: m_nlte.cc:279
void propmat_clearskyAddXsecAgenda(Workspace &ws, PropagationMatrix &propmat_clearsky, ArrayOfPropagationMatrix &dpropmat_clearsky_dx, const Vector &f_grid, const ArrayOfArrayOfSpeciesTag &abs_species, const ArrayOfRetrievalQuantity &jacobian_quantities, const Numeric &rtp_pressure, const Numeric &rtp_temperature, const Vector &rtp_vmr, const Agenda &abs_xsec_agenda, const Verbosity &verbosity)
WORKSPACE METHOD: propmat_clearskyAddXsecAgenda.
Definition: m_abs.cc:1466
void surfaceBlackbody(Matrix &surface_los, Tensor4 &surface_rmatrix, Matrix &surface_emission, const Index &atmosphere_dim, const Vector &f_grid, const Index &stokes_dim, const Vector &rtp_pos, const Vector &rtp_los, const Numeric &surface_skin_t, const Verbosity &verbosity)
WORKSPACE METHOD: surfaceBlackbody.
Definition: m_surface.cc:876
void abs_xsec_per_speciesAddCIA(ArrayOfMatrix &abs_xsec_per_species, ArrayOfArrayOfMatrix &dabs_xsec_per_species_dx, const ArrayOfArrayOfSpeciesTag &abs_species, const ArrayOfRetrievalQuantity &jacobian_quantities, const ArrayOfIndex &abs_species_active, const Vector &f_grid, const Vector &abs_p, const Vector &abs_t, const Matrix &abs_vmrs, const ArrayOfCIARecord &abs_cia_data, const Numeric &T_extrapolfac, const Index &robust, const Verbosity &verbosity)
WORKSPACE METHOD: abs_xsec_per_speciesAddCIA.
Definition: m_cia.cc:41
void VectorNLinSpace(Vector &out, const Index &nelem, const Numeric &start, const Numeric &stop, const Verbosity &verbosity)
WORKSPACE METHOD: VectorNLinSpace.
void propmat_clearskyInit(PropagationMatrix &propmat_clearsky, StokesVector &nlte_source, ArrayOfPropagationMatrix &dpropmat_clearsky_dx, ArrayOfStokesVector &dnlte_source_dx, const ArrayOfRetrievalQuantity &jacobian_quantities, const Vector &f_grid, const Index &stokes_dim, const Index &propmat_clearsky_agenda_checked, const Verbosity &verbosity)
WORKSPACE METHOD: propmat_clearskyInit.
Definition: m_abs.cc:899
void Ignore(const T &in, const Verbosity &verbosity)
WORKSPACE METHOD: Ignore.
Definition: m_ignore.h:52
void VectorNLogSpace(Vector &out, const Index &nelem, const Numeric &start, const Numeric &stop, const Verbosity &verbosity)
WORKSPACE METHOD: VectorNLogSpace.
void propmat_clearskyAddLines(PropagationMatrix &propmat_clearsky, StokesVector &nlte_source, ArrayOfPropagationMatrix &dpropmat_clearsky_dx, ArrayOfStokesVector &dnlte_source_dx, const Vector &f_grid, const ArrayOfArrayOfSpeciesTag &abs_species, const ArrayOfRetrievalQuantity &jacobian_quantities, const ArrayOfArrayOfAbsorptionLines &abs_lines_per_species, const SpeciesIsotopologueRatios &isotopologue_ratios, const Numeric &rtp_pressure, const Numeric &rtp_temperature, const EnergyLevelMap &rtp_nlte, const Vector &rtp_vmr, const Index &nlte_do, const Index &lbl_checked, const Numeric &sparse_df, const Numeric &sparse_lim, const String &speedup_option, const ArrayOfSpeciesTag &select_speciestags, const Verbosity &verbosity)
WORKSPACE METHOD: propmat_clearskyAddLines.
Definition: m_abs.cc:1352
void InterpSurfaceFieldToPosition(Numeric &out, const Index &atmosphere_dim, const Vector &lat_grid, const Vector &lon_grid, const Vector &rtp_pos, const Matrix &z_surface, const Matrix &field, const Verbosity &verbosity)
WORKSPACE METHOD: InterpSurfaceFieldToPosition.
Definition: m_surface.cc:200
void ppath_stepRefractionBasic(Workspace &ws, Ppath &ppath_step, const Agenda &refr_index_air_agenda, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Tensor3 &z_field, const Tensor3 &t_field, const Tensor4 &vmr_field, const Vector &refellipsoid, const Matrix &z_surface, const Vector &f_grid, const Numeric &ppath_lmax, const Numeric &ppath_lraytrace, const Verbosity &verbosity)
WORKSPACE METHOD: ppath_stepRefractionBasic.
Definition: m_ppath.cc:1758
void propmat_clearsky_agenda_checkedCalc(Workspace &ws, Index &propmat_clearsky_agenda_checked, const ArrayOfArrayOfSpeciesTag &abs_species, const Agenda &propmat_clearsky_agenda, const Verbosity &verbosity)
WORKSPACE METHOD: propmat_clearsky_agenda_checkedCalc.
Definition: m_checked.cc:841
void abs_lines_per_speciesCreateFromLines(ArrayOfArrayOfAbsorptionLines &abs_lines_per_species, const ArrayOfAbsorptionLines &abs_lines, const ArrayOfArrayOfSpeciesTag &abs_species, const Verbosity &verbosity)
WORKSPACE METHOD: abs_lines_per_speciesCreateFromLines.
Definition: m_abs.cc:93
void yCalc(Workspace &ws, Vector &y, Vector &y_f, ArrayOfIndex &y_pol, Matrix &y_pos, Matrix &y_los, ArrayOfVector &y_aux, Matrix &y_geo, Matrix &jacobian, const Index &atmgeom_checked, const Index &atmfields_checked, const Index &atmosphere_dim, const EnergyLevelMap &nlte_field, const Index &cloudbox_on, const Index &cloudbox_checked, const Index &scat_data_checked, const Index &sensor_checked, const Index &stokes_dim, const Vector &f_grid, const Matrix &sensor_pos, const Matrix &sensor_los, const Matrix &transmitter_pos, const Matrix &mblock_dlos_grid, const Sparse &sensor_response, const Vector &sensor_response_f, const ArrayOfIndex &sensor_response_pol, const Matrix &sensor_response_dlos, const String &iy_unit, const Agenda &iy_main_agenda, const Agenda &geo_pos_agenda, const Agenda &jacobian_agenda, const Index &jacobian_do, const ArrayOfRetrievalQuantity &jacobian_quantities, const ArrayOfString &iy_aux_vars, const Verbosity &verbosity)
WORKSPACE METHOD: yCalc.
Definition: m_rte.cc:1346
void abs_cont_descriptionInit(ArrayOfString &abs_cont_names, ArrayOfString &abs_cont_models, ArrayOfVector &abs_cont_parameters, const Verbosity &verbosity)
WORKSPACE METHOD: abs_cont_descriptionInit.
Definition: m_abs.cc:725
void MatrixCBR(Matrix &out, const Index &stokes_dim, const Vector &f, const Verbosity &verbosity)
WORKSPACE METHOD: MatrixCBR.
Definition: m_physics.cc:56
void atmfields_checkedCalc(Index &atmfields_checked, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const ArrayOfArrayOfSpeciesTag &abs_species, const Tensor3 &t_field, const Tensor4 &vmr_field, const Tensor3 &wind_u_field, const Tensor3 &wind_v_field, const Tensor3 &wind_w_field, const Tensor3 &mag_u_field, const Tensor3 &mag_v_field, const Tensor3 &mag_w_field, const Index &abs_f_interp_order, const Index &negative_vmr_ok, const Verbosity &verbosity)
WORKSPACE METHOD: atmfields_checkedCalc.
Definition: m_checked.cc:100
void abs_cont_descriptionAppend(ArrayOfString &abs_cont_names, ArrayOfString &abs_cont_models, ArrayOfVector &abs_cont_parameters, const String &tagname, const String &model, const Vector &userparam, const Verbosity &verbosity)
WORKSPACE METHOD: abs_cont_descriptionAppend.
Definition: m_abs.cc:741
void jacobianOff(Index &jacobian_do, Agenda &jacobian_agenda, ArrayOfRetrievalQuantity &jacobian_quantities, const Verbosity &verbosity)
WORKSPACE METHOD: jacobianOff.
Definition: m_jacobian.cc:91
void ppathCalc(Workspace &ws, Ppath &ppath, const Agenda &ppath_agenda, const Numeric &ppath_lmax, const Numeric &ppath_lraytrace, const Index &atmgeom_checked, const Vector &f_grid, const Index &cloudbox_on, const Index &cloudbox_checked, const Index &ppath_inside_cloudbox_do, const Vector &rte_pos, const Vector &rte_los, const Vector &rte_pos2, const Verbosity &verbosity)
WORKSPACE METHOD: ppathCalc.
Definition: m_ppath.cc:194
void z_surfaceConstantAltitude(Matrix &z_surface, const Vector &lat_grid, const Vector &lon_grid, const Numeric &altitude, const Verbosity &verbosity)
WORKSPACE METHOD: z_surfaceConstantAltitude.
void cloudbox_checkedCalc(Index &cloudbox_checked, const Index &atmfields_checked, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Tensor3 &z_field, const Matrix &z_surface, const Tensor3 &wind_u_field, const Tensor3 &wind_v_field, const Tensor3 &wind_w_field, const Index &cloudbox_on, const ArrayOfIndex &cloudbox_limits, const Tensor4 &pnd_field, const ArrayOfTensor4 &dpnd_field_dx, const ArrayOfRetrievalQuantity &jacobian_quantities, const ArrayOfArrayOfSingleScatteringData &scat_data, const ArrayOfString &scat_species, const Matrix &particle_masses, const ArrayOfArrayOfSpeciesTag &abs_species, const Index &negative_pnd_ok, const Verbosity &verbosity)
WORKSPACE METHOD: cloudbox_checkedCalc.
Definition: m_checked.cc:390
void abs_speciesSet(ArrayOfArrayOfSpeciesTag &abs_species, Index &abs_xsec_agenda_checked, Index &propmat_clearsky_agenda_checked, const ArrayOfString &species, const Verbosity &verbosity)
WORKSPACE METHOD: abs_speciesSet.
void sensor_checkedCalc(Index &sensor_checked, const Index &atmosphere_dim, const Index &stokes_dim, const Vector &f_grid, const Matrix &sensor_pos, const Matrix &sensor_los, const Matrix &transmitter_pos, const Matrix &mblock_dlos_grid, const Sparse &sensor_response, const Vector &sensor_response_f, const ArrayOfIndex &sensor_response_pol, const Matrix &sensor_response_dlos, const Verbosity &verbosity)
WORKSPACE METHOD: sensor_checkedCalc.
Definition: m_checked.cc:918
void abs_xsec_per_speciesInit(ArrayOfMatrix &abs_xsec_per_species, ArrayOfArrayOfMatrix &dabs_xsec_per_species_dx, const ArrayOfArrayOfSpeciesTag &abs_species, const ArrayOfRetrievalQuantity &jacobian_quantities, const ArrayOfIndex &abs_species_active, const Vector &f_grid, const Vector &abs_p, const Index &abs_xsec_agenda_checked, const Verbosity &verbosity)
WORKSPACE METHOD: abs_xsec_per_speciesInit.
Definition: m_abs.cc:375
void VectorSet(Vector &out, const Vector &value, const Verbosity &verbosity)
WORKSPACE METHOD: VectorSet.
void atmgeom_checkedCalc(Index &atmgeom_checked, const Index &atmosphere_dim, const Vector &p_grid, const Vector &lat_grid, const Vector &lon_grid, const Tensor3 &z_field, const Vector &refellipsoid, const Matrix &z_surface, const Vector &lat_true, const Vector &lon_true, const Numeric &max500hpa_gradient, const Verbosity &verbosity)
WORKSPACE METHOD: atmgeom_checkedCalc.
Definition: m_checked.cc:265
void abs_xsec_per_speciesAddConts(ArrayOfMatrix &abs_xsec_per_species, ArrayOfArrayOfMatrix &dabs_xsec_per_species_dx, const ArrayOfArrayOfSpeciesTag &abs_species, const ArrayOfRetrievalQuantity &jacobian_quantities, const ArrayOfIndex &abs_species_active, const Vector &f_grid, const Vector &abs_p, const Vector &abs_t, const Matrix &abs_vmrs, const ArrayOfString &abs_cont_names, const ArrayOfVector &abs_cont_parameters, const ArrayOfString &abs_cont_models, const Verbosity &verbosity)
WORKSPACE METHOD: abs_xsec_per_speciesAddConts.
Definition: m_abs.cc:474
void water_p_eq_fieldMK05(Tensor3 &water_p_eq_field, const Tensor3 &t_field, const Index &only_liquid, const Verbosity &verbosity)
WORKSPACE METHOD: water_p_eq_fieldMK05.
Definition: m_physics.cc:121
void refellipsoidVenus(Vector &refellipsoid, const String &model, const Verbosity &verbosity)
WORKSPACE METHOD: refellipsoidVenus.
Definition: m_planets.cc:235
void propmat_clearskyAddZeeman(PropagationMatrix &propmat_clearsky, StokesVector &nlte_source, ArrayOfPropagationMatrix &dpropmat_clearsky_dx, ArrayOfStokesVector &dnlte_source_dx, const ArrayOfArrayOfAbsorptionLines &abs_lines_per_species, const Vector &f_grid, const ArrayOfArrayOfSpeciesTag &abs_species, const ArrayOfRetrievalQuantity &jacobian_quantities, const SpeciesIsotopologueRatios &isotopologue_ratios, const Numeric &rtp_pressure, const Numeric &rtp_temperature, const EnergyLevelMap &rtp_nlte, const Vector &rtp_vmr, const Vector &rtp_mag, const Vector &rtp_los, const Index &atmosphere_dim, const Index &nlte_do, const Index &lbl_checked, const Index &manual_zeeman_tag, const Numeric &manual_zeeman_magnetic_field_strength, const Numeric &manual_zeeman_theta, const Numeric &manual_zeeman_eta, const Verbosity &verbosity)
WORKSPACE METHOD: propmat_clearskyAddZeeman.
Definition: m_zeeman.cc:35
The Tensor3 class.
Definition: matpackIII.h:339
The Tensor4 class.
Definition: matpackIV.h:421
Workspace class.
Definition: workspace_ng.h:40
INDEX Index
The type to use for all integer numbers and indices.
Definition: matpack.h:39
NUMERIC Numeric
The type to use for all floating point numbers.
Definition: matpack.h:33
Workspace & ppath_step_agenda_refracted_path(Workspace &ws)
Definition: test_cpp_api.cc:63
Workspace & abs_xsec_agenda_standard_with_cia(Workspace &ws)
Workspace & geo_pos_agenda_empty(Workspace &ws)
Workspace & iy_main_agenda_transmission(Workspace &ws)
Definition: test_cpp_api.cc:11
Workspace & abs_xsec_agenda_standard(Workspace &ws)
Definition: test_cpp_api.cc:92
Workspace & iy_main_agenda_emission(Workspace &ws)
Definition: test_cpp_api.cc:4
Workspace & propmat_clearsky_agenda_xsec_agenda(Workspace &ws)
Definition: test_cpp_api.cc:70
Workspace & ppath_step_agenda_geometric_path(Workspace &ws)
Definition: test_cpp_api.cc:54
Workspace & iy_space_agenda_cosmic_background(Workspace &ws)
Definition: test_cpp_api.cc:20
Workspace & iy_surface_agenda_use_surface_property(Workspace &ws)
Definition: test_cpp_api.cc:29
Workspace & water_p_eq_agenda_default(Workspace &ws)
Workspace & propmat_clearsky_agenda_on_the_fly_zeeman(Workspace &ws)
Definition: test_cpp_api.cc:82
Workspace & surface_rtprop_agenda_blackbody_from_surface(Workspace &ws)
Workspace & ppath_agenda_plane_parallel(Workspace &ws)
Definition: test_cpp_api.cc:44
Workspace & surface_rtprop_agenda_blackbody_from_atmosphere(Workspace &ws)
Workspace & ppath_agenda_follow_sensor_los(Workspace &ws)
Definition: test_cpp_api.cc:36
Workspace & addO2PWR98(Workspace &ws)
Workspace & init(Workspace &ws)
Workspace & addH2OPWR98(Workspace &ws)
invlib::Matrix< ArtsMatrix > Matrix
invlib wrapper type for ARTS matrices.
Definition: oem.h:33
int main()