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

Method to compute element volume #269

Closed landinjm closed 1 month ago

landinjm commented 1 month ago

Added a method that compute the element volume and passes it as an input to equations.cc and postprocess.cc just like the quadrature point location. The volumes are recomputed in init.cc and reinit.cc.

This can then be used for nucleation, volume-averaged postprocessing, and stabilization schemes like PSPG & SUPG.