PeriLab.jl icon indicating copy to clipboard operation
PeriLab.jl copied to clipboard

[Feature]: Allow IDs as properties

Open CWillberg opened this issue 1 year ago • 1 comments

What are you trying to do and how would you want to do it differently?

I would like to define properties in yaml and link it to point depended parameter in the mesh file.

Is it something you currently cannot do? Is this related to an issue/problem?

Currently this is done partially for elastic constants in the function get_all_elastic_moduli

Implementation details

Parameter: "Mesh ID"

e.g. Bulk Modulus: "Bulk_Modulus"

All property values have to be used as point wise defined values.

check if something like a virtual vector is possible for scalar defined values

Would you be willing to submit a PR?

Yes

CWillberg avatar Aug 15 '24 08:08 CWillberg

https://github.com/JuliaArrays/FillArrays.jl

CWillberg avatar Aug 15 '24 08:08 CWillberg