6#ifndef STRUCTURED_GRID_IMPL_H
7#define STRUCTURED_GRID_IMPL_H
13template<
class Archive>
16 ar &
V_NAME(ar,
"base_structuredGridBase", serialize_base<Base::Data>(ar, *
this));
17 ar &
V_NAME(ar,
"num_divisions", numDivisions);
18 ar &
V_NAME(ar,
"coords_x", x[0]);
19 ar &
V_NAME(ar,
"coords_y", x[1]);
20 ar &
V_NAME(ar,
"coords_z", x[2]);
22 for (
int c = 0; c < 3; c++) {
23 std::string nvpTag =
"ghostLayers" + std::to_string(c);
24 std::string tag0 = nvpTag +
"0";
25 std::string tag1 = nvpTag +
"1";
26 ar &
V_NAME(ar, tag0.c_str(), ghostLayers[c][0]);
27 ar &
V_NAME(ar, tag1.c_str(), ghostLayers[c][1]);
29 ar &
V_NAME(ar, (
"indexoffset" + std::to_string(c)).c_str(), indexOffset[c]);
#define V_NAME(ar, name, obj)
Definition: archives_config.h:441
void serialize(Archive &ar, vistle::Vector1 &v, const unsigned int version)
Definition: vector.h:105
Definition: allobjects.cpp:30