directInit Interface

interface
private pure module subroutine directInit(this, array, dims)

Arguments

Type IntentOptional Attributes Name
class(FlatNDData), intent(inout) :: this
real(kind=rk), intent(in), dimension(:) :: array
integer(kind=ik), intent(in), dimension(:) :: dims

Description

Initializes the data based on an already flat array. Requires dimensions/shape to be explicitly passed