GField2 Class Reference

#include <gridded_fields.h>

Inheritance diagram for GField2:

Inheritance graph
[legend]
Collaboration diagram for GField2:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 GField2 ()
 Construct an empty GField2.
 GField2 (const String s)
 Construct an empty GField2 with the given name.
virtual bool checksize () const
 Consistency check.
void resize (const GField2 &gf)
 Make this GField2 the same size as the given one.
void resize (Index r, Index c)
 Resize the data matrix.

Friends

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


Detailed Description

Definition at line 209 of file gridded_fields.h.


Constructor & Destructor Documentation

GField2::GField2 (  )  [inline]

Construct an empty GField2.

Definition at line 213 of file gridded_fields.h.

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

Construct an empty GField2 with the given name.

Parameters:
[in] s Name.

Definition at line 216 of file gridded_fields.h.


Member Function Documentation

virtual bool GField2::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 224 of file gridded_fields.h.

References GField::get_grid_size(), ConstMatrixView::ncols(), and ConstMatrixView::nrows().

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

Make this GField2 the same size as the given one.

Parameters:
[in] gf Source gridded field.

Definition at line 232 of file gridded_fields.h.

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

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

Resize the data matrix.

See also:
Matrix::resize

Reimplemented from Matrix.

Definition at line 240 of file gridded_fields.h.

References Matrix::resize().


Friends And Related Function Documentation

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

Output operator for GField2.

Outputs the given GField2.

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

Definition at line 322 of file gridded_fields.cc.


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

Generated on Mon Mar 23 14:06:59 2009 for ARTS by  doxygen 1.5.6