Skip to content

Commit

Permalink
[ODESolver] Remove repeated class name in log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
alxbilger committed Jan 24, 2025
1 parent 66b9fd0 commit 6b2f9cd
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ void EulerImplicitSolver::solve(const core::ExecParams* params, SReal dt, sofa::
// compute the net forces at the beginning of the time step
mop.computeForce(f); //f = Kx + Bv

msg_info() << "EulerImplicitSolver, initial f = " << f;
msg_info() << "initial f = " << f;
}

{
Expand All @@ -141,7 +141,7 @@ void EulerImplicitSolver::solve(const core::ExecParams* params, SReal dt, sofa::
// force in the current configuration
b.eq(f); // b = f

msg_info() << "EulerImplicitSolver, f = " << f;
msg_info() << "f = " << f;

// add the change of force due to stiffness + Rayleigh damping
mop.addMBKv(b, core::MatricesFactors::M(-d_rayleighMass.getValue()),
Expand All @@ -152,11 +152,11 @@ void EulerImplicitSolver::solve(const core::ExecParams* params, SReal dt, sofa::
b.teq(h); // b = h(f + ( rm M + (h+rs) K ) v )
}

msg_info() << "EulerImplicitSolver, b = " << b;
msg_info() << "b = " << b;

mop.projectResponse(b); // b is projected to the constrained space

msg_info() << "EulerImplicitSolver, projected b = " << b;
msg_info() << "projected b = " << b;
}

{
Expand Down Expand Up @@ -299,10 +299,10 @@ void EulerImplicitSolver::solve(const core::ExecParams* params, SReal dt, sofa::
mop.projectVelocity(newVel);
mop.propagateX(newPos);
mop.propagateV(newVel);
msg_info() << "EulerImplicitSolver, final x = " << newPos;
msg_info() << "EulerImplicitSolver, final v = " << newVel;
msg_info() << "final x = " << newPos;
msg_info() << "final v = " << newVel;
mop.computeForce(f);
msg_info() << "EulerImplicitSolver, final f = " << f;
msg_info() << "final f = " << f;
}
}

Expand Down

0 comments on commit 6b2f9cd

Please sign in to comment.