Closed rchristie closed 3 years ago
Thanks Alan. FYI the main numerical operator derivative tests are already in the main codebase, see: https://github.com/OpenCMISS/zinc/blob/develop/tests/fieldmodule/numerical_operators.cpp Also some higher derivative tests here: https://github.com/OpenCMISS/zinc/blob/develop/tests/fieldmodule/field_operator_derivatives.cpp Add div of grad tested in TEST(cmzn_fieldmodule_create_field_divergence, grad_mag): https://github.com/OpenCMISS/zinc/blob/develop/tests/fieldmodule/create_derivatives.cpp
Separate evaluation of derivatives from value with independent cache counters. Implement some direct higher derivative evaluations. Improved efficiency of cache validation during modifications.