3-D twin of update_2d.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ocean_data_input_t), | intent(in) | :: | this | |||
| integer, | intent(in) | :: | id | |||
| real(kind=wp), | intent(in) | :: | t | |||
| integer, | intent(in) | :: | n1 | |||
| integer, | intent(in) | :: | n2 | |||
| integer, | intent(in) | :: | n3 | |||
| real(kind=wp), | intent(inout) | :: | dest(n1,n2,n3) |
subroutine ocean_data_input_update_3d(this, id, t, n1, n2, n3, dest) !! 3-D twin of `update_2d`. class(ocean_data_input_t), intent(in) :: this integer, intent(in) :: id, n1, n2, n3 real(wp), intent(in) :: t real(wp), intent(inout) :: dest(n1, n2, n3) call check_registered(this, id, is_3d=.true., n1=n1, n2=n2, n3=n3) call check_fresh(this, id, t) call data_input_blend_3d_impl(this%fields(id)%nx, this%fields(id)%ny, this%fields(id)%nz, & n1, n2, n3, & this%fields(id)%dest_i0, this%fields(id)%dest_j0, & this%fields(id)%f0, this%fields(id)%f1, & this%fields(id)%w, dest) end subroutine ocean_data_input_update_3d