mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: IOWarningIn: use new ..InFunction macros
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2012-2015 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
\\/ M anipulation | Copyright (C) 2016 OpenCFD Ltd.
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
This file is part of OpenFOAM.
|
||||
@ -394,7 +394,7 @@ Foam::cellShapeControlMesh::cellShapeControlMesh(const Time& runTime)
|
||||
false
|
||||
);
|
||||
|
||||
if (io.typeHeaderOk<pointScalarField>())
|
||||
if (io.typeHeaderOk<pointScalarField>(true))
|
||||
{
|
||||
pointScalarField sizes(io, pointMesh::New(mesh));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user