openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
|
Basic utility functions, mostly IO related. More...
Go to the source code of this file.
Namespaces | |
opencarp | |
Functions | |
void | opencarp::sltlst_append (Salt_list *sl, void *p, int quantum) |
char * | opencarp::dupstr (const char *old_str) |
char * | opencarp::stringify (double r) |
std::string | opencarp::get_basename (const std::string &path) |
void | opencarp::log_msg (FILE_SPEC out, int level, unsigned char flag, const char *fmt,...) |
bool | opencarp::f_exist (const char *fname) |
FILE_SPEC | opencarp::f_open (const char *fname, const char *mode) |
Open a FILE_SPEC. More... | |
void | opencarp::f_close (FILE_SPEC &f) |
Close a FILE_SPEC. More... | |
void | opencarp::f_read_par (void *ptr, size_t size, size_t nmemb, FILE_SPEC stream, MPI_Comm comm=PETSC_COMM_WORLD) |
Parallel fread. Root reads, then broadcasts. More... | |
void | opencarp::f_write_par (void *ptr, size_t size, size_t nmemb, int source_pid, FILE_SPEC stream, MPI_Comm comm=PETSC_COMM_WORLD) |
Write in parallel. Data comes from one rank, rank 0 writes. More... | |
char * | opencarp::f_gets_par (char *s, int size, FILE_SPEC stream, MPI_Comm comm) |
void | opencarp::write_bin_string (FILE_SPEC out, const char *s) |
char * | opencarp::read_bin_string (FILE_SPEC in) |
char * | opencarp::read_bin_string_par (FILE_SPEC in) |
bool | opencarp::point_in_shape (const Point &p, const geom_shape &shape) |
test if a point is inside a simple geometric shape More... | |
bool | opencarp::is_big_endian () |
bool | opencarp::file_can_be_opened (const char *file) |
Check wheterh a file can be opened for reading. More... | |
bool | opencarp::path_is_absolute (const char *path) |
check whether path is absolute More... | |