Changes between Version 2 and Version 3 of PDAFomi_get_interp_coeff_lin


Ignore:
Timestamp:
Dec 18, 2021, 1:57:57 PM (9 months ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PDAFomi_get_interp_coeff_lin

    v2 v3  
    2020'''Notes:'''
    2121 * It is required that num_gp=2 for n_dim=1; num_gp=4 for n_dim=2; num_gp=8 for n_dim=3.
    22  * In the array `gcoords`, the first index specifies the grid point while the second specifies the coordinate, thus `gcoords(1,1)` is the first coordinate for grid point 1, `gcoords(1,2)` is the second coordiate for grid point 1, while `gcoords(2,1)` is the first coordiate for grid point 2. The coordinates need to be consistent with the indices specified in `thisobs%id_obs_p` since these specify the elements of the state vector that are interpolated. Only the first `n_dim` entries of ocoord will be used for the interpolation.
     22 * In the array `gcoords`, the first index specifies the grid point while the second specifies the coordinate. Thus, `gcoords(1,1)` is the first coordinate for grid point 1, `gcoords(1,2)` is the second coordiate for grid point 1, while `gcoords(2,1)` is the first coordiate for grid point 2. The coordinates need to be consistent with the indices specified in `thisobs%id_obs_p` since these specify the elements of the state vector that are interpolated. Only the first `n_dim` entries of ocoord will be used for the interpolation.
    2323 * `ocoord(:,i)` holds the list of the coordinates for the observation with index i (different from the use in `gcoords`)
    2424 * The order of the coordinates and coefficients is the following: