prisms-center / phaseField

PRISMS-PF: An Open-Source Phase-Field Modeling Framework
https://prisms-center.github.io/phaseField/
Other
229 stars 120 forks source link

Helper function for converting `std::vector` into `Tensor<VectorizedArray>` #274

Open landinjm opened 1 month ago

landinjm commented 1 month ago

Add a helper function that does this, so it is easier to specify vector or tensor values in parameter files.

This, way we don't waste space and computation reconstructing a vector/tensor each time.