![]() |
Dune-Fufem 2.11-git
|
Loading...
Searching...
No Matches
dunedataio.hh
Go to the documentation of this file.
14/* supplies serialize functions for several Dune types in order to be able to use boost::serialization on them */
18/* as we need not not do fundamentally different things in saving and loading we can supply only one function.
19 * mark the use of the operator & that works both ways, << or >> , depending on the type of Archive.
22void serialize(Archive& ar, Dune::FieldVector<T,n>& fvec, [[maybe_unused]] const unsigned int version)
28/* For Dune::BlockVectors we need to store the size separately and treat it separately during loading. Thus we need
29 * two separate save() and load() functions later to be "unified" via boost::serialization::split_free (see below)
32void save(Archive& ar, const Dune::BlockVector<BlockType>& vec, [[maybe_unused]] const unsigned int version)
41void load(Archive& ar, Dune::BlockVector<BlockType>& vec, [[maybe_unused]] const unsigned int version)
int size() const
void resize(size_type size)
