I/O utilities for the data arrays. More...
Macros | |
#define | Tptr std::shared_ptr<T> |
Functions | |
template<typename T > | |
void | saveRawBinary (const Tptr &X, FILE *fp) |
Save the data in raw binary format to stream. | |
template<typename T > | |
void | saveRawBinary (const Tptr &X, const char *filename) |
Save the data in raw binary format to file. | |
template<typename T > | |
void | loadRawBinary (Tptr &X, FILE *fp) |
Load the data in raw binary format from stream. | |
template<typename T > | |
void | loadRawBinary (Tptr &X, const char *filename) |
Load the data in raw binary format from file. | |
void | saveDX (const ScalarField &, const char *filenamePrefix) |
std::vector< std::vector < double > > | sphericalize (const ScalarField *dataR, int nColumns, double drFac=1.0, vector3<> *center=0) |
void | saveSphericalized (const ScalarField *dataR, int nColumns, const char *filename, double drFac=1.0, vector3<> *center=0) |
void | saveSphericalized (const ScalarFieldTilde *dataG, int nColumns, const char *filename, double dGFac=1.0) |
I/O utilities for the data arrays.