GCLgrid :: GCLgrid | classes |
function initialize_1Dscalar | ^ |
Initialize a field with a layered structure.
It is often useful to initialize a 3d field to a depth dependent function. This function uses 1d interpolation to take a 1d function specified in a depth format and project it into all parts of a field. A typical example would be initializing a 3d velocity model in tomography to a 1d starting model.
- Source:
- gclgrid.h:1381
- Author:
- unascribed
- Version:
- unknown
- Params:
field field to to initialized. val1d vector containing field variables at 1d grid points. z1d parallel vector to val1d containing depths (NOT Radius) of the grid points with values stored in the val1d vector. grad vector of gradients (forward looking) of field between 1d grid points. (Use 0.0 for all values for constant val layer models).
- Code:
public void initialize_1Dscalar ( GCLscalarfield3d & field , vector < double > val1d , vector < double > z1d , vector < double > grad )
Created Wed Apr 27 07:05:02 2005.
This documentation was generated automatically by
ccdoc v08r41 2004/09/29 bin_opt_suncc_sun4-solaris-2.8.
Click here to submit a bug report or feature request for ccdoc.
Click here to return to the top of the page.