ucar.unidata.util
Class GaussianLatitudes

java.lang.Object
  extended by ucar.unidata.util.GaussianLatitudes

public class GaussianLatitudes
extends Object

Calculate Gaussian Latitudes by finding the roots of the ordinary Legendre polynomial of degree NLAT using Newton's iteration method.

Author:
caron port to Java, Amy Solomon, 28 Jan 1991, via http://dss.ucar.edu/libraries/gridinterps/gaus-lats.f

Field Summary
 double[] colat
           
 double[] cosc
           
 double[] gaussw
           
 double[] latd
           
 double[] sinc
           
 double[] wos2
           
 
Constructor Summary
GaussianLatitudes(int nlat)
          Constructor
 
Method Summary
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cosc

public double[] cosc

colat

public double[] colat

gaussw

public double[] gaussw

latd

public double[] latd

sinc

public double[] sinc

wos2

public double[] wos2
Constructor Detail

GaussianLatitudes

public GaussianLatitudes(int nlat)
Constructor

Parameters:
nlat - the total number of latitudes from pole to pole (degree of the polynomial)
Method Detail

main

public static void main(String[] args)


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.