#include <ArrayWriter.h>
|
| ArrayWriter (const bool binary, const int vectorComponent, const int atypeComponent) |
|
virtual | ~ArrayWriter () |
|
template<class T > |
void | writeFloats (FILE *fp, const T *data, const int count, const int stride, const Array< bool > *mask=0) |
|
Definition at line 12 of file ArrayWriter.h.
ArrayWriter::ArrayWriter |
( |
const bool |
binary, |
|
|
const int |
vectorComponent, |
|
|
const int |
atypeComponent |
|
) |
| |
|
inline |
Definition at line 15 of file ArrayWriter.h.
const int _atypeComponent
const int _vectorComponent
virtual ArrayWriter::~ArrayWriter |
( |
| ) |
|
|
inlinevirtual |
template<class T >
void ArrayWriter::writeFloats |
( |
FILE * |
fp, |
|
|
const T * |
data, |
|
|
const int |
count, |
|
|
const int |
stride, |
|
|
const Array< bool > * |
mask = 0 |
|
) |
| |
|
inline |
Definition at line 25 of file ArrayWriter.h.
Referenced by ScalarArrayWriter< T >::write(), and VectorArrayWriter< T, N >::write().
30 for(
int n=0,i=0; n<count; i+=stride,n++)
32 fprintf(fp,
"%12.5e\n",data[i]);
36 for(
int n=0,i=0; n<count; i+=stride,n++)
37 fprintf(fp,
"%12.5e\n",data[i]);
const int ArrayWriter::_atypeComponent |
|
protected |
const bool ArrayWriter::_binary |
|
protected |
const int ArrayWriter::_vectorComponent |
|
protected |
The documentation for this class was generated from the following file: