if (runTime.outputTime()) { OFstream gradPFile ( runTime.path()/runTime.timeName()/"gradP.raw" ); if(gradPFile.good()) { gradPFile << gradP << endl; } else { FatalErrorIn(args.executable()) << "Cannot open file " << runTime.path()/runTime.timeName()/"gradP.raw" << exit(FatalError); }; };