mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: add field operations for complex (#1365)
This commit is contained in:
committed by
Andrew Heather
parent
53392d5a05
commit
78ce269a52
@ -108,6 +108,7 @@ int main(int argc, char *argv[])
|
||||
Info<< "sin: " << sin(fld1) << nl;
|
||||
|
||||
Info<< "operator + : " << (fld1 + fld2) << nl;
|
||||
Info<< "operator + : " << (fld1 + fld2 + complex(1,0)) << nl;
|
||||
|
||||
// Some operators are still incomplete
|
||||
|
||||
|
||||
Reference in New Issue
Block a user