|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.sandia.gnem.slbmjni.GridProfile
public class GridProfile
Stores information related to a single node in the Earth model. The information
is retrieved from a C++
GridProfile
object via a call to SlbmInterface.getGridData(int)
and includes the node ID of the grid node, the geographic latitude and longitude
of the grid node, the depths of all model interfaces beneath location of the
grid node, the P and S velocities of each model interval, and the P and S velocity
gradients in the mantle.
Field Summary | |
---|---|
double[] |
depth
The depth of each interface in the model, in km. |
double[] |
gradient
A 2 element array containing the P and S mantle velocity gradients in 1/sec. |
double |
lat
The geographic latitude of the grid node, in radians. |
double |
lon
The geographic longitude of the grid node, in radians. |
int |
nodeId
The node ID of this node in the grid. |
double[][] |
velocity
A 2 x nIntervals array containing the P and S velocities of each interval of the earth model encountered at this horizontal position, in km/sec. |
Constructor Summary | |
---|---|
GridProfile()
|
Method Summary | |
---|---|
java.lang.String |
getLatLon()
|
int |
getNIntervals()
Retrieve the number of intervals in this GridProfile, including zero thickness intervals. |
java.lang.String |
toString()
Retrieve a formatted String representation of the information in this GridProfile object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int nodeId
public double lat
public double lon
public double[] depth
public double[][] velocity
public double[] gradient
Constructor Detail |
---|
public GridProfile()
Method Detail |
---|
public java.lang.String getLatLon()
public int getNIntervals()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |