Neko 0.9.99
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
time_interpolator::time_interpolator_t Type Reference

Provides a tool to perform interpolation in time. More...

Public Member Functions

procedure, pass(thisinit (this, order)
 Initialize object.
 
procedure, pass(thisfree (this)
 Destructor.
 
procedure, pass(thisinterpolate (this, t, f, t_past, f_past, t_future, f_future)
 Calculate the indicator.
 
procedure, pass(thisinterpolate_scalar (this, t, f_interpolated, f_n, tlag, n)
 Interpolate a velocity field.
 

Public Attributes

integer order
 Order of the interpolation.
 

Detailed Description

Definition at line 47 of file time_interpolator.f90.

Member Function/Subroutine Documentation

◆ free()

procedure, pass(this) time_interpolator::time_interpolator_t::free ( class(time_interpolator_t), intent(inout this)

Definition at line 54 of file time_interpolator.f90.

◆ init()

procedure, pass(this) time_interpolator::time_interpolator_t::init ( class(time_interpolator_t), intent(inout this,
integer, intent(in), target  order 
)
Parameters
orderorder of the interpolation

Definition at line 52 of file time_interpolator.f90.

◆ 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
ttime to get interpolated field
finterpolated field
t_pasttime in the past for interpolation
f_pastfield in the past for interpolation
t_futuretime in future for interpolation
f_futuretime 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
ttime to get interpolated field
f_interpolatedthe interpolated field
f_nan array of known fields
tlagan array of the time steps corresponding to f_n.
nsize of the array
Note
This subroutine is similar to the int_vel subroutine of NEK5000

Definition at line 58 of file time_interpolator.f90.

Member Data Documentation

◆ order

integer time_interpolator::time_interpolator_t::order

Definition at line 49 of file time_interpolator.f90.


The documentation for this type was generated from the following file: