|
Richards
Solving The Richards equation with temporally periodic surface boundary conditions
|
Go to the documentation of this file.
35 void split_string (
char c, std::string &s, std::string &s1, std::string &s2);
56 ofile = fopen(fn,
"wb");
57 fwrite(a,
sizeof(T), size, ofile);
105 std::vector< std::vector< std::string > >
read_values (
const char *fn);
void strip_string(std::string &s)
removes white space at the beginning and end of a string
std::string int_to_string(long i)
converts an integer into a string
void write_array(const char *fn, T *a, long size)
writes an array to a binary file
void check_file_read(const char *fn)
checks if a file can be opened for reading
void split_string(char c, std::string &s, std::string &s1, std::string &s2)
splits a string on the first instance of a specified character
void check_file_write(const char *fn)
checks if a file can be written to
void print_exit(const char *msg)
prints a message before quitting the program
std::vector< std::vector< std::string > > read_values(const char *fn)
reads a settings file into a vector of vectors of strings