dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
Dune::Fem::StreamFactory< SIONlibInStream > Struct Reference

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

#include <dune/fem/io/streams/sionlibstreams.hh>

Public Types

typedef MPIHelper::MPICommunicator MPICommunicatorType
 type of MPI communicator
 

Static Public Member Functions

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

Detailed Description

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

Member Typedef Documentation

◆ MPICommunicatorType

typedef MPIHelper::MPICommunicator Dune::Fem::StreamFactory< SIONlibInStream >::MPICommunicatorType

type of MPI communicator

Member Function Documentation

◆ create()

static SIONlibInStream * Dune::Fem::StreamFactory< SIONlibInStream >::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())

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