lin_interpnd_derivation_class Module

Houses derivation that linearly interpolates on multidimensional data based on some input variable values.


Used by


Interfaces

interface

  • private module function calculateInterp(this, inputArray, indices) result(output)

    Arguments

    Type IntentOptional Attributes Name
    class(NDInterpolationDerivation), intent(inout) :: this
    type(RealArray), intent(in), dimension(:) :: inputArray
    integer(kind=ik), intent(in), dimension(:) :: indices

    Return Value real(kind=rk), allocatable, dimension(:)

interface


Derived Types

type, public, extends(Derivation) ::  NDInterpolationDerivation

Interpolates n-dimensional data linearly based on n-input variables (must all be the same length)

Components

Type Visibility Attributes Name Initial
logical, public :: userDefined = .false.

True only if user explicitly sets it to true

type(InterpolationND), public, allocatable :: interpObj

n-dimensional interpolation object respnsible for interpolation

type(FlatNDData), public, allocatable :: data

Data to interpolate on

Type-Bound Procedures

procedure, public :: isDefined => isDefinedObject
procedure, public :: makeDefined => makeDefinedObject
procedure, public :: makeUndefined => makeUndefinedObject
procedure, public :: init => initInterpDeriv
procedure, public :: calculate => calculateInterp