Open
Description
We want to use a NamedArrayPartition as our u0 in a problem to replace a DEDataArray which we used (for not much good reason) and NamedArrayPartitions have the functionality we really want. However we need to be able to multiple dispatch on the 'type' of u0 we build (aka the fields we have assigned) and therefore want to use NamedArrayPartition as a supertype to subtype from. Something like the below:
mutable struct test_struct <: NamedArrayPartition
x :: Vector{Real}
y :: Matrix{Real}
z :: AnyothersupportedtypebyNamedArrayPartition
end
Metadata
Metadata
Assignees
Labels
No labels