mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
clean up whitespaces
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user