vtkSurfaceWriter: Changed precision of points to "double" to avoid the error
“Error when reading ascii data. Possible mismatch of datasize with declaration.” Patch contributed by Karl Meredith, FMGlobal
This commit is contained in:
parent
81eec80d5d
commit
f4baa3a864
1 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
|||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
|
|
@ -55,7 +55,7 @@ void Foam::vtkSurfaceWriter::writeGeometry
|
|||
<< "DATASET POLYDATA" << nl;
|
||||
|
||||
// Write vertex coords
|
||||
os << "POINTS " << points.size() << " float" << nl;
|
||||
os << "POINTS " << points.size() << " double" << nl;
|
||||
forAll(points, pointI)
|
||||
{
|
||||
const point& pt = points[pointI];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue