What Is This
This repository includes basic sketches of how FieldCollection objects and FieldDescriptor objects might look inside Enzo.
Once the tests pass and we have a reasonable amount of code coverage for tests as well as functionality, this can be brought in to Enzo.
What Fields Should Have
- Left Edge (integers)
- Interpolation Type
What Fields Should Do
- Copy Overlapping
- Binary math operations (add, sub, mul)
- Unary math operations (min, max)
- Convert to CGS
This repository will include .h and .C files that represent in-progress working sketches of the field and field descriptor objects. In the directory tests/ will be test files, using GoogleTest. For the latest GoogleTest, visit
This might be it:
For ease of use, we suggest compiling and then symbolically linking the compile directory here as gtest -- i.e.,
ln -s /path/to/gtest-1.6.0 gtest
You can run the tests with: