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

Cosserat extension refactoring 2 #111

Merged
merged 26 commits into from
Jun 26, 2024

Conversation

damienmarchal
Copy link
Member

No description provided.

damienmarchal and others added 26 commits June 11, 2024 10:59
Put in this fwd.h file all forward declaration of c++ types.
In our case this is where we will declare the SE3 from Matrix4.
Because msg_info already contains a test on wether we should print a message and this
is connected by the printLog data field.

More generally "debug" datafield is questionnable.
The sofa::helper::getReadAccessor function is to be used on type free expression this way:
auto a = getReadAccessor(m_data);
Among other things:
- instead of re-defining a new type in each class, re-using the one defined in
its parent.
- remove useless headers
- remove type declaration that does not seems to be needed.
@adagolodjo adagolodjo merged commit e6c00f6 into cosseratExtension Jun 26, 2024
0 of 6 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