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

Moving AMR methods to a composition class #214

Closed landinjm closed 2 months ago

landinjm commented 3 months ago

In these commits, all AMR methods and variables were moved into a separate class. This class is then initialized in matrixFreePDE and accessed whenever necessary.

The goal of this and future composition classes is to reduce the bulkiness of the matrixFreePDE class and increase the compartmentalization of the code. This way the barrier of entry for future & current developers is lower since less spaghetti code has to be understood.