mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: 80 char lines.
This commit is contained in:
@ -347,7 +347,8 @@ void ReadProblem
|
||||
char* name = new char[size + 1];
|
||||
CCMIOReadOptstr(NULL, boundary, "BoundaryName", &size, name);
|
||||
name[size] = '\0';
|
||||
foamPatchNames[foamPatchI] = string::validate<word>(string(name));
|
||||
foamPatchNames[foamPatchI] =
|
||||
string::validate<word>(string(name));
|
||||
delete [] name;
|
||||
}
|
||||
else if
|
||||
@ -359,7 +360,8 @@ void ReadProblem
|
||||
char* name = new char[size + 1];
|
||||
CCMIOReadOptstr(NULL, boundary, "Label", &size, name);
|
||||
name[size] = '\0';
|
||||
foamPatchNames[foamPatchI] = string::validate<word>(string(name));
|
||||
foamPatchNames[foamPatchI] =
|
||||
string::validate<word>(string(name));
|
||||
delete [] name;
|
||||
}
|
||||
else
|
||||
@ -641,7 +643,13 @@ int main(int argc, char *argv[])
|
||||
// in NULL (which always means kCCMIONoErr) and then assign the return
|
||||
// value to 'err'.).
|
||||
CCMIOID root;
|
||||
CCMIOError err = CCMIOOpenFile(NULL, ccmFile.c_str(), kCCMIORead, &root);
|
||||
CCMIOError err = CCMIOOpenFile
|
||||
(
|
||||
NULL,
|
||||
ccmFile.c_str(),
|
||||
kCCMIORead,
|
||||
&root
|
||||
);
|
||||
|
||||
// We are going to assume that we have a state with a known name.
|
||||
// We could instead use CCMIONextEntity() to walk through all the
|
||||
|
||||
@ -236,7 +236,9 @@ void storeCellInZone
|
||||
// Reads mesh format
|
||||
scalar readMeshFormat(IFstream& inFile)
|
||||
{
|
||||
Info<< "Starting to read mesh format at line " << inFile.lineNumber() << endl;
|
||||
Info<< "Starting to read mesh format at line "
|
||||
<< inFile.lineNumber()
|
||||
<< endl;
|
||||
|
||||
string line;
|
||||
inFile.getLine(line);
|
||||
@ -1086,4 +1088,3 @@ int main(int argc, char *argv[])
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
|
||||
Reference in New Issue
Block a user