exasim-project / NeoFOAM

WIP Prototype of a modern CFD core
26 stars 3 forks source link

Arithmetic Assignment Operators for Fields #30

Closed bevanwsjones closed 2 months ago

bevanwsjones commented 6 months ago

Currently, what is a bit limiting when prototyping is the lack of basic assignment operators. The goal is 2 fold:

Define in Field.h += and -= operators. Redefine + and - operators in terms of these ops. Test.