mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: IOobject: make header checking a warning
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -86,7 +86,7 @@ bool Foam::IOobject::readHeader(Istream& is)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
SeriousIOErrorIn("IOobject::readHeader(Istream&)", is)
|
IOWarningIn("IOobject::readHeader(Istream&)", is)
|
||||||
<< "First token could not be read or is not the keyword 'FoamFile'"
|
<< "First token could not be read or is not the keyword 'FoamFile'"
|
||||||
<< nl << nl << "Check header is of the form:" << nl << endl;
|
<< nl << nl << "Check header is of the form:" << nl << endl;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user