
Houses derivation wrapping a real function with one real array input and one integer parameter
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(FunWrapperDerivation1I1), | intent(inout) | :: | this | |||
| type(RealArray), | intent(in), | dimension(:) | :: | inputArray | ||
| integer(kind=ik), | intent(in), | dimension(:) | :: | indices |
Initialize 1I1 function wrapper derivation
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(FunWrapperDerivation1I1), | intent(inout) | :: | this | |||
| procedure(realArrayFunctionIntParam) | :: | fun | ||||
| integer(kind=ik), | intent(in) | :: | param | |||
| real(kind=rk), | intent(in), | optional | :: | multConst | ||
| real(kind=rk), | intent(in), | optional | :: | multConstInner |
Deallocate pointer component
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(FunWrapperDerivation1I1), | intent(inout) | :: | this |
Wraps single integer parameter and single real array function, passing first index variable as input, optionally multiplying it with a constant before passing
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| logical, | public | :: | userDefined | = | .false. |
True only if user explicitly sets it to true |
|
| integer(kind=ik), | private | :: | param |
Integer parameter |
|||
| real(kind=rk), | private | :: | multConst |
Multiplicative constant - default 1 |
|||
| real(kind=rk), | private | :: | multConstInner |
Multiplicative constant before applying function - default 1 |
|||
| procedure(realArrayFunctionIntParam), | public, | pointer, nopass | :: | funPtr | => | null() |
Wrapped function pointer |
| final :: finalizeWrapper1I1 |
| procedure, public :: isDefined => isDefinedObject | |
| procedure, public :: makeDefined => makeDefinedObject | |
| procedure, public :: makeUndefined => makeUndefinedObject | |
| procedure, public :: init => initWrapper1I1 | |
| procedure, public :: calculate => calculateWrapper1I1 |