libode
Easy to compile, fast ODE integrators as C++ classes
Loading...
Searching...
No Matches
ode_io.h File Reference
#include <cstdio>
#include <cstdlib>
#include <string>
#include <iostream>
#include <sstream>

Go to the source code of this file.

Namespaces

namespace  ode
 

Functions

void ode::ode_check_write (const char *fn)
 check if a file can be written (opened in write mode)
 
template<class T >
void ode::ode_write (char const *fn, T *a, unsigned long n)
 write an array to a binary file
 
void ode::ode_print_exit (const char *msg)
 print a message and exit with failure
 
std::string ode::ode_int_to_string (long i)
 converts an integer into a string