kaipartmann / Peridynamics.jl

A Julia package for parallel peridynamics simulations
https://kaipartmann.github.io/Peridynamics.jl/
MIT License
32 stars 7 forks source link

Remove `MultiParamBodyChunk` & add `ParameterHandler` #77

Closed kaipartmann closed 2 months ago

kaipartmann commented 2 months ago

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.