mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-06-12 16:26:23 +00:00
Binary conversion from pointFiled files to vtk format
- all vtk files are stored in the /particles/ folder - terminal output is modified - time series file are added. files with extntions .vtk.series can be loaded into paraview
This commit is contained in:
@ -34,15 +34,17 @@ class vtkFile
|
||||
{
|
||||
protected:
|
||||
|
||||
fileSystem dirPath_;
|
||||
uniquePtr<oFstream> oStream_= nullptr;
|
||||
|
||||
word baseName_;
|
||||
|
||||
real time_ = 0.0;
|
||||
bool binary_ = false;
|
||||
|
||||
bool append_=false;
|
||||
|
||||
uniquePtr<oFstream> oStream_= nullptr;
|
||||
real time_ = 0.0;
|
||||
|
||||
fileSystem dirPath_;
|
||||
|
||||
word baseName_;
|
||||
|
||||
bool openStream(bool wHeader);
|
||||
|
||||
@ -54,6 +56,7 @@ public:
|
||||
const fileSystem dir,
|
||||
const word& bName,
|
||||
real time,
|
||||
bool bnry,
|
||||
bool append = false);
|
||||
|
||||
virtual ~vtkFile() = default;
|
||||
@ -87,6 +90,12 @@ public:
|
||||
return false;
|
||||
}
|
||||
|
||||
inline
|
||||
bool binary()const
|
||||
{
|
||||
return binary_;
|
||||
}
|
||||
|
||||
virtual fileSystem fileName()const;
|
||||
|
||||
};
|
||||
|
Reference in New Issue
Block a user