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

[SofaBaseLinearSolver] Remove virtual function BaseLinearSolver::isMultiGroup #1063

Merged
merged 9 commits into from
Jul 19, 2019

Conversation

fspadoni
Copy link
Contributor

@fspadoni fspadoni commented May 23, 2019

The virtual function BaseLinearSolver::isMultiGroup() returns always false because multi group solver is no more supported after PR #901 in all LinearSolver classes.

Needs #1060 to be merged first


This PR:

  • builds with SUCCESS for all platforms on the CI.
  • does not generate new warnings.
  • does not generate new unit test failures.
  • does not generate new scene test failures.
  • does not break API compatibility.
  • is more than 1 week old (or has fast-merge label).

Reviewers will merge only if all these checks are true.

…oup() from LinearSolver and remove never executed code in DefaultCollisionGroupManager
@fspadoni fspadoni changed the title isMultiGroup remove from BaseLinearSolver Remove virtual function BaseLinearSolver::isMultiGroup May 23, 2019
@fspadoni fspadoni changed the title Remove virtual function BaseLinearSolver::isMultiGroup [BaseLinearSolver] Remove virtual function BaseLinearSolver::isMultiGroup May 23, 2019
@hugtalbot
Copy link
Contributor

[ci-build][with-all-tests]

@hugtalbot
Copy link
Contributor

I think this includes the #1030
right ?

for (simulation::Node::ChildIterator it = solvernode->child.begin(), itend = solvernode->child.end(); it != itend; ++it)
if (node->getContext()->hasAncestor(it->get()))
return it->get();

// group not found, simply return the solver node
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the comment could be updated or removed

@@ -4,6 +4,7 @@
<BruteForceDetection name="N2" />
<NewProximityIntersection name="Proximity" alarmDistance="0.3" contactDistance="0.2" />
<DefaultContactManager name="Response" response="default" />
<CollisionGroupManager name="Group" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue of indent ?

@hugtalbot hugtalbot added pr: clean Cleaning the code pr: fast merge Minor change that can be merged without waiting for the 7 review days pr: status to review To notify reviewers to review this pull-request labels May 23, 2019
@guparan guparan added pr: status ready Approved a pull-request, ready to be squashed pr: status to review To notify reviewers to review this pull-request and removed pr: status to review To notify reviewers to review this pull-request pr: status ready Approved a pull-request, ready to be squashed labels May 29, 2019
@fspadoni fspadoni added pr: status wip Development in the pull-request is still in progress and removed pr: status to review To notify reviewers to review this pull-request labels Jun 5, 2019
…on. It was previously returning always the root node. The function is not tested in the case of multiple parent nodes.
…_Remove

# Conflicts:
#	SofaKernel/modules/SofaSimulationGraph/DAGNode.cpp
@epernod epernod added pr: status to review To notify reviewers to review this pull-request and removed pr: status wip Development in the pull-request is still in progress labels Jun 12, 2019
@guparan guparan added pr: status wip Development in the pull-request is still in progress pr: status to review To notify reviewers to review this pull-request and removed pr: status to review To notify reviewers to review this pull-request pr: status wip Development in the pull-request is still in progress labels Jun 26, 2019
@fspadoni fspadoni added pr: status to review To notify reviewers to review this pull-request and removed pr: status wip Development in the pull-request is still in progress labels Jul 15, 2019
@hugtalbot hugtalbot added pr: status ready Approved a pull-request, ready to be squashed and removed pr: status to review To notify reviewers to review this pull-request labels Jul 15, 2019
@epernod epernod merged commit 3761b4f into sofa-framework:master Jul 19, 2019
@guparan guparan added this to the v19.12 milestone Jan 14, 2020
@guparan guparan changed the title [BaseLinearSolver] Remove virtual function BaseLinearSolver::isMultiGroup [SofaBaseLinearSolver] Remove virtual function BaseLinearSolver::isMultiGroup Jan 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: clean Cleaning the code pr: fast merge Minor change that can be merged without waiting for the 7 review days pr: status ready Approved a pull-request, ready to be squashed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants