GField3 Class Reference

#include <gridded_fields.h>

Inheritance diagram for GField3:

Inheritance graph
[legend]
Collaboration diagram for GField3:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 GField3 ()
 Construct an empty GField3.
 GField3 (const String s)
 Construct an empty GField3 with the given name.
GField3operator= (Numeric n)
 Assignment operator from scalar.
virtual bool checksize () const
 Consistency check.
void resize (const GField3 &gf)
 Make this GField3 the same size as the given one.
void resize (Index p, Index r, Index c)
 Resize the data tensor.

Friends

ostream & operator<< (ostream &os, const GField3 &gf)
 Output operator for GField3.


Detailed Description

Definition at line 249 of file gridded_fields.h.


Constructor & Destructor Documentation

GField3::GField3 (  )  [inline]

Construct an empty GField3.

Definition at line 253 of file gridded_fields.h.

GField3::GField3 ( const String  s  )  [inline]

Construct an empty GField3 with the given name.

Parameters:
[in] s Name.

Definition at line 256 of file gridded_fields.h.


Member Function Documentation

GField3& GField3::operator= ( Numeric  x  )  [inline]

Assignment operator from scalar.

Assignment operators are not inherited.

Reimplemented from Tensor3.

Definition at line 258 of file gridded_fields.h.

References Tensor3::operator=().

virtual bool GField3::checksize (  )  const [inline, virtual]

Consistency check.

Check if the sizes of the grids match the data dimension.

Returns:
True if sizes match.

Reimplemented from GField.

Definition at line 271 of file gridded_fields.h.

References GField::get_grid_size(), ConstTensor3View::ncols(), ConstTensor3View::npages(), and ConstTensor3View::nrows().

void GField3::resize ( const GField3 gf  )  [inline]

Make this GField3 the same size as the given one.

Parameters:
[in] gf Source gridded field.

Definition at line 280 of file gridded_fields.h.

References GField::get_grid_size(), and Tensor3::resize().

void GField3::resize ( Index  p,
Index  r,
Index  c 
) [inline]

Resize the data tensor.

See also:
Tensor3::resize

Reimplemented from Tensor3.

Definition at line 289 of file gridded_fields.h.

References Tensor3::resize().


Friends And Related Function Documentation

ostream& operator<< ( ostream &  os,
const GField3 gf 
) [friend]

Output operator for GField3.

Outputs the given GField3.

Parameters:
[in,out] os Output stream.
[in] gf GField3.

Definition at line 336 of file gridded_fields.cc.


The documentation for this class was generated from the following file:

Generated on Mon Mar 23 14:07:00 2009 for ARTS by  doxygen 1.5.6