STYLE: 80 char lines.

This commit is contained in:
graham
2010-07-28 16:42:53 +01:00
parent 4d870512a6
commit f26b8c1cc7
24 changed files with 167 additions and 65 deletions

View File

@ -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

View File

@ -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[])
// ************************************************************************* //