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 {
00002     IOobject ioPoints
00003     (
00004         "points",
00005         runTime.timeName(),
00006         polyMesh::meshSubDir,
00007         mesh
00008     );
00009 
00010     if (ioPoints.headerOk())
00011     {
00012         // Reading new points
00013         pointIOField newPoints
00014         (
00015             IOobject
00016             (
00017                 "points",
00018                 mesh.time().timeName(),
00019                 polyMesh::meshSubDir,
00020                 mesh,
00021                 IOobject::MUST_READ,
00022                 IOobject::NO_WRITE
00023             )
00024         );
00025 
00026         mesh.movePoints(newPoints);
00027     }
00028 }
00029 
00030 // ************************ vim: set sw=4 sts=4 et: ************************ //
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines