Template instanciation problem#177
Open
AppaSalif wants to merge 17 commits intoSofaDefrost:mainfrom
Open
Conversation
added 10 commits
April 24, 2026 09:02
…e à vérifier la manière dont la force se propage le long de la tige
…ns dans le calcul du coadjoint qui N'EST PAS la transposé de l'adjoint
… the tutorials repository
…ends on the inverse of the adjoint and NOT the adjoint (see Renda et al. 2018)
…n the applyJ function to match that of DiscreteCosseratMapping
…osseratMapping (S2R) + All tutorials using S2R are now available in the folder using_lie_algebra and all of them work perfectly
added 3 commits
May 6, 2026 10:34
…a fonction membre init() pour qu'elle puisse fonctionner avec différents templates à l'aide d'une méthode virtuelle, initialization(), que je peux définir dans les classes dérivées
…factory | Correction et Validation de la fonction apply()
Author
|
The template instantiation problem is now solved. I adapted the |
added 4 commits
May 6, 2026 17:07
…2StrainCosseratMapping -- Je dois calculer la vitesse des déformations connaissant la vitesse des configs -- un peu de modelisatio s'impose
…) du composant Frames2StrainCosseratMapping
…pping + une petite amélioration du testFrames2Strain.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The new component Frames2StrainCosseratMapping computes the strains (Vec3, output) from the frames (Rigid3, In1) and the rigid base (Rigid3, In2).
Since this component does the exact opposite of the recent component we wrote based on Lie algebra (Strain2RigidCosseratMapping), it makes sense to write the Frames2StrainCosseratMapping class as a derived class from the base class CosseratGeometryMapping, just as it is in Strain2RigidCosseratMapping. And that's where I'm running into problems. In the base class's
initfunction, we work very precisely with rigid frames as output because we use methods likegetOrientation()orgetCenter(). And so it doesn't work with our new component (Vec3 as output). I tried overriding theinit()function in Frames2Strain to bypass the one in the base class, but there too I'm encountering problems with the templates.