Free functions to write and read a sequence container to and from a file. More...
#include <iostream>
#include <ios>
#include <iomanip>
#include <fstream>
#include <iterator>
Go to the source code of this file.
Free functions to write and read a sequence container to and from a file.
Namespaces | |
namespace | Dumux |
make the local view function available whenever we use the grid geometry | |
Functions | |
template<typename Container > | |
void | Dumux::writeContainerToFile (const Container &v, const std::string &filename, int floatPrecision=6) |
Writes a container to file. More... | |
template<typename Container > | |
Container | Dumux::readFileToContainer (const std::string &filename) |
Read a simple text file into a container. More... | |