Provides a tool to perform interpolation in time.
More...
|
procedure, pass(this) | init (this, order) |
| Initialize object.
|
|
procedure, pass(this) | free (this) |
| Destructor.
|
|
procedure, pass(this) | interpolate (this, t, f, t_past, f_past, t_future, f_future) |
| Calculate the indicator.
|
|
procedure, pass(this) | interpolate_scalar (this, t, f_interpolated, f_n, tlag, n) |
| Interpolate a velocity field.
|
|
Definition at line 47 of file time_interpolator.f90.
◆ free()
◆ init()
◆ interpolate()
procedure, pass(this) time_interpolator::time_interpolator_t::interpolate |
( |
class(time_interpolator_t), intent(inout) |
this, |
|
|
real(kind=rp), intent(inout) |
t, |
|
|
type(field_t), intent(inout) |
f, |
|
|
real(kind=rp), intent(inout) |
t_past, |
|
|
type(field_t), intent(inout) |
f_past, |
|
|
real(kind=rp), intent(inout) |
t_future, |
|
|
type(field_t), intent(inout) |
f_future |
|
) |
| |
- Parameters
-
t | time to get interpolated field |
f | interpolated field |
t_past | time in the past for interpolation |
f_past | field in the past for interpolation |
t_future | time in future for interpolation |
f_future | time in future for interpolation |
Definition at line 56 of file time_interpolator.f90.
◆ interpolate_scalar()
procedure, pass(this) time_interpolator::time_interpolator_t::interpolate_scalar |
( |
class(time_interpolator_t), intent(inout) |
this, |
|
|
real(kind=rp), intent(in) |
t, |
|
|
real(kind=rp), dimension(n), intent(inout) |
f_interpolated, |
|
|
real(kind=rp), dimension(n, 0:this%order - 1), intent(in) |
f_n, |
|
|
real(kind=rp), dimension(0:this%order), intent(in) |
tlag, |
|
|
integer, intent(in) |
n |
|
) |
| |
- Parameters
-
t | time to get interpolated field |
f_interpolated | the interpolated field |
f_n | an array of known fields |
tlag | an array of the time steps corresponding to f_n. |
n | size of the array |
- Note
- This subroutine is similar to the int_vel subroutine of NEK5000
Definition at line 58 of file time_interpolator.f90.
◆ order
integer time_interpolator::time_interpolator_t::order |
The documentation for this type was generated from the following file: