clean up whitespaces

This commit is contained in:
danielque
2017-08-23 17:36:22 +02:00
parent dd2e21be64
commit bce10d17c1

View File

@ -78,18 +78,19 @@ fileName IOModel::createLagrangianDir(fileName path) const
fileName IOModel::buildFilePath(word dirName) const fileName IOModel::buildFilePath(word dirName) const
{ {
// create file structure // create file structure
fileName path(""); fileName path("");
if(parOutput_) if(parOutput_)
{ {
path=fileName(particleCloud_.mesh().time().path()/particleCloud_.mesh().time().timeName()/dirName/"particleCloud"); path = fileName(particleCloud_.mesh().time().path()/particleCloud_.mesh().time().timeName()/dirName/"particleCloud");
mkDir(path,0777); mkDir(path,0777);
} else }
else
{ {
path=fileName("."/dirName); path = fileName("."/dirName);
mkDir(path,0777); mkDir(path,0777);
mkDir(fileName(path/"constant"),0777); mkDir(path/"constant",0777);
OFstream stubFile(path/"particles.foam"); OFstream stubFile(path/"particles.foam");
} }
return path; return path;
} }