8 lines
197 B
C++
8 lines
197 B
C++
OFstream * filePtr(nullptr);
|
|
|
|
if(Pstream::master())
|
|
{
|
|
filePtr = new OFstream("forceDisp.dat");
|
|
OFstream& forceDispFile = *filePtr;
|
|
forceDispFile << "#Disp(mm)\tForce(N)" << endl;
|
|
}
|