Skip to content
Snippets Groups Projects
Commit c77e7c08 authored by Boris Martin's avatar Boris Martin
Browse files

cleanup for distributed

parent d7a8f380
No related branches found
No related tags found
No related merge requests found
...@@ -660,6 +660,13 @@ namespace gmshfem::field ...@@ -660,6 +660,13 @@ namespace gmshfem::field
// Free the type // Free the type
MPI_Type_free(&mpi_struct_type); MPI_Type_free(&mpi_struct_type);
_sharedDofs.clear();
_subdomainInterfaceDofs.clear();
_ownedDofs.clear();
_toSend.clear();
_toRead.clear();
#else #else
throw common::Exception("MPI is not available"); throw common::Exception("MPI is not available");
#endif #endif
...@@ -702,7 +709,6 @@ namespace gmshfem::field ...@@ -702,7 +709,6 @@ namespace gmshfem::field
this->_ownedDofs = other._ownedDofs; this->_ownedDofs = other._ownedDofs;
this->_toRead = other._toRead; this->_toRead = other._toRead;
this->_toSend = other._toSend; this->_toSend = other._toSend;
this->_localToGlobal = other._localToGlobal;
this->_indexToDof = other._indexToDof; this->_indexToDof = other._indexToDof;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment