Main Page   Alphabetical List   Compound List   File List   Compound Members   File Members  

GRIB_GRID_spherical_harmonic Class Reference

Spherical Armonic coefficients. More...

#include <GRIB.h>

List of all members.

Public Types

enum  GRIB_GRID_SPECTRAL_REPRESENTATION { SR_associated_legendre_polynomials_first_kind = 1, SR_spherical_harmonics_complex_packing = 2 }
 Representation type. More...

enum  GRIB_GRID_COEFFICIENT_STORAGE_METHOD { CSM_normal = 1, CSM_complex = 2 }
 Coefficient storage method. More...


Public Methods

void set (int J, int K, int M, int rt, int csm)
 Set grid parameters.


Public Attributes

enum GRIB_GRID_spherical_harmonic::GRIB_GRID_SPECTRAL_REPRESENTATION representation
 Representation type.

enum GRIB_GRID_spherical_harmonic::GRIB_GRID_COEFFICIENT_STORAGE_METHOD storage_method
 Coefficient storage method.

int J
 Pentagonal resolution parameter (truncation NJ).

int K
 Pentagonal resolution parameter (truncation NK).

int M
 Pentagonal resolution parameter (truncation NM).


Friends

std::ostream & operator<< (std::ostream &os, GRIB_GRID_spherical_harmonic &g)
 Overloaded output to stream.


Detailed Description

Spherical Armonic coefficients.

Definition at line 715 of file GRIB.h.


Member Enumeration Documentation

enum GRIB_GRID_spherical_harmonic::GRIB_GRID_COEFFICIENT_STORAGE_METHOD
 

Coefficient storage method.

Enumeration values:
CSM_normal 
CSM_complex 

Definition at line 733 of file GRIB.h.

enum GRIB_GRID_spherical_harmonic::GRIB_GRID_SPECTRAL_REPRESENTATION
 

Representation type.

Enumeration values:
SR_associated_legendre_polynomials_first_kind 
SR_spherical_harmonics_complex_packing 

Definition at line 726 of file GRIB.h.


Member Function Documentation

void GRIB_GRID_spherical_harmonic::set int    J,
int    K,
int    M,
int    rt,
int    csm
 

Set grid parameters.

Parameters:
J:  J pentagonal resolution parameter
K:  K pentagonal resolution parameter
M:  M pentagonal resolution parameter
rt:  Representation type
csm:  Coefficient storage method

Definition at line 1125 of file GRIB.cpp.

References J, K, M, representation, and storage_method.

Referenced by GRIB_GRID::Decode(), and GRIB_GRID::set_spherical_harmonic().


Friends And Related Function Documentation

std::ostream& operator<< std::ostream &    os,
GRIB_GRID_spherical_harmonic &    g
[friend]
 

Overloaded output to stream.

Definition at line 1135 of file GRIB.cpp.


Member Data Documentation

int GRIB_GRID_spherical_harmonic::J
 

Pentagonal resolution parameter (truncation NJ).

Definition at line 740 of file GRIB.h.

Referenced by GRIB_GRID::Encode(), operator<<(), set(), and GRIB_MESSAGE::set_grid().

int GRIB_GRID_spherical_harmonic::K
 

Pentagonal resolution parameter (truncation NK).

Definition at line 742 of file GRIB.h.

Referenced by GRIB_GRID::Encode(), operator<<(), set(), and GRIB_MESSAGE::set_grid().

int GRIB_GRID_spherical_harmonic::M
 

Pentagonal resolution parameter (truncation NM).

Definition at line 744 of file GRIB.h.

Referenced by GRIB_GRID::Encode(), operator<<(), set(), and GRIB_MESSAGE::set_grid().

enum GRIB_GRID_spherical_harmonic::GRIB_GRID_SPECTRAL_REPRESENTATION GRIB_GRID_spherical_harmonic::representation
 

Representation type.

Referenced by GRIB_GRID::Encode(), operator<<(), set(), and GRIB_MESSAGE::set_grid().

enum GRIB_GRID_spherical_harmonic::GRIB_GRID_COEFFICIENT_STORAGE_METHOD GRIB_GRID_spherical_harmonic::storage_method
 

Coefficient storage method.

Referenced by GRIB_GRID::Encode(), operator<<(), set(), and GRIB_MESSAGE::set_grid().


The documentation for this class was generated from the following files:
Generated on Fri Sep 10 09:52:08 2004 for GRIBLIB by doxygen1.2.18