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 >
64 #if HAVE_ALUGRID || HAVE_DUNE_ALUGRID 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;
71 #endif // #if HAVE_ALUGRID || HAVE_DUNE_ALUGRID 79 template<
int dim,
int dimworld >
82 typedef typename ALUConformGrid< dim, dimworld >::ObjectStreamType
InStreamType;
83 typedef typename ALUConformGrid< dim, dimworld >::ObjectStreamType
OutStreamType;
85 #endif // #if HAVE_ALUGRID 93 template<
int dim,
int dimworld >
96 typedef typename ALUCubeGrid< dim, dimworld >::ObjectStreamType
InStreamType;
97 typedef typename ALUCubeGrid< dim, dimworld >::ObjectStreamType
OutStreamType;
99 #endif // #if HAVE_ALUGRID 107 template<
int dim,
int dimworld >
110 typedef typename ALUSimplexGrid< dim, dimworld >::ObjectStreamType
InStreamType;
111 typedef typename ALUSimplexGrid< dim, dimworld >::ObjectStreamType
OutStreamType;
113 #endif // #if HAVE_ALUGRID 120 #if HAVE_DUNE_METAGRID 121 template<
class HostGr
id >
127 #endif // #if HAVE_DUNE_METAGRID 134 #if HAVE_DUNE_METAGRID 135 template<
class HostGr
id >
141 #endif // #if HAVE_DUNE_METAGRID 148 #if HAVE_DUNE_METAGRID 149 template<
class HostGr
id >
155 #endif // #if HAVE_DUNE_METAGRID 162 template<
class HostGr
id,
class CoordFunction,
class Allocator >
174 #if HAVE_DUNE_METAGRID 175 template<
class HostGr
id >
181 #endif // #if HAVE_DUNE_METAGRID 188 #if HAVE_DUNE_METAGRID 189 template<
class HostGr
id >
192 typedef typename ParallelGrid< HostGrid >::RankManager::ObjectStream
InStreamType;
193 typedef typename ParallelGrid< HostGrid >::RankManager::ObjectStream
OutStreamType;
195 #endif // #if HAVE_DUNE_METAGRID 202 #if HAVE_DUNE_METAGRID 203 template<
class HostGr
id,
class MapToSphere >
209 #endif // #if HAVE_DUNE_METAGRID 215 #endif // #ifndef DUNE_FEM_GRIDOBJECTSTREAMS_HH void write(const T &)
Definition: gridobjectstreams.hh:31
GridObjectStreamTraits< HostGrid >::OutStreamType OutStreamType
Definition: gridobjectstreams.hh:166
GridObjectStreamTraits< Grid >::OutStreamType OutStreamType
Definition: gridobjectstreams.hh:56
void read(T &) const
Definition: gridobjectstreams.hh:22
Definition: gridobjectstreams.hh:46
Definition: gridobjectstreams.hh:19
void writeObject(double)
Definition: gridobjectstreams.hh:37
void readObject(int)
Definition: gridobjectstreams.hh:27
DummyObjectStream InStreamType
Definition: gridobjectstreams.hh:48
Definition: coordinate.hh:4
DummyObjectStream OutStreamType
Definition: gridobjectstreams.hh:49
void writeObject(int)
Definition: gridobjectstreams.hh:36
void readObject(double)
Definition: gridobjectstreams.hh:28
GridObjectStreamTraits< HostGrid >::InStreamType InStreamType
Definition: gridobjectstreams.hh:165
Definition: gridobjectstreams.hh:17
void writeObject(T &)
Definition: gridobjectstreams.hh:34
GridObjectStreamTraits< Grid >::InStreamType InStreamType
Definition: gridobjectstreams.hh:55
void readObject(T &)
Definition: gridobjectstreams.hh:25