GField1 Class Reference

#include <gridded_fields.h>

Inheritance diagram for GField1:

Inheritance graph
[legend]
Collaboration diagram for GField1:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 GField1 ()
 Construct an empty GField1.
 GField1 (const String s)
 Construct an empty GField1 with the given name.
virtual bool checksize () const
 Consistency check.
void resize (const GField1 &gf)
 Make this GField1 the same size as the given one.
void resize (Index n)
 Resize the data vector.

Friends

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


Detailed Description

Definition at line 171 of file gridded_fields.h.


Constructor & Destructor Documentation

GField1::GField1 (  )  [inline]

Construct an empty GField1.

Definition at line 175 of file gridded_fields.h.

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

Construct an empty GField1 with the given name.

Parameters:
[in] s Name.

Definition at line 178 of file gridded_fields.h.


Member Function Documentation

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

References GField::get_grid_size(), and ConstVectorView::nelem().

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

Make this GField1 the same size as the given one.

Parameters:
[in] gf Source gridded field.

Definition at line 193 of file gridded_fields.h.

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

void GField1::resize ( Index  n  )  [inline]

Resize the data vector.

See also:
Vector::resize

Reimplemented from Vector.

Definition at line 200 of file gridded_fields.h.

References Vector::resize().


Friends And Related Function Documentation

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

Output operator for GField1.

Outputs the given GField1.

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

Definition at line 308 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