Go to the source code of this file.
◆ dataLoad()
We have to have a specialization for this map because the PenetrationInfo objects MUST get deleted before the ones are loaded from a file or it's a memory leak.
Definition at line 111 of file PenetrationLocator.h.
113 std::map<dof_id_type, PenetrationInfo *>::iterator it = m.begin();
114 std::map<dof_id_type, PenetrationInfo *>::iterator end = m.end();
116 for (; it != end; ++it)
122 unsigned int size = 0;
123 stream.read((
char *)&size,
sizeof(size));
125 for (
unsigned int i = 0; i < size; i++)
void loadHelper(std::istream &stream, P &data, void *context)
Scalar helper routine.