Go to the documentation of this file.
52 if( index >= arr.
nelem() )
55 os <<
"The index " << index
56 <<
" is outside the range of the array.";
57 throw runtime_error( os.str() );
75 if( index >= aoaoi.
nelem() )
78 os <<
"The index " << index
79 <<
" is outside the range of the Array.";
80 throw runtime_error( os.str() );
84 aoi.resize( aoaoi[index].nelem() );
99 if( index >= v.
nelem() )
102 os <<
"The index " << index
103 <<
" is outside the range of the Vector.";
104 throw runtime_error( os.str() );
122 if( index >= t3.
npages() )
125 os <<
"The index " << index
126 <<
" is outside the page range of the Tensor3.";
127 throw runtime_error( os.str() );
145 if( index >= t4.
nbooks() )
148 os <<
"The index " << index
149 <<
" is outside the book range of the Tensor4.";
150 throw runtime_error( os.str() );
172 os <<
"The index " << index
173 <<
"is outside the shelf range of the Tensor5.";
174 throw runtime_error( os.str() );
197 if( index >= aagf.
nelem() )
200 os <<
"The index " << index
201 <<
" is outside the range of the ArrayOfArrayOfGriddedField3.";
202 throw runtime_error( os.str() );
206 agf.resize( aagf[index].nelem() );
225 if( index >= agf4.
nelem() )
228 os <<
"The index " << index
229 <<
" is outside the range of The ArrayOfGriddedField4.";
230 throw runtime_error( os.str() );
Implementation of gridded fields.
void resize(Index b, Index p, Index r, Index c)
Resize function.
Index nbooks() const
Returns the number of books.
The declarations of all the exception classes.
Index ncols() const
Returns the number of columns.
This file contains the definition of Array.
void resize(Index p, Index r, Index c)
Resize function.
Index npages() const
Returns the number of pages.
Index npages() const
Returns the number of pages.
This can be used to make arrays out of anything.
Index nelem() const
Returns the number of elements.
Index ncols() const
Returns the number of columns.
NUMERIC Numeric
The type to use for all floating point numbers.
Index npages() const
Returns the number of pages.
Index nbooks() const
Returns the number of books.
Index nrows() const
Returns the number of rows.
Index nrows() const
Returns the number of rows.
Index nshelves() const
Returns the number of shelves.
INDEX Index
The type to use for all integer numbers and indices.
Index nelem() const
Number of elements.