Adding initial code to map bubble ids between timesteps

This commit is contained in:
Mark Berrill
2015-07-16 22:08:43 -04:00
parent 5d86abf774
commit f4a2f22f57
4 changed files with 388 additions and 25 deletions

View File

@@ -326,6 +326,7 @@ std::pair<size_t,void*> DomainMesh::pack( int level ) const
std::pair<size_t,void*> data(0,NULL);
data.first = 7*sizeof(double);
data.second = new double[7];
memset(data.second,0,7*sizeof(double));
int *data_int = reinterpret_cast<int*>(data.second);
double *data_double = &reinterpret_cast<double*>(data.second)[4];
data_int[0] = nprocx;