output stream writing into a single file with the SIONlib (http://www2.fz-juelich.de/jsc/sionlib/)
More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/io/streams/sionlibstreams.hh>
output stream writing into a single file with the SIONlib (http://www2.fz-juelich.de/jsc/sionlib/)
- Note
- This stream directly stores the binary representation of the data. The binary representation of the stored data is always that of the current machine. On read the data is converted accordingly on machines with different endianess.
- Newly added:
type of the implementation (Barton-Nackman)
Dune::Fem::SIONlibOutStream::SIONlibOutStream |
( |
const std::string & |
filename, |
|
|
const int |
rank, |
|
|
MPICommunicatorType |
mpiComm, |
|
|
ParameterReader |
parameter = Parameter::container() |
|
) |
| |
|
inline |
constructor
- Parameters
-
[in] | filename | name of a global file to write to |
[in] | rank | process rank (defaults to MPIManager::rank()) |
[in] | mpiComm | MPI communicator (defaults to MPIHelper :: getCommunicator() ) |
- Note
- The filename must be the same on all ranks.
Dune::Fem::SIONlibOutStream::~SIONlibOutStream |
( |
| ) |
|
|
inline |
destructor writing internal data buffer to the file via SIONlib
References data_, and writeFile().
template<class Interface, class Implementation>
|
inlinestaticprotectedinherited |
template<class Interface, class Implementation>
|
inlinestaticprotectedinherited |
template<class Interface, class Implementation>
template<class Interface, class Implementation>
std::ostream& Dune::Fem::SIONlibOutStream::dataStream |
( |
| ) |
|
|
inlineprotected |
void Dune::Fem::StandardOutStream::flush |
( |
| ) |
|
|
inlineinherited |
std::ostream& Dune::Fem::StandardOutStream::stream |
( |
| ) |
|
|
inlineinherited |
bool Dune::Fem::StandardOutStream::valid |
( |
| ) |
const |
|
inlineprotectedinherited |
void Dune::Fem::StandardOutStream::writeBool |
( |
const bool |
value | ) |
|
|
inlineinherited |
write a char to the stream
- Parameters
-
[in] | value | value to write to the stream |
void Dune::Fem::StandardOutStream::writeChar |
( |
const char |
value | ) |
|
|
inlineinherited |
write a char to the stream
- Parameters
-
[in] | value | value to write to the stream |
void Dune::Fem::StandardOutStream::writeDouble |
( |
const double |
value | ) |
|
|
inlineinherited |
write a double to the stream
- Parameters
-
[in] | value | value to write to the stream |
void Dune::Fem::SIONlibOutStream::writeFile |
( |
| ) |
|
|
inlineprotected |
void Dune::Fem::StandardOutStream::writeFloat |
( |
const float |
value | ) |
|
|
inlineinherited |
write a float to the stream
- Parameters
-
[in] | value | value to write to the stream |
void Dune::Fem::StandardOutStream::writeInt |
( |
const int |
value | ) |
|
|
inlineinherited |
write an int to the stream
- Parameters
-
[in] | value | value to write to the stream |
template<class T >
void Dune::Fem::StandardOutStream::writePrimitive |
( |
const T & |
value | ) |
|
|
inlineprotectedinherited |
void Dune::Fem::StandardOutStream::writeString |
( |
const std::string & |
s | ) |
|
|
inlineinherited |
write a string to the stream
- Parameters
-
[in] | s | string to write to the stream |
void Dune::Fem::StandardOutStream::writeUnsignedInt |
( |
unsigned int |
value | ) |
|
|
inlineinherited |
write an unsigned int to the stream
- Parameters
-
[in] | value | value to write to the stream |
void Dune::Fem::StandardOutStream::writeUnsignedInt64 |
( |
uint64_t |
value | ) |
|
|
inlineinherited |
write an uint64_t to the stream
- Parameters
-
[in] | value | value to write to the stream |
const int Dune::Fem::SIONlibOutStream::blockSize_ |
|
protected |
std::stringstream* Dune::Fem::SIONlibOutStream::data_ |
|
protected |
const std::string Dune::Fem::SIONlibOutStream::filename_ |
|
protected |
MPICommunicatorType Dune::Fem::SIONlibOutStream::mpiComm_ |
|
protected |
const int Dune::Fem::SIONlibOutStream::numFiles_ |
|
protected |
const int Dune::Fem::SIONlibOutStream::rank_ |
|
protected |
std::ostream& Dune::Fem::StandardOutStream::stream_ |
|
protectedinherited |
The documentation for this class was generated from the following file: