template<typename Func1, typename Func2, typename Func3, typename Func4, typename Func5, typename Func6> void DoNewtonStep ( const int32 max_it_newton, const [FSolverReal](API\Runtime\Chaos\Chaos\FSolverReal) newton_tol, const int32 max_it_cg, const [FSolverReal](API\Runtime\Chaos\Chaos\FSolverReal) cg_tol, Func1 P, Func2 dP, const [FSolverReal](API\Runtime\Chaos\Chaos\FSolverReal) time, const [FSolverReal](API\Runtime\Chaos\Chaos\FSolverReal) dt, const [TArray](API\Runtime\Core\Containers\TArray)< [TArray](API\Runtime\Core\Containers\TArray)< [TVector](API\Runtime\Chaos\Chaos\TVector)< int32, 2 >>> & incident_elements, const [TArray](API\Runtime\Core\Containers\TArray)< [FSolverReal](API\Runtime\Chaos\Chaos\FSolverReal) > & nodal_mass, Func3 set_bcs, Func4 project_bcs, Func5 add_external_force, Func6 update_position_based_state, [FSolverParticles](API\Runtime\Chaos\Chaos\FSolverParticles) & InParticles, [TArray](API\Runtime\Core\Containers\TArray)< [FSolverReal](API\Runtime\Chaos\Chaos\FSolverReal) > & residual_norm, bool use_cg, [FSolverReal](API\Runtime\Chaos\Chaos\FSolverReal) cg_prctg_reduce, bool no_verbose )