FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

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 }
00028 
00029 // ************************ vim: set sw=4 sts=4 et: ************************ //
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines