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 115 of file PenetrationLocator.h.
117 std::map<dof_id_type, PenetrationInfo *>::iterator it = m.begin();
118 std::map<dof_id_type, PenetrationInfo *>::iterator end = m.end();
120 for (; it != end; ++it)
126 unsigned int size = 0;
127 stream.read((
char *)&size,
sizeof(size));
129 for (
unsigned int i = 0; i < size; i++)
void loadHelper(std::istream &stream, P &data, void *context)
Scalar helper routine.