1 #include "primitiveFields.H"
10 const label nIter = 100;
11 const label size = 1000000;
13 Info<< "Initialising fields" << endl;
16 vf1(size, vector::one),
17 vf2(size, vector::one),
18 vf3(size, vector::one),
21 Info<< "Done\n" << endl;
24 cpuTime executionTime;
26 Info<< "vectorField algebra" << endl;
28 for (register int j=0; j<nIter; j++)
30 vf4 = vf1 + vf2 - vf3;
33 Info<< "ExecutionTime = "
34 << executionTime.elapsedCpuTime()
37 Snull<< vf4[1] << endl << endl;