1#ifndef DUNE_FEM_GRIDOBJECTSTREAMS_HH
2#define DUNE_FEM_GRIDOBJECTSTREAMS_HH
4#include <dune/common/exceptions.hh>
22 void read ( T & )
const { DUNE_THROW( NotImplemented,
"DummyObjectStream::read not implemented." ); }
25 void readObject ( T & ) { DUNE_THROW( NotImplemented,
"DummyObjectStream::readObject not implemented." ); }
27 void readObject (
int ) { DUNE_THROW( NotImplemented,
"DummyObjectStream::readObject not implemented." ); }
28 void readObject (
double ) { DUNE_THROW( NotImplemented,
"DummyObjectStream::readObject not implemented." ); }
31 void write (
const T & ) { DUNE_THROW( NotImplemented,
"DummyObjectStream::write not implemented." ); }
34 void writeObject ( T & ) { DUNE_THROW( NotImplemented,
"DummyObjectStream::writeObject not implemented." ); }
36 void writeObject (
int ) { DUNE_THROW( NotImplemented,
"DummyObjectStream::writeObject not implemented." ); }
37 void writeObject (
double ) { DUNE_THROW( NotImplemented,
"DummyObjectStream::writeObject not implemented." ); }
45 template<
class Gr
id >
52 template<
class Gr
id >
65 template<
int dim,
int dimworld, ALUGr
idElementType elType, ALUGr
idRefinementType refineType,
class Comm >
68 typedef typename ALUGrid< dim, dimworld, elType, refineType, Comm >::ObjectStreamType
InStreamType;
69 typedef typename ALUGrid< dim, dimworld, elType, refineType, Comm >::ObjectStreamType
OutStreamType;
79 template<
class HostGr
id >
80 struct GridObjectStreamTraits< CacheItGrid< HostGrid > >
93 template<
class HostGr
id >
94 struct GridObjectStreamTraits< CartesianGrid< HostGrid > >
106#if HAVE_DUNE_METAGRID
107 template<
class HostGr
id >
108 struct GridObjectStreamTraits< FilteredGrid< HostGrid > >
120 template<
class HostGr
id,
class CoordFunction,
class Allocator >
132#if HAVE_DUNE_METAGRID
133 template<
class HostGr
id >
146#if HAVE_DUNE_METAGRID
147 template<
class HostGr
id >
148 struct GridObjectStreamTraits< ParallelGrid< HostGrid > >
150 typedef typename ParallelGrid< HostGrid >::RankManager::ObjectStream
InStreamType;
151 typedef typename ParallelGrid< HostGrid >::RankManager::ObjectStream
OutStreamType;
160#if HAVE_DUNE_METAGRID
161 template<
class HostGr
id,
class MapToSphere >
162 struct GridObjectStreamTraits< SphereGrid< HostGrid, MapToSphere > >
Definition: bindguard.hh:11
Definition: gridobjectstreams.hh:18
void writeObject(int)
Definition: gridobjectstreams.hh:36
void readObject(int)
Definition: gridobjectstreams.hh:27
void writeObject(double)
Definition: gridobjectstreams.hh:37
void readObject(T &)
Definition: gridobjectstreams.hh:25
void readObject(double)
Definition: gridobjectstreams.hh:28
void write(const T &)
Definition: gridobjectstreams.hh:31
void writeObject(T &)
Definition: gridobjectstreams.hh:34
void read(T &) const
Definition: gridobjectstreams.hh:22
Definition: gridobjectstreams.hh:19
Definition: gridobjectstreams.hh:47
DummyObjectStream InStreamType
Definition: gridobjectstreams.hh:48
DummyObjectStream OutStreamType
Definition: gridobjectstreams.hh:49
GridObjectStreamTraits< Grid >::InStreamType InStreamType
Definition: gridobjectstreams.hh:55
GridObjectStreamTraits< Grid >::OutStreamType OutStreamType
Definition: gridobjectstreams.hh:56
GridObjectStreamTraits< HostGrid >::InStreamType InStreamType
Definition: gridobjectstreams.hh:123
GridObjectStreamTraits< HostGrid >::OutStreamType OutStreamType
Definition: gridobjectstreams.hh:124