Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ODESolver] Remove repeated class name in log messages #5242

Merged
merged 1 commit into from
Jan 24, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading