cmlibs / zinc

Source code repository for OpenCMISS-Zinc
Mozilla Public License 2.0
15 stars 18 forks source link

Track field changes to allow cache optimisations #251

Open rchristie opened 1 year ago

rchristie commented 1 year ago

The FindMeshLocation field relies on a cache of host coordinate ranges which currently isn't built and used if that field is marked as changed. If Zinc could track the state e.g. a change counter, at which the field (or any fields it depends on) were last changed relative to when the the coordinates range was built, the optimisation could be used even during begin/end change with active modifications on the field.