MultiParamBodyChunk was just intended for performance gains if only one set of material parameters is defined for the whole body. But this is irrelevant and not needed, since s.field is as fast as first(s.vec_of_fields).
Instead a ParameterHandler{NParams} should be added to BodyChunk.
MultiParamBodyChunk
was just intended for performance gains if only one set of material parameters is defined for the whole body. But this is irrelevant and not needed, sinces.field
is as fast asfirst(s.vec_of_fields)
.Instead a
ParameterHandler{NParams}
should be added toBodyChunk
.