65 const Index& x_high );
177 switch ( pos.
nelem() ){
181 os <<
"The array *" << x_name
182 <<
"* must contain the element " << what <<
",\n" 183 <<
"but it does not.";
193 os <<
"The array *" << x_name
194 <<
"* must contain the element " << what <<
"\n" 195 <<
"exactly once, but it does contain it " 196 << pos.
nelem() <<
" times.";
225 if ( x.
nelem() != c )
228 os <<
"The array *" << x_name <<
"*\n" 229 <<
"does not have the right size.\n" 230 <<
"The size should be: " << c <<
"\n" 231 <<
"but it is: " << x.
nelem();
232 throw runtime_error( os.str() );
297 const String& which_interpolation,
301 const Index order=1);
305 const String& which_interpolation,
308 const Index order=1);
312 const String& which_interpolation,
315 const Index order=1);
319 const String& which_interpolation,
329 const bool islog=
false);
335 const Numeric& extpolfac=0.5 );
341 const Numeric& extpolfac=0.5 );
356 const bool& chk_lat90 = 1);
362 const Index& nspecies,
374 const Numeric& threshold = 1e-3 );
378 const Index& atmosphere_dim,
391 const Index& atmosphere_dim,
393 const bool& is_rte_pos2=
false );
396 const Index& atmosphere_dim,
400 const Index gridindex,
405 const Agenda& blackbody_radiation_agenda );
407 #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.
A constant view of a Tensor4.
The implementation for String, the ARTS string class.
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.