GField4 Class Reference

#include <gridded_fields.h>

Inheritance diagram for GField4:

Inheritance graph
[legend]
Collaboration diagram for GField4:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Friends

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


Detailed Description

Definition at line 298 of file gridded_fields.h.


Constructor & Destructor Documentation

GField4::GField4 (  )  [inline]

Construct an empty GField4.

Definition at line 302 of file gridded_fields.h.

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

Construct an empty GField4 with the given name.

Parameters:
[in] s Name.

Definition at line 305 of file gridded_fields.h.


Member Function Documentation

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

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

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

Make this GField4 the same size as the given one.

Parameters:
[in] gf Source gridded field.

Definition at line 323 of file gridded_fields.h.

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

Referenced by atm_fields_compactAddConstant(), and atm_fields_compactFromMatrix().

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

Resize the data tensor.

See also:
Tensor4::resize

Reimplemented from Tensor4.

Definition at line 333 of file gridded_fields.h.

References Tensor4::resize().


Friends And Related Function Documentation

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

Output operator for GField4.

Outputs the given GField4.

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

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