Home
Downloads
Documentation
Installation
User Guide
man-pages
API Documentation
README
Release Notes
Changes
License
Support
SourceForge Project
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
applications
utilities
postProcessing
dataConversion
foamToFieldview9
moveMesh.H
Go to the documentation of this file.
1
2
//
3
// Check if new points (so moving mesh)
4
//
5
{
6
IOobject pointsHeader
7
(
8
"points"
,
9
runTime.timeName(),
10
polyMesh::defaultRegion,
11
runTime
12
);
13
if
(pointsHeader.headerOk())
14
{
15
// points exists for time step, let's read them
16
Info
<<
" Points file detected - updating points"
<<
endl
;
17
18
// Reading new points
19
pointIOField
newPoints
20
(
21
IOobject
22
(
23
"points"
,
24
runTime.timeName(),
25
polyMesh::defaultRegion,
26
mesh
,
27
IOobject::MUST_READ,
28
IOobject::NO_WRITE
29
)
30
);
31
32
mesh
.polyMesh::movePoints(newPoints);
33
}
34
}