mantaflow  0.10
A framework for fluid simulation
Classes | Functions
fileio.h File Reference
#include <string>

Go to the source code of this file.

Classes

class  Manta::Grid< T >
 
class  Manta::Grid4d< T >
 
class  Manta::ParticleDataImpl< T >
 

Functions

void Manta::writeObjFile (const string &name, Mesh *mesh)
 
void Manta::writeBobjFile (const string &name, Mesh *mesh)
 
void Manta::readObjFile (const std::string &name, Mesh *mesh, bool append)
 
void Manta::readBobjFile (const string &name, Mesh *mesh, bool append)
 
template<class T >
void Manta::writeGridRaw (const string &name, Grid< T > *grid)
 
template<class T >
void Manta::writeGridUni (const string &name, Grid< T > *grid)
 
template<class T >
void Manta::writeGridVol (const string &name, Grid< T > *grid)
 
template<class T >
void Manta::writeGridTxt (const string &name, Grid< T > *grid)
 
template<class T >
void Manta::readGridUni (const string &name, Grid< T > *grid)
 
template<class T >
void Manta::readGridRaw (const string &name, Grid< T > *grid)
 
template<class T >
void Manta::readGridVol (const string &name, Grid< T > *grid)
 
template<class T >
void Manta::writeGrid4dUni (const string &name, Grid4d< T > *grid)
 
template<class T >
void Manta::readGrid4dUni (const string &name, Grid4d< T > *grid, int readTslice, Grid4d< T > *slice, void **fileHandle)
 
void Manta::readGrid4dUniCleanup (void **fileHandle)
 
template<class T >
void Manta::writeGrid4dRaw (const string &name, Grid4d< T > *grid)
 
template<class T >
void Manta::readGrid4dRaw (const string &name, Grid4d< T > *grid)
 
void Manta::writeParticlesUni (const std::string &name, const BasicParticleSystem *parts)
 
void Manta::readParticlesUni (const std::string &name, BasicParticleSystem *parts)
 
template<class T >
void Manta::writePdataUni (const std::string &name, ParticleDataImpl< T > *pdata)
 
template<class T >
void Manta::readPdataUni (const std::string &name, ParticleDataImpl< T > *pdata)
 
void Manta::getUniFileSize (const string &name, int &x, int &y, int &z, int *t, std::string *info)
 for auto-init & check of results of test runs , optionally returns info string of header
 

Function Documentation

◆ readGrid4dUni()

template<class T >
void Manta::readGrid4dUni ( const string &  name,
Grid4d< T > *  grid,
int  readTslice,
Grid4d< T > *  slice,
void **  fileHandle 
)

note, reading 4d uni grids is slightly more complicated than 3d ones as it optionally supports sliced reading