cmlibs / zinc

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

Higher derivatives #158

Closed rchristie closed 3 years ago

rchristie commented 3 years ago

Separate evaluation of derivatives from value with independent cache counters. Implement some direct higher derivative evaluations. Improved efficiency of cache validation during modifications.

rchristie commented 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