ARTS  2.4.0(git:4fb77825)
test_cpp_api.cc
Go to the documentation of this file.
1 #include <autoarts.h>
2 
3 namespace ARTS::Agenda {
5  using namespace AgendaMethod;
6  using namespace AgendaDefine;
8  return ws;
9  }
10 
12  using namespace AgendaMethod;
13  using namespace AgendaDefine;
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 AgendaMethod;
22  using namespace AgendaDefine;
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 AgendaMethod;
31  using namespace AgendaDefine;
33  return ws;
34  }
35 
37  using namespace AgendaMethod;
38  using namespace AgendaDefine;
39  using namespace Var;
40  ppath_agenda(ws, Ignore(ws, rte_pos2(ws)), ppathStepByStep(ws));
41  return ws;
42  }
43 
45  using namespace AgendaMethod;
46  using namespace AgendaDefine;
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 AgendaMethod;
56  using namespace AgendaDefine;
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 AgendaMethod;
65  using namespace AgendaDefine;
67  return ws;
68  }
69 
71  using namespace AgendaMethod;
72  using namespace AgendaDefine;
73  using namespace Var;
74  propmat_clearsky_agenda(ws, Ignore(ws, rtp_mag(ws)), Ignore(ws, rtp_los(ws)),
77  return ws;
78  }
79 
81  using namespace AgendaMethod;
82  using namespace AgendaDefine;
86  return ws;
87  }
88 
90  using namespace AgendaMethod;
91  using namespace AgendaDefine;
95  return ws;
96  }
97 
99  using namespace AgendaMethod;
100  using namespace AgendaDefine;
104  return ws;
105  }
106 
108  using namespace AgendaMethod;
109  using namespace AgendaDefine;
110  using namespace Var;
113  surfaceBlackbody(ws));
114  return ws;
115  }
116 
118  using namespace AgendaMethod;
119  using namespace AgendaDefine;
120  using namespace Var;
123  surfaceBlackbody(ws));
124  return ws;
125  }
126 
128  using namespace AgendaMethod;
129  using namespace AgendaDefine;
130  using namespace Var;
131  geo_pos_agenda(ws, Ignore(ws, ppath(ws)),
132  VectorSet(ws, geo_pos(ws), VectorCreate(ws, {}, "Default")));
133  return ws;
134  }
135 
137  using namespace AgendaMethod;
138  using namespace AgendaDefine;
140  return ws;
141  }
142 } // namespace ARTS::Agenda
143 
144 namespace ARTS::Continua {
146 
147  Workspace& addH2OPWR98(Workspace& ws) { Method::abs_cont_descriptionAppend(ws, String{"H2O-PWR98"}, String{"Rosenkranz"}); return ws; }
148 
149  Workspace& addO2PWR98(Workspace& ws) { Method::abs_cont_descriptionAppend(ws, String{"O2-PWR98"}, String{"Rosenkranz"}); return ws; }
150 } // ARTS::Continua
151 
152 int main() try {
153  using namespace ARTS;
154 
155  auto ws = init(0, 0, 0);
156 
158 
160 
162 
164 
166 
168 
170 
172 
174 
176 
178  Method::nlteOff(ws);
179  Var::iy_unit(ws) = "PlanckBT";
182 
186 
187  Method::abs_speciesSet(ws, ArrayOfString{"H2O-PWR98", "O2-PWR98"});
188 
191  Var::nelem(ws) = 51;
192  Method::VectorNLogSpace(ws, Var::p_grid(ws), 1e+05, 1e-4);
193 
195  Var::lat_true(ws) = Var::lat_grid(ws);
196  Var::lon_true(ws) = Var::lon_grid(ws);
206 
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);
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 
226  Var::nelem(ws) = 10001;
227  Method::VectorNLinSpace(ws, Var::f_grid(ws), 22e9 - 500e6, 22e9 + 500e6);
228 
229  Var::sensor_pos(ws) = Matrix(1, 1, 100);
230  Var::sensor_los(ws) = Matrix(1, 1, 75);
232  Method::sensorOff(ws);
234 
242 
243  Method::yCalc(ws);
244  for (auto& n: Var::y(ws).value()) std::cout << n << ',';
245  std::cout << '\n';
246  return 0;
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 1;
252 }
ARTS::Var::wind_v_field
Tensor3 wind_v_field(Workspace &ws) noexcept
Definition: autoarts.h:7246
ARTS::Method::z_surfaceConstantAltitude
void z_surfaceConstantAltitude(Workspace &ws, const Var::Numeric altitude=Group::Numeric{0})
Definition: autoarts.h:53815
Ignore
void Ignore(Workspace &, const Agenda &, const Verbosity &)
Definition: m_ignore.h:39
ARTS::Var::geo_pos
Vector geo_pos(Workspace &ws) noexcept
Definition: autoarts.h:3544
ARTS::Var::z_field
Tensor3 z_field(Workspace &ws) noexcept
Definition: autoarts.h:7690
ARTS::Var::rtp_mag
Vector rtp_mag(Workspace &ws) noexcept
Definition: autoarts.h:5736
ARTS::Agenda::abs_xsec_agenda_standard_with_cia
Workspace & abs_xsec_agenda_standard_with_cia(Workspace &ws)
Definition: test_cpp_api.cc:98
ppath_stepRefractionBasic
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 &)
WORKSPACE METHOD: ppath_stepRefractionBasic.
Definition: m_ppath.cc:1336
ARTS::Var::rtp_los
Vector rtp_los(Workspace &ws) noexcept
Definition: autoarts.h:5715
ARTS::Var::ppath_step_agenda
Agenda ppath_step_agenda(Workspace &ws) noexcept
Definition: autoarts.h:5220
ARTS::Agenda::abs_xsec_agenda_standard
Workspace & abs_xsec_agenda_standard(Workspace &ws)
Definition: test_cpp_api.cc:89
ARTS::Method::Touch
void Touch(Workspace &ws, Var::AbsorptionLines in)
Definition: autoarts.h:55249
ARTS::Var::transmitter_pos
Matrix transmitter_pos(Workspace &ws) noexcept
Definition: autoarts.h:7093
ARTS::Var::t_surface
Matrix t_surface(Workspace &ws) noexcept
Definition: autoarts.h:6994
ARTS::Agenda::iy_main_agenda_emission
Workspace & iy_main_agenda_emission(Workspace &ws)
Definition: test_cpp_api.cc:4
ARTS::Var::lat_grid
Vector lat_grid(Workspace &ws) noexcept
Definition: autoarts.h:3962
ARTS::Var::iy_id
Index iy_id(Workspace &ws) noexcept
Definition: autoarts.h:3775
ARTS::Group::Tensor3
Tensor3 Tensor3
Definition: autoarts.h:104
oem::Matrix
invlib::Matrix< ArtsMatrix > Matrix
invlib wrapper type for ARTS matrices.
Definition: oem.h:34
ARTS::Group::Tensor4
Tensor4 Tensor4
Definition: autoarts.h:105
ARTS::Method::yCalc
void yCalc(Workspace &ws)
Definition: autoarts.h:64659
ARTS::Var::nelem
Index nelem(Workspace &ws) noexcept
Definition: autoarts.h:4553
ARTS::Agenda::propmat_clearsky_agenda_on_the_fly_zeeman
Workspace & propmat_clearsky_agenda_on_the_fly_zeeman(Workspace &ws)
Definition: test_cpp_api.cc:80
ARTS::Var::p_hse
Numeric p_hse(Workspace &ws) noexcept
Definition: autoarts.h:4794
ARTS::Agenda::surface_rtprop_agenda_blackbody_from_surface
Workspace & surface_rtprop_agenda_blackbody_from_surface(Workspace &ws)
Definition: test_cpp_api.cc:107
ARTS::Var::wind_u_field
Tensor3 wind_u_field(Workspace &ws) noexcept
Definition: autoarts.h:7211
ARTS::Var::y
Vector y(Workspace &ws) noexcept
Definition: autoarts.h:7401
ARTS::Method::VectorNLinSpace
void VectorNLinSpace(Workspace &ws, Var::Vector out, const Var::Numeric start, const Var::Numeric stop)
Definition: autoarts.h:58030
ARTS::Method::abs_speciesSet
void abs_speciesSet(Workspace &ws, const Var::ArrayOfString species)
Definition: autoarts.h:11935
ARTS::Var::mag_w_field
Tensor3 mag_w_field(Workspace &ws) noexcept
Definition: autoarts.h:4197
surfaceBlackbody
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:841
ARTS::Var::stokes_dim
Index stokes_dim(Workspace &ws) noexcept
Definition: autoarts.h:6650
VectorCreate
void VectorCreate(Vector &var, const Verbosity &)
WORKSPACE METHOD: VectorCreate.
Definition: auto_md.cc:25683
ARTS::Agenda::ppath_step_agenda_refracted_path
Workspace & ppath_step_agenda_refracted_path(Workspace &ws)
Definition: test_cpp_api.cc:63
ARTS::Method::sensor_checkedCalc
void sensor_checkedCalc(Workspace &ws)
Definition: autoarts.h:52848
ARTS::Var::iy_unit
String iy_unit(Workspace &ws) noexcept
Definition: autoarts.h:3856
ARTS::Agenda::propmat_clearsky_agenda_on_the_fly
Workspace & propmat_clearsky_agenda_on_the_fly(Workspace &ws)
Definition: test_cpp_api.cc:70
ARTS::Var::iy
Matrix iy(Workspace &ws) noexcept
Definition: autoarts.h:3690
ppathPlaneParallel
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 &)
WORKSPACE METHOD: ppathPlaneParallel.
Definition: m_ppath.cc:761
abs_xsec_per_speciesAddLines
void abs_xsec_per_speciesAddLines(ArrayOfMatrix &abs_xsec_per_species, ArrayOfMatrix &src_xsec_per_species, ArrayOfArrayOfMatrix &dabs_xsec_per_species_dx, ArrayOfArrayOfMatrix &dsrc_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 EnergyLevelMap &abs_nlte, const Matrix &abs_vmrs, const ArrayOfArrayOfAbsorptionLines &abs_lines_per_species, const SpeciesAuxData &isotopologue_ratios, const SpeciesAuxData &partition_functions, const Index &lbl_checked, const Verbosity &)
WORKSPACE METHOD: abs_xsec_per_speciesAddLines.
Definition: m_abs.cc:1809
ARTS::init
Workspace init(std::size_t screen=0, std::size_t file=0, std::size_t agenda=0, const Group::String &basename="arts", int numthreads=0)
Definition: autoarts.h:145858
ARTS::Var::iy_space_agenda
Agenda iy_space_agenda(Workspace &ws) noexcept
Definition: autoarts.h:3801
ARTS::Var::surface_rtprop_agenda
Agenda surface_rtprop_agenda(Workspace &ws) noexcept
Definition: autoarts.h:6807
ARTS::Method::AtmosphereSet1D
void AtmosphereSet1D(Workspace &ws)
Definition: autoarts.h:17485
ARTS::Var::lon_true
Vector lon_true(Workspace &ws) noexcept
Definition: autoarts.h:4113
ARTS::Continua::init
Workspace & init(Workspace &ws)
Definition: test_cpp_api.cc:145
ARTS::Var::rte_alonglos_v
Numeric rte_alonglos_v(Workspace &ws) noexcept
Definition: autoarts.h:5628
ARTS::Var::nlte_field
EnergyLevelMap nlte_field(Workspace &ws) noexcept
Definition: autoarts.h:4604
Array< String >
ARTS::Method::abs_cont_descriptionAppend
void abs_cont_descriptionAppend(Workspace &ws, const Var::String tagname, const Var::String model, const Var::Vector userparam=Group::Vector{})
Definition: autoarts.h:9624
ARTS::Continua
Definition: test_cpp_api.cc:144
InterpSurfaceFieldToPosition
void InterpSurfaceFieldToPosition(Numeric &outvalue, 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:197
MatrixCBR
void MatrixCBR(Matrix &m, const Index &stokes_dim, const Vector &f, const Verbosity &)
WORKSPACE METHOD: MatrixCBR.
Definition: m_physics.cc:56
ARTS::Agenda::iy_main_agenda_transmission
Workspace & iy_main_agenda_transmission(Workspace &ws)
Definition: test_cpp_api.cc:11
ARTS::Method::refellipsoidVenus
void refellipsoidVenus(Workspace &ws, const Var::String model=Group::String{"Sphere"})
Definition: autoarts.h:49322
ARTS::Agenda::iy_space_agenda_cosmic_background
Workspace & iy_space_agenda_cosmic_background(Workspace &ws)
Definition: test_cpp_api.cc:20
ppathCalc
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 &)
WORKSPACE METHOD: ppathCalc.
Definition: m_ppath.cc:193
propmat_clearskyAddOnTheFly
void propmat_clearskyAddOnTheFly(Workspace &ws, ArrayOfPropagationMatrix &propmat_clearsky, ArrayOfStokesVector &nlte_source, ArrayOfPropagationMatrix &dpropmat_clearsky_dx, ArrayOfStokesVector &dnlte_dx_source, ArrayOfStokesVector &nlte_dsource_dx, const Vector &f_grid, const ArrayOfArrayOfSpeciesTag &abs_species, const ArrayOfRetrievalQuantity &jacobian_quantities, const Numeric &rtp_pressure, const Numeric &rtp_temperature, const EnergyLevelMap &rtp_nlte, const Vector &rtp_vmr, const Agenda &abs_xsec_agenda, const Verbosity &verbosity)
WORKSPACE METHOD: propmat_clearskyAddOnTheFly.
Definition: m_abs.cc:1504
ARTS::Continua::addH2OPWR98
Workspace & addH2OPWR98(Workspace &ws)
Definition: test_cpp_api.cc:147
my_basic_string< char >
ppath_stepGeometric
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 &)
WORKSPACE METHOD: ppath_stepGeometric.
Definition: m_ppath.cc:1278
ARTS::Agenda::surface_rtprop_agenda_blackbody_from_atmosphere
Workspace & surface_rtprop_agenda_blackbody_from_atmosphere(Workspace &ws)
Definition: test_cpp_api.cc:117
ARTS::Method::atmgeom_checkedCalc
void atmgeom_checkedCalc(Workspace &ws)
Definition: autoarts.h:17467
water_p_eq_fieldMK05
void water_p_eq_fieldMK05(Tensor3 &water_p_eq_field, const Tensor3 &t_field, const Verbosity &)
WORKSPACE METHOD: water_p_eq_fieldMK05.
Definition: m_physics.cc:121
ARTS::Var::vmr_field
Tensor4 vmr_field(Workspace &ws) noexcept
Definition: autoarts.h:7130
abs_xsec_per_speciesAddConts
void abs_xsec_per_speciesAddConts(ArrayOfMatrix &abs_xsec_per_species, ArrayOfArrayOfMatrix &dabs_xsec_per_species_dx, const ArrayOfArrayOfSpeciesTag &tgs, 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:531
ARTS
Definition: test_cpp_api.cc:3
iyEmissionStandard
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 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_transmission, const Numeric &rte_alonglos_v, const Tensor3 &surface_props_data, const Verbosity &verbosity)
WORKSPACE METHOD: iyEmissionStandard.
Definition: m_rte.cc:563
ARTS::Var::p_grid
Vector p_grid(Workspace &ws) noexcept
Definition: autoarts.h:4763
ARTS::Var::ppath
Ppath ppath(Workspace &ws) noexcept
Definition: autoarts.h:5139
autoarts.h
ARTS::Method::partition_functionsInitFromBuiltin
void partition_functionsInitFromBuiltin(Workspace &ws)
Definition: autoarts.h:38026
ARTS::Var::surface_props_data
Tensor3 surface_props_data(Workspace &ws) noexcept
Definition: autoarts.h:6745
Numeric
NUMERIC Numeric
The type to use for all floating point numbers.
Definition: matpack.h:33
ARTS::Method::cloudboxOff
void cloudboxOff(Workspace &ws)
Definition: autoarts.h:18011
ARTS::Method::abs_cont_descriptionInit
void abs_cont_descriptionInit(Workspace &ws)
Definition: autoarts.h:9653
ARTS::Method::sensorOff
void sensorOff(Workspace &ws)
Definition: autoarts.h:52867
ARTS::Agenda::geo_pos_agenda_empty
Workspace & geo_pos_agenda_empty(Workspace &ws)
Definition: test_cpp_api.cc:127
iySurfaceRtpropAgenda
void iySurfaceRtpropAgenda(Workspace &ws, Matrix &iy, ArrayOfTensor3 &diy_dx, const Tensor3 &iy_transmission, 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 &)
WORKSPACE METHOD: iySurfaceRtpropAgenda.
Definition: m_surface.cc:407
InterpAtmFieldToPosition
void InterpAtmFieldToPosition(Numeric &outvalue, 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.
Definition: m_atmosphere.cc:3721
ARTS::Var::iy_aux_vars
ArrayOfString iy_aux_vars(Workspace &ws) noexcept
Definition: autoarts.h:3735
ARTS::Var::f_grid
Vector f_grid(Workspace &ws) noexcept
Definition: autoarts.h:3449
ARTS::Method::nlteOff
void nlteOff(Workspace &ws)
Definition: autoarts.h:37417
ARTS::Var::lat_true
Vector lat_true(Workspace &ws) noexcept
Definition: autoarts.h:3985
ARTS::Var::sensor_pos
Matrix sensor_pos(Workspace &ws) noexcept
Definition: autoarts.h:6279
ARTS::Var::abs_xsec_agenda
Agenda abs_xsec_agenda(Workspace &ws) noexcept
Definition: autoarts.h:2274
ARTS::Continua::addO2PWR98
Workspace & addO2PWR98(Workspace &ws)
Definition: test_cpp_api.cc:149
ARTS::Method::propmat_clearsky_agenda_checkedCalc
void propmat_clearsky_agenda_checkedCalc(Workspace &ws)
Definition: autoarts.h:40719
ARTS::Method::jacobianOff
void jacobianOff(Workspace &ws)
Definition: autoarts.h:34695
ARTS::Var::lon_grid
Vector lon_grid(Workspace &ws) noexcept
Definition: autoarts.h:4090
ARTS::Var::ppath_lmax
Numeric ppath_lmax(Workspace &ws) noexcept
Definition: autoarts.h:5183
ARTS::Var::ppath_lraytrace
Numeric ppath_lraytrace(Workspace &ws) noexcept
Definition: autoarts.h:5195
ARTS::Var::iy_surface_agenda
Agenda iy_surface_agenda(Workspace &ws) noexcept
Definition: autoarts.h:3808
ARTS::Method::VectorNLogSpace
void VectorNLogSpace(Workspace &ws, Var::Vector out, const Var::Numeric start, const Var::Numeric stop)
Definition: autoarts.h:58058
ARTS::Method::abs_xsec_agenda_checkedCalc
void abs_xsec_agenda_checkedCalc(Workspace &ws)
Definition: autoarts.h:11974
abs_xsec_per_speciesAddCIA
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
ppathStepByStep
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:1050
ARTS::Var::ppath_agenda
Agenda ppath_agenda(Workspace &ws) noexcept
Definition: autoarts.h:5146
ARTS::Agenda::iy_surface_agenda_use_surface_property
Workspace & iy_surface_agenda_use_surface_property(Workspace &ws)
Definition: test_cpp_api.cc:29
ARTS::Var::abs_lines
ArrayOfAbsorptionLines abs_lines(Workspace &ws) noexcept
Definition: autoarts.h:2013
ARTS::Method::atmfields_checkedCalc
void atmfields_checkedCalc(Workspace &ws, const Var::Index negative_vmr_ok=Group::Index{0}, const Var::Index bad_partition_functions_ok=Group::Index{0})
Definition: autoarts.h:17431
VectorSet
void VectorSet(Vector &x, const Vector &values, const Verbosity &)
WORKSPACE METHOD: VectorSet.
Definition: m_basic_types.cc:1368
ARTS::Var::geo_pos_agenda
Agenda geo_pos_agenda(Workspace &ws) noexcept
Definition: autoarts.h:3551
abs_xsec_per_speciesInit
void abs_xsec_per_speciesInit(ArrayOfMatrix &abs_xsec_per_species, ArrayOfMatrix &src_xsec_per_species, ArrayOfArrayOfMatrix &dabs_xsec_per_species_dx, ArrayOfArrayOfMatrix &dsrc_xsec_per_species_dx, const ArrayOfArrayOfSpeciesTag &tgs, const ArrayOfRetrievalQuantity &jacobian_quantities, const ArrayOfIndex &abs_species_active, const Vector &f_grid, const Vector &abs_p, const Index &abs_xsec_agenda_checked, const Index &nlte_do, const Verbosity &verbosity)
WORKSPACE METHOD: abs_xsec_per_speciesInit.
Definition: m_abs.cc:443
ARTS::Var::iy_main_agenda
Agenda iy_main_agenda(Workspace &ws) noexcept
Definition: autoarts.h:3794
ARTS::Agenda
Definition: test_cpp_api.cc:3
ARTS::Var::rte_pos2
Vector rte_pos2(Workspace &ws) noexcept
Definition: autoarts.h:5696
SurfaceDummy
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 &)
WORKSPACE METHOD: SurfaceDummy.
Definition: m_surface.cc:2332
propmat_clearskyInit
void propmat_clearskyInit(ArrayOfPropagationMatrix &propmat_clearsky, ArrayOfStokesVector &nlte_source, ArrayOfPropagationMatrix &dpropmat_clearsky_dx, ArrayOfStokesVector &dnlte_dx_source, ArrayOfStokesVector &nlte_dsource_dx, const ArrayOfArrayOfSpeciesTag &abs_species, const ArrayOfRetrievalQuantity &jacobian_quantities, const Vector &f_grid, const Index &stokes_dim, const Index &propmat_clearsky_agenda_checked, const Index &nlte_do, const Verbosity &)
WORKSPACE METHOD: propmat_clearskyInit.
Definition: m_abs.cc:1028
ARTS::Var::mag_v_field
Tensor3 mag_v_field(Workspace &ws) noexcept
Definition: autoarts.h:4164
ARTS::Var::t_field
Tensor3 t_field(Workspace &ws) noexcept
Definition: autoarts.h:6947
Workspace
Workspace class.
Definition: workspace_ng.h:40
iyTransmissionStandard
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, 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_transmission, const Numeric &rte_alonglos_v, const Verbosity &)
WORKSPACE METHOD: iyTransmissionStandard.
Definition: m_transmitter.cc:655
main
int main()
Definition: test_cpp_api.cc:152
ARTS::Method::isotopologue_ratiosInitFromBuiltin
void isotopologue_ratiosInitFromBuiltin(Workspace &ws)
Definition: autoarts.h:33049
ARTS::Var::wind_w_field
Tensor3 wind_w_field(Workspace &ws) noexcept
Definition: autoarts.h:7279
ARTS::Agenda::water_p_eq_agenda_default
Workspace & water_p_eq_agenda_default(Workspace &ws)
Definition: test_cpp_api.cc:136
ARTS::Var::propmat_clearsky_agenda
Agenda propmat_clearsky_agenda(Workspace &ws) noexcept
Definition: autoarts.h:5405
ARTS::Method::abs_lines_per_speciesCreateFromLines
void abs_lines_per_speciesCreateFromLines(Workspace &ws)
Definition: autoarts.h:11448
Index
INDEX Index
The type to use for all integer numbers and indices.
Definition: matpack.h:39
ARTS::Method::cloudbox_checkedCalc
void cloudbox_checkedCalc(Workspace &ws, const Var::Index negative_pnd_ok=Group::Index{0})
Definition: autoarts.h:18189
ARTS::Var::surface_skin_t
Numeric surface_skin_t(Workspace &ws) noexcept
Definition: autoarts.h:6877
ARTS::Var::mag_u_field
Tensor3 mag_u_field(Workspace &ws) noexcept
Definition: autoarts.h:4130
propmat_clearskyAddZeeman
void propmat_clearskyAddZeeman(ArrayOfPropagationMatrix &propmat_clearsky, ArrayOfStokesVector &nlte_source, ArrayOfPropagationMatrix &dpropmat_clearsky_dx, ArrayOfStokesVector &dnlte_dx_source, ArrayOfStokesVector &nlte_dsource_dx, const ArrayOfArrayOfAbsorptionLines &abs_lines_per_species, const Vector &f_grid, const ArrayOfArrayOfSpeciesTag &abs_species, const ArrayOfRetrievalQuantity &jacobian_quantities, const SpeciesAuxData &isotopologue_ratios, const SpeciesAuxData &partition_functions, const Numeric &rtp_pressure, const Numeric &rtp_temperature, const EnergyLevelMap &rtp_nlte, const Vector &rtp_vmr, const Vector &rtp_mag, const Vector &ppath_los, const Index &atmosphere_dim, 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 &)
WORKSPACE METHOD: propmat_clearskyAddZeeman.
Definition: m_zeeman.cc:35
ARTS::Agenda::ppath_step_agenda_geometric_path
Workspace & ppath_step_agenda_geometric_path(Workspace &ws)
Definition: test_cpp_api.cc:54
ARTS::Var::Tensor3::value
type & value() noexcept
Definition: autoarts.h:1513
ARTS::Agenda::ppath_agenda_plane_parallel
Workspace & ppath_agenda_plane_parallel(Workspace &ws)
Definition: test_cpp_api.cc:44
ARTS::Var::water_p_eq_agenda
Agenda water_p_eq_agenda(Workspace &ws) noexcept
Definition: autoarts.h:7165
ARTS::Var::sensor_los
Matrix sensor_los(Workspace &ws) noexcept
Definition: autoarts.h:6201
ARTS::Var::rtp_pos
Vector rtp_pos(Workspace &ws) noexcept
Definition: autoarts.h:5774
ARTS::Method::lbl_checkedCalc
void lbl_checkedCalc(Workspace &ws)
Definition: autoarts.h:34852
ARTS::Agenda::ppath_agenda_follow_sensor_los
Workspace & ppath_agenda_follow_sensor_los(Workspace &ws)
Definition: test_cpp_api.cc:36
ARTS::Var::abs_f_interp_order
Index abs_f_interp_order(Workspace &ws) noexcept
Definition: autoarts.h:1996
ARTS::Var::surface_props_names
ArrayOfString surface_props_names(Workspace &ws) noexcept
Definition: autoarts.h:6759