ETS-Core  version:0.0.4-46-ge2d8
Core actors for the ETS-6
 All Classes Files Functions Variables Pages
Public Member Functions | List of all members
interpolations Module Reference

Interpolations, derivatives and integrals of 1d functions. Includes wrappers to L3INTERP, L3DERIV and INTERPOS. More...

Public Member Functions

subroutine lininterp (YIN, XIN, NIN, YOUT, XOUT, NOUT)
 Linear interpolatation and constant extrapolation. The input function is YIN given at XIN and with length NIN. The output, YOUT, is the interpolation of YIN at the points XOUT. The lengths of YOUT and YIN are NOUT. More...
 
subroutine linderiv (YIN, XIN, NIN, YOUT, XOUT, NOUT)
 Use linear interpolatation to calculate the derivatives YOUT at XOUT,. More...
 
subroutine linderiv_pointer (YIN, XIN, YOUT, XOUT)
 Use linear interpolatation to calculate the derivatives YOUT at XOUT,. More...
 
subroutine l3interp_pointer (YIN, XIN, YOUT, XOUT)
 
subroutine l3interp_alloc (YIN, XIN, YOUT, XOUT)
 Interpolate YIN(XIN) using L3INTERP, but the input arrays are allocatables. More...
 
subroutine l3deriv_pointer (YIN, XIN, YOUT, XOUT)
 Calculate the derivative of YIN(XIN) using L3INTERP, but the input arrays are pointers. More...
 
subroutine l3deriv_alloc (YIN, XIN, YOUT, XOUT)
 Calculate the derivative of YIN(XIN) using L3INTERP, but the input arrays are allocatables. More...
 
REAL(IDS_REAL) function integral (XIN, YIN)
 The integral YIN(XIN) over the full range of XIN. More...
 

Detailed Description

Interpolations, derivatives and integrals of 1d functions. Includes wrappers to L3INTERP, L3DERIV and INTERPOS.

Definition at line 3 of file interpolations.f90.

Member Function/Subroutine Documentation

REAL(IDS_REAL) function interpolations::integral ( real(ids_real), dimension(:), intent(in)  XIN,
real(ids_real), dimension(:), intent(in)  YIN 
)

The integral YIN(XIN) over the full range of XIN.

Parameters
[in]xinIndependent coordinate
[in]yinFunction of the independent coordinate

Definition at line 207 of file interpolations.f90.

References integral().

Here is the call graph for this function:

subroutine interpolations::l3deriv_alloc ( real(8), dimension(:), intent(in), allocatable  YIN,
real(8), dimension(:), intent(in), allocatable  XIN,
real(8), dimension(:), intent(out)  YOUT,
real(8), dimension(:), intent(in)  XOUT 
)

Calculate the derivative of YIN(XIN) using L3INTERP, but the input arrays are allocatables.

Definition at line 186 of file interpolations.f90.

subroutine interpolations::l3deriv_pointer ( real(8), dimension(:), intent(in), pointer  YIN,
real(8), dimension(:), intent(in), pointer  XIN,
real(8), dimension(:), intent(out)  YOUT,
real(8), dimension(:), intent(in)  XOUT 
)

Calculate the derivative of YIN(XIN) using L3INTERP, but the input arrays are pointers.

Definition at line 164 of file interpolations.f90.

Referenced by convert::convert_ids_to_internal_types().

Here is the caller graph for this function:

subroutine interpolations::l3interp_alloc ( real(8), dimension(:), intent(in), allocatable  YIN,
real(8), dimension(:), intent(in), allocatable  XIN,
real(8), dimension(:), intent(out)  YOUT,
real(8), dimension(:), intent(in)  XOUT 
)

Interpolate YIN(XIN) using L3INTERP, but the input arrays are allocatables.

Definition at line 142 of file interpolations.f90.

subroutine interpolations::l3interp_pointer ( real(8), dimension(:), intent(in), pointer  YIN,
real(8), dimension(:), intent(in), pointer  XIN,
real(8), dimension(:), intent(out)  YOUT,
real(8), dimension(:), intent(in)  XOUT 
)
subroutine interpolations::linderiv ( real(8), dimension(nin), intent(in)  YIN,
real(8), dimension(nin), intent(in)  XIN,
integer, intent(in)  NIN,
real(8), dimension(nout), intent(out)  YOUT,
real(8), dimension(nout), intent(in)  XOUT,
integer, intent(in)  NOUT 
)

Use linear interpolatation to calculate the derivatives YOUT at XOUT,.

Definition at line 63 of file interpolations.f90.

Referenced by linderiv_pointer().

Here is the caller graph for this function:

subroutine interpolations::linderiv_pointer ( real(8), dimension(:), intent(in), pointer  YIN,
real(8), dimension(:), intent(in), pointer  XIN,
real(8), dimension(:), intent(out)  YOUT,
real(8), dimension(:), intent(in)  XOUT 
)

Use linear interpolatation to calculate the derivatives YOUT at XOUT,.

Definition at line 100 of file interpolations.f90.

References linderiv().

Referenced by database_profiles_and_bc::update_interpretive_bc().

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine interpolations::lininterp ( real(8), dimension(nin), intent(in)  YIN,
real(8), dimension(nin), intent(in)  XIN,
integer, intent(in)  NIN,
real(8), dimension(nout), intent(out)  YOUT,
real(8), dimension(nout), intent(in)  XOUT,
integer, intent(in)  NOUT 
)

Linear interpolatation and constant extrapolation. The input function is YIN given at XIN and with length NIN. The output, YOUT, is the interpolation of YIN at the points XOUT. The lengths of YOUT and YIN are NOUT.

Parameters
[in]yinInput ordinate
[in]xinInput abscissa
[out]youtOutput ordinate
[in]xoutOutput abscissa
[in]ninThe number input grid points
[in]noutThe number output grid points

Definition at line 16 of file interpolations.f90.

Referenced by convert::convert_ids_to_internal_types(), and transport_combiner_tools::interpolate_transport_coefficients().

Here is the caller graph for this function:


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