Add the OpenFOAM source tree

This commit is contained in:
Henry
2014-12-10 22:40:10 +00:00
parent ee487c860d
commit 446e5777f0
13379 changed files with 3983377 additions and 0 deletions

View File

@ -0,0 +1,15 @@
#include "UniformField.H"
#include "vector.H"
#include "IOstreams.H"
using namespace Foam;
int main()
{
UniformField<scalar> uf1(13.1);
UniformField<vector> uf2(vector(1, 2, 3));
Info<< "uf1 = " << uf1[22] << "; uf2 = " << uf2[1002] << endl;
return 0;
}