Limit maxIterations to 1 for semi-implicit stepping
-
limit max iterations for linear solve in Newton to 1 for semi-implicit stepping -
define default InternalForceModel::getForceAndMatrix
-
add NonLinearSystem::m_F_dF
.NonLinearSystem
constructor now optionally takes in a functor that computes both residual and Jacobian. -
add FEMDeformableBodyModel::getFunctionAndGradient
, which callscomputeSemiImplicitSystemRHSAndLHS
orcomputeSemiImplicitSystemRHSAndLHS
. This increases the speed ofNewtonSolver::updateJacobian
by 30~40% for the heart case, and the FPS of it from 20 to 25+ on my system.
Edited by Jianfeng Yan