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

Function setBad

src/OpenFOAM/db/IOobject/IOobject.C:423–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421
422
423void Foam::IOobject::setBad(const string& s)
424{
425 if (objState_ != GOOD)
426 {
427 FatalErrorInFunction
428 << "Recurrent failure for object " << s
429 << exit(FatalError);
430 }
431
432 if (error::level)
433 {
434 InfoInFunction
435 << "Broken object " << s << info() << endl;
436 }
437
438 objState_ = BAD;
439}
440
441
442void Foam::IOobject::operator=(const IOobject& io)

Callers 10

UIPstream.CFile · 0.85
UOPstream.CFile · 0.85
ISstreamI.HFile · 0.85
ITstream.CFile · 0.85
Istream.CFile · 0.85
readBeginListFunction · 0.85
readEndListFunction · 0.85
IOstreamMethod · 0.85
IFstream.CFile · 0.85
OFstream.CFile · 0.85

Calls 2

exitFunction · 0.50
infoFunction · 0.50

Tested by

no test coverage detected