OpenLB 1.8.1
Loading...
Searching...
No Matches
membrane_diskIO.hh File Reference
#include <cstdlib>
#include <fstream>
#include <sys/stat.h>
#include <dirent.h>
#include "membrane_diskIO.h"
+ Include dependency graph for membrane_diskIO.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  olb
 Top level namespace for all of OpenLB.
 
namespace  olb::membrane
 
namespace  olb::membrane::DIO
 

Functions

bool olb::membrane::DIO::directoryExists (std::string directory)
 Check whether specified directory exists.
 
bool olb::membrane::DIO::fileExists (std::string filename)
 Checks whether specified file exists.
 
void olb::membrane::DIO::createDirectory (std::string directory)
 Specified directory is created if it does not already exist.
 
void olb::membrane::DIO::createFile (std::string filename)
 Specified file is created if it does not already exist.
 
void olb::membrane::DIO::writeHeader (std::string filename, std::string header)
 Header line is written to specified file.
 
void olb::membrane::DIO::appendLine (std::string filename, std::string line)
 Line is appended to specified file.