![]() |
ETS-Core
version:0.0.4-46-ge2d8
Core actors for the ETS-6
|
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... | |
Interpolations, derivatives and integrals of 1d functions. Includes wrappers to L3INTERP, L3DERIV and INTERPOS.
Definition at line 3 of file interpolations.f90.
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.
[in] | xin | Independent coordinate |
[in] | yin | Function of the independent coordinate |
Definition at line 207 of file interpolations.f90.
References integral().
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().
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 | ||
) |
Definition at line 120 of file interpolations.f90.
Referenced by convert::convert_ids_to_internal_types(), database_profiles_and_bc::update_interpretive_bc(), and database_profiles_and_bc::update_interpretive_profiles().
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().
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().
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.
[in] | yin | Input ordinate |
[in] | xin | Input abscissa |
[out] | yout | Output ordinate |
[in] | xout | Output abscissa |
[in] | nin | The number input grid points |
[in] | nout | The 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().