prisms-center / phaseField

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

File reading optimization in initialConditions.cc #205

Closed fractalsbyx closed 9 months ago

fractalsbyx commented 9 months ago

Modified initialConditions.cc so that scalar field files containing multiple fields will not be re-opened and read for each field requiring that file.

Previously, if you used a vtk file with 20 fields to assign 20 variables, PRISMS-PF would read all 20 fields 20 times.