DUNE-FEM (unstable)

Dune::Fem::StreamFactory< StreamImpl > Struct Template Reference

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

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

Public Types

typedef MPIHelper::MPICommunicator MPICommunicatorType
 type of MPI communicator
 

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 Function Documentation

◆ create()

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())

The documentation for this struct was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 21, 23:30, 2024)