38 #ifndef __H__UG_boost_serialization_routines
39 #define __H__UG_boost_serialization_routines
50 namespace serialization{
52 template <
typename Archive>
55 ar & ug::make_nvp(
"x", v[0]);
58 template <
typename Archive>
61 ar & ug::make_nvp(
"x", v[0]);
62 ar & ug::make_nvp(
"y", v[1]);
65 template <
typename Archive>
68 ar & ug::make_nvp(
"x", v[0]);
69 ar & ug::make_nvp(
"y", v[1]);
70 ar & ug::make_nvp(
"z", v[2]);
73 template <
typename Archive>
76 ar & ug::make_nvp(
"x", v[0]);
77 ar & ug::make_nvp(
"y", v[1]);
78 ar & ug::make_nvp(
"z", v[2]);
79 ar & ug::make_nvp(
"w", v[3]);
BOOST_CLASS_IMPLEMENTATION(ug::vector1, boost::serialization::object_serializable)
a mathematical Vector with N entries.
Definition: math_vector.h:97
void serialize(Archive &ar, ug::vector1 &v, const unsigned int version)
Definition: boost_serialization_routines.h:53
Definition: boost_serialization_routines.h:49