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

Helper functions for min, max, etc.. of a field #309

Open landinjm opened 1 week ago

landinjm commented 1 week ago

On the google group there have been a few questions asking about calculating the minimum or maximum of a field to use in some model.

This is possible, but kinda a pain for a user to implement (have to look at active lanes in vectorized array, communicate between MPI processes, and do it within solveIncrement.cc).

landinjm commented 6 days ago

Also relevant to #312

landinjm commented 3 days ago

To clarify, global min and max

landinjm commented 3 days ago

This would be useful for adaptive time-stepping