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

Add constant field types #290

Open landinjm opened 2 weeks ago

landinjm commented 2 weeks ago

Add a constant field type for spatially varying but time invariant fields.

This way we don't have to update a field at every time step (just when we adapt the mesh with solution transfer)

landinjm commented 2 weeks ago

Here's an old commit that did that. Just have to port the code to the most recent version: https://github.com/prisms-center/phaseField/pull/203/commits/6195c3c07a5a708688c5b92255c10093706fe0f5