# PhasicFlow: utilities/pFlowToVTK/fileSeries.hpp Source File
PhasicFlow is an open-source parallel DEM (discrete element method) package for simulating granular flow. It is developed in C++ and can be exectued on both GPU (like CUDA) and CPU.

fileSeries.hpp
Go to the documentation of this file.
#ifndef __fileSeries_hpp__
#define __fileSeries_hpp__
#include "fileStream.hpp"
#include "Map.hpp"
namespace pFlow::PFtoVTK
{
class fileSeries
{
private:
using TimeFileType = Map<real, word>;
Map<word, TimeFileType> timeFiles_;
fileSystem destDir_;
void writeOneBaseName(const word& baseName);
public:
fileSeries(const fileSystem dest);
~fileSeries();
bool addTimeFile(const word& baseName, real time, const word& fileName);
bool addTimeFile(const wordList& baseNames, real time, const wordList& fileNames);
};
}
#endif //__fileSeries_hpp__
pFlow::List< word >
pFlow::PFtoVTK::fileSeries::writeOneBaseName
void writeOneBaseName(const word &baseName)
Definition: fileSeries.cpp:5
pFlow::real
float real
Definition: builtinTypes.hpp:45
pFlow::PFtoVTK::fileSeries::destDir_
fileSystem destDir_
Definition: fileSeries.hpp:22
Map.hpp
pFlow::word
std::string word
Definition: builtinTypes.hpp:64
pFlow::PFtoVTK::fileSeries
Definition: fileSeries.hpp:14
pFlow::fileSystem
Manages file pathes, manupulate and combines them.
Definition: fileSystem.hpp:71
pFlow::baseName
word baseName(const word &w, char sep='.')
Find the base in a group separated by "." and return it.
Definition: bTypesFunctions.cpp:185
pFlow::PFtoVTK::fileSeries::fileSeries
fileSeries(const fileSystem dest)
Definition: fileSeries.cpp:33
pFlow::PFtoVTK::fileSeries::timeFiles_
Map< word, TimeFileType > timeFiles_
Definition: fileSeries.hpp:20
pFlow::PFtoVTK::fileSeries::~fileSeries
~fileSeries()
Definition: fileSeries.cpp:40
pFlow::PFtoVTK::fileSeries::addTimeFile
bool addTimeFile(const word &baseName, real time, const word &fileName)
Definition: fileSeries.cpp:49
pFlow::Map
Definition: Map.hpp:36
fileStream.hpp
pFlow::PFtoVTK
Definition: fileSeries.hpp:11