159 switch (pos.
nelem()) {
162 os <<
"The array *" << x_name <<
"* must contain the element " << what
164 <<
"but it does not.";
174 os <<
"The array *" << x_name <<
"* must contain the element " << what
176 <<
"exactly once, but it does contain it " << pos.
nelem() <<
" times.";
202 if (x.
nelem() != c) {
204 os <<
"The array *" << x_name <<
"*\n" 205 <<
"does not have the right size.\n" 206 <<
"The size should be: " << c <<
"\n" 207 <<
"but it is: " << x.
nelem();
208 throw runtime_error(os.
str());
267 const String& which_interpolation,
271 const Index order = 1);
276 const String& which_interpolation,
279 const Index order = 1);
284 const String& which_interpolation,
287 const Index order = 1);
291 const String& which_interpolation,
299 const Index order = 1,
300 const Numeric& extpolfac = 0.5,
301 const bool islog =
false);
306 const Index order = 1,
307 const Numeric& extpolfac = 0.5);
312 const Index order = 1,
313 const Numeric& extpolfac = 0.5);
326 const bool& chk_lat90 = 1);
331 const Index& nspecies,
335 const bool& check_nan = 1);
343 const Numeric& threshold = 1e-3);
359 const bool& is_rte_pos2 =
false);
364 const Index gridindex,
369 #endif // checkinput_h INDEX Index
The type to use for all integer numbers and indices.
Index nelem() const
Number of elements.
A constant view of a Tensor7.
A constant view of a Tensor6.
G0 G2 FVC Y DV Numeric Numeric Numeric Zeeman LowerQuantumNumbers void * data
A constant view of a Tensor4.
_CS_string_type str() const
Declarations for agendas.
runtime_error_not_unique(const string &s)
Subclasses of runtime_error.
The declarations of all the exception classes.
A constant view of a Tensor5.
NUMERIC Numeric
The type to use for all floating point numbers.
This can be used to make arrays out of anything.
A constant view of a Tensor3.
A constant view of a Vector.
A constant view of a Matrix.
Implementation of gridded fields.
Subclasses of runtime_error.
void find_all(ArrayOfIndex &pos, const Array< base > &x, const base &w)
Find all occurances.
runtime_error_not_found(const string &s)
This file contains the definition of String, the ARTS string class.