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

Refactor STEP3 #115

Merged
merged 12 commits into from
Jul 25, 2024
Merged

Refactor STEP3 #115

merged 12 commits into from
Jul 25, 2024

Conversation

damienmarchal
Copy link
Member

Worked on PointManager.
@adagolodjo is this a controller ? or no

It looks like it is a controller... (but in that cas why exposing it to python ?)
Further refactoring should be added.
They are un-needed and bloat the namespace.
@adagolodjo
Copy link
Collaborator

Hi @damienmarchal, thanks for working on this component.
I will say that it is more of a topology manager than a controller. It is used to add or remove mechanical points in a topology. For instance, in the example of using the cosserat-based needle model, the component is used to create constraint points inside the volume. And these points are used to imitate the interaction of needle tissues.

It is important to always keep only the neededs includes.
Having un-needed includes:
	- slow down compilation time
	- increase (non linearly) the amount of file to recompile on change
	- make the code appears more complex and entangled that it is actually.
@damienmarchal
Copy link
Member Author

@adagolodjo did you check that the scenes are still working ?

On my side without unitttests it is very hard for me to be sure I'm not breaking things while refactoring. So I would advocate to really add much more automated testing an regression tests in cosserat

@adagolodjo
Copy link
Collaborator

Hi @damienmarchal,

Not yet, because I thought we would fix the problem on the CI first. But I'll take the branch and see if it compiles on my machine.
THANKS.

@adagolodjo adagolodjo merged commit 24a755b into pr-add-tests Jul 25, 2024
1 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants