OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

moveMesh.H

Go to the documentation of this file.
00001 IOobject ioPoints
00002 (
00003     "points", 
00004     runTime.timeName(),
00005     mesh.name(),
00006     mesh
00007 );
00008 
00009 if (ioPoints.headerOk())
00010 {
00011     Info << "new points available" << endl;
00012     // Reading new points
00013     pointIOField newPoints
00014     (
00015         IOobject
00016         (
00017             "points",
00018             runTime.timeName(),
00019             mesh.name(),
00020             mesh,
00021             IOobject::MUST_READ,
00022             IOobject::NO_WRITE
00023         )
00024     );
00025     
00026     mesh.movePoints(newPoints);
00027 }
Copyright © 2000-2009 OpenCFD Ltd