enabled mass preconditioner

This commit is contained in:
Xuchen Han
2019-08-29 11:12:35 -07:00
parent f392d8ceb1
commit 5330396c70
5 changed files with 13 additions and 6 deletions

View File

@@ -70,7 +70,9 @@ public:
btAssert(b.size() == x.size());
btAssert(m_inv_mass.size() == x.size());
for (int i = 0; i < b.size(); ++i)
{
b[i] = x[i] * m_inv_mass[i];
}
}
};