Fix the parallel solver to work properly with CCD.

This commit is contained in:
Crozet Sébastien
2021-03-31 10:53:44 +02:00
parent 88933bd431
commit e9f6384081
6 changed files with 148 additions and 53 deletions

View File

@@ -158,9 +158,12 @@ impl InteractionGroups {
}
pub fn clear(&mut self) {
self.buckets.clear();
self.body_masks.clear();
self.grouped_interactions.clear();
#[cfg(feature = "simd-is-enabled")]
{
self.buckets.clear();
self.body_masks.clear();
self.grouped_interactions.clear();
}
self.nongrouped_interactions.clear();
}