mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-12 16:26:23 +00:00
pFlowToVTK is added
- this utility is not complete yet. - geometry should be ajusted to be converted separately
This commit is contained in:
@ -281,6 +281,15 @@ pFlow::fileSystem pFlow::operator /
|
||||
|
||||
}
|
||||
|
||||
pFlow::fileSystem pFlow::operator /
|
||||
(
|
||||
const fileSystem& fs1,
|
||||
const word& dir2
|
||||
)
|
||||
{
|
||||
return fs1/fileSystem(dir2, "");
|
||||
}
|
||||
|
||||
pFlow::fileSystem pFlow::operator +
|
||||
(
|
||||
const fileSystem& fs1,
|
||||
|
@ -50,7 +50,13 @@ fileSystem operator /
|
||||
(
|
||||
const fileSystem& fs1,
|
||||
const fileSystem& fs2
|
||||
);
|
||||
);
|
||||
|
||||
fileSystem operator /
|
||||
(
|
||||
const fileSystem& fs1,
|
||||
const word& dir2
|
||||
);
|
||||
|
||||
fileSystem operator +
|
||||
(
|
||||
|
@ -117,6 +117,15 @@ pFlow::timeControl::timeControl(
|
||||
checkForOutputToFile();
|
||||
}
|
||||
|
||||
pFlow::real pFlow::timeControl::setTime(real t)
|
||||
{
|
||||
real tmp = currentTime_;
|
||||
currentTime_ = t;
|
||||
lastSaved_ = t;
|
||||
checkForOutputToFile();
|
||||
return tmp;
|
||||
}
|
||||
|
||||
pFlow::word pFlow::timeControl::timeName()const
|
||||
{
|
||||
if(managedExternaly_)
|
||||
@ -167,8 +176,6 @@ void pFlow::timeControl::checkForOutputToFile()
|
||||
}
|
||||
|
||||
outputToFile_ = save;
|
||||
|
||||
|
||||
}
|
||||
|
||||
bool pFlow::timeControl::timersReportTime()const
|
||||
|
@ -108,14 +108,8 @@ public:
|
||||
return dt_;
|
||||
}
|
||||
|
||||
real setTime(real t)
|
||||
{
|
||||
real tmp = currentTime_;
|
||||
currentTime_ = t;
|
||||
lastSaved_ = t;
|
||||
checkForOutputToFile();
|
||||
return tmp;
|
||||
}
|
||||
real setTime(real t);
|
||||
|
||||
|
||||
void setStopAt(real sT)
|
||||
{
|
||||
|
@ -31,7 +31,6 @@ Licence:
|
||||
#include "types.hpp"
|
||||
#include "Time.hpp"
|
||||
#include "fileDictionary.hpp"
|
||||
#include "box.hpp"
|
||||
#include "Timers.hpp"
|
||||
#include "dynamicLinkLibs.hpp"
|
||||
#include "Set.hpp"
|
||||
@ -176,11 +175,6 @@ public:
|
||||
return settingsDict_().getVal<realx3>("g");
|
||||
}
|
||||
|
||||
/*inline box domain()
|
||||
{
|
||||
return box(domainDict().subDict("globalBox"));
|
||||
}*/
|
||||
|
||||
bool operator ++(int);
|
||||
|
||||
void setSaveTimeFolder(
|
||||
|
@ -147,6 +147,12 @@ public:
|
||||
{
|
||||
return simulationDomain_().thisDomain();
|
||||
}
|
||||
|
||||
inline
|
||||
const auto& extendedDomain()const
|
||||
{
|
||||
return boundaries_.extendedDomain();
|
||||
}
|
||||
|
||||
// - IO methods
|
||||
|
||||
|
Reference in New Issue
Block a user