iFEM is a MATLAB software package containing robust, efficient, and easy-following codes for the main building blocks of adaptive finite element methods on unstructured simplicial grids in both two and three dimensions.
@lyc102 noticed that the coarsening using eleminterpolate was not exactly conservative. So added a line to eleminterploate to update the value of the quantity on the coarsened element as the average of the values on the two child elements.
Hi, @stoiver I noticed Long @lyc102 already fixed this issue instead of merging this pull request. So I shall close this, and you can use git fetch upstream to sync your fork.
@lyc102 noticed that the coarsening using eleminterpolate was not exactly conservative. So added a line to eleminterploate to update the value of the quantity on the coarsened element as the average of the values on the two child elements.