00001 if (runTime.outputTime()) 00002 { 00003 OFstream gradPFile 00004 ( 00005 runTime.path()/runTime.timeName()/"uniform"/"gradP.raw" 00006 ); 00007 00008 if(gradPFile.good()) 00009 { 00010 gradPFile << gradP << endl; 00011 } 00012 else 00013 { 00014 FatalErrorIn(args.executable()) 00015 << "Cannot open file " 00016 << runTime.path()/runTime.timeName()/"uniform"/"gradP.raw" 00017 << exit(FatalError); 00018 }; 00019 }; 00020 00021 // ************************ vim: set sw=4 sts=4 et: ************************ //