MoDeNa  1.0
Software framework facilitating sequential multi-scale modelling
inout.hh
1 using namespace std;
2 #ifndef INOUT_H
3 #define INOUT_H
4 
5 void readParameters(string, string &, string &, string &, string &, string &, \
6  string &);
7 int ***allocateFromVTK(string, int ***, bool);
8 void importFromVTK(string, int ***, bool);
9 void saveToVTK(const char*, int ***, bool);
10 void saveToDX(const char*, int ***, bool);
11 void saveToGnuplot(string, int, int, double **, int **, bool);
12 void saveDescriptors(string, double, double, bool);
13 void saveParameters(string, double, bool);
14 
15 #endif
void saveDescriptors(string filename, double por, double fs, bool report)
Saves morphology descriptors (porosity and strut content) to a file.
Definition: inout.cc:295
void readParameters(string filename, string &outputFilename, string &VTKInputFilename, string &GnuplotSkeletonFilename, string &GnuplotAltSkeletonFilename, string &descriptorsFilename, string &parametersFilename)
Definition: inout.cc:18
void saveToGnuplot(string filename, int sv, int incmax, double **vert, int **vinc, bool report)
Saves tessellation diagram to gnuplot file.
Definition: inout.cc:256
int *** allocateFromVTK(string filename, int ***amat, bool report)
Allocates the matrix from dimensions read from VTK file.
Definition: inout.cc:71
void saveToDX(const char *filename, int ***amat, bool report)
Saves morphology to DX file.
Definition: inout.cc:220
void saveParameters(string filename, double dedge, bool report)
Saves parameters (dedge) to a file.
Definition: inout.cc:315
void saveToVTK(const char *filename, int ***amat, bool report)
Saves morphology to VTK file.
Definition: inout.cc:178
void importFromVTK(string filename, int ***amat, bool report)
Reads morphology from VTK file. Changes amat.
Definition: inout.cc:108