|
const char * | Proto::WriteBoxData (BoxData< double > &a_array, double dx=1.0) |
| Write Scalar BoxData. More...
|
|
void | Proto::WriteBoxData (const char *a_filename, BoxData< double > &a_array, double dx=1.0) |
| Write Scalar BoxData with Name. More...
|
|
template<class T , unsigned int C, MemType MEMTYPE, unsigned char D, unsigned char E> |
void | Proto::WriteBoxData (const char *a_filename, BoxData< T, C, MEMTYPE, D, E > &a_array, const char *const a_varnames[C *D *E], const double *a_corner, const double &a_h) |
| Write Non-Scalar BoxData with Name. More...
|
|
template<class T , unsigned int C, MemType MEMTYPE, unsigned char D, unsigned char E> |
void | Proto::WriteBoxData (FILE *a_fp, BoxData< T, C, MEMTYPE, D, E > &a_array, const char *const a_varnames[C *D *E], const double *a_corner, const double &a_h) |
| Write Non-Scalar BoxData to Existing File. More...
|
|
template<class T , unsigned int C, MemType MEMTYPE, unsigned char D, unsigned char E>
void Proto::WriteBoxData |
( |
const char * |
a_filename, |
|
|
BoxData< T, C, MEMTYPE, D, E > & |
a_array, |
|
|
const char *const |
a_varnames[C *D *E], |
|
|
const double * |
a_corner, |
|
|
const double & |
a_h |
|
) |
| |
|
inline |
Write Non-Scalar BoxData with Name.
Write's the data in a BoxData<T,C,D,E> to a given file name. The given filename should include the relevent extension. (e.g. name.vtk)
- Parameters
-
a_filename | Name of output file |
a_array | The BoxData to be printed. |
a_varnames | Array of strings corresponding to the variable names of a_array. |
a_corner | DIM long array of doubles defining the desired origin |
a_h | Physical spacing between points |
template<class T , unsigned int C, MemType MEMTYPE, unsigned char D, unsigned char E>
void Proto::WriteBoxData |
( |
FILE * |
a_fp, |
|
|
BoxData< T, C, MEMTYPE, D, E > & |
a_array, |
|
|
const char *const |
a_varnames[C *D *E], |
|
|
const double * |
a_corner, |
|
|
const double & |
a_h |
|
) |
| |
|
inline |
Write Non-Scalar BoxData to Existing File.
Write's the data in a BoxData<T,C,D,E> to an existing file.
- Parameters
-
a_filename | Name of output file |
a_array | The BoxData to be printed. |
a_varnames | Array of strings corresponding to the variable names of a_array. |
a_corner | DIM long array of doubles defining the desired origin |
a_h | Physical spacing between points |