MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / headerOk

Function headerOk

src/OpenFOAM/db/regIOobject/regIOobject.C:423–441  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421
422
423bool Foam::regIOobject::headerOk()
424{
425 // Note: Should be consistent with IOobject::typeHeaderOk(false)
426
427 bool ok = true;
428
429 fileName fName(filePath());
430
431 ok = Foam::fileHandler().readHeader(*this, fName, type());
432
433 if (!ok && IOobject::debug)
434 {
435 IOWarningInFunction(fName)
436 << "failed to read header of file " << objectPath()
437 << endl;
438 }
439
440 return ok;
441}
442
443
444void Foam::regIOobject::operator=(const IOobject& io)

Callers 15

fvSchemes.CFile · 0.85
readModifiersFunction · 0.85
IOmapDistribute.CFile · 0.85
polyBoundaryMesh.CFile · 0.85
ZoneMesh.CFile · 0.85
solution.CFile · 0.85
IOList.CFile · 0.85
IOMap.CFile · 0.85
CompactIOList.CFile · 0.85
IOField.CFile · 0.85

Calls 2

fileHandlerFunction · 0.85
typeEnum · 0.50

Tested by

no test coverage detected