dune-fem  2.4.1-rc
Public Types | Static Public Member Functions | List of all members
Dune::Fem::StreamFactory< StreamImpl > Struct Template Reference

Factory class for Fem Streams to deal with different constructor parameters. More...

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/io/streams/streams.hh>

Public Types

typedef MPIHelper::MPICommunicator MPICommunicatorType
 type of MPI communicator More...
 

Static Public Member Functions

static StreamImpl * create (const std::string &filename, const int rank=MPIManager::rank(), const MPICommunicatorType &mpiComm=MPIHelper::getCommunicator())
 return pointer to stream object created by new. More...
 

Detailed Description

template<class StreamImpl>
struct Dune::Fem::StreamFactory< StreamImpl >

Factory class for Fem Streams to deal with different constructor parameters.

Member Typedef Documentation

template<class StreamImpl >
typedef MPIHelper :: MPICommunicator Dune::Fem::StreamFactory< StreamImpl >::MPICommunicatorType

type of MPI communicator

Member Function Documentation

template<class StreamImpl >
static StreamImpl* Dune::Fem::StreamFactory< StreamImpl >::create ( const std::string &  filename,
const int  rank = MPIManager::rank(),
const MPICommunicatorType mpiComm = MPIHelper :: getCommunicator() 
)
inlinestatic

return pointer to stream object created by new.

Parameters
[in]filenamename of file that the stream read/writes
[in]rankrank of process data is read/written (defaults to MPIManager::rank())
[in]mpiCommMPI communicator (defaults to MPIHelper :: getCommunicator())

Referenced by Dune::Fem::IOTuple< Tuple >::input(), Dune::Fem::IOTuple< Tuple >::output(), and Dune::Fem::PersistenceManager::restoreValue().


The documentation for this struct was generated from the following file: