I would like to know how to create a mapping of several states to one single state. I have some forces that depend on a state, but that state is defined kinematically as the sum of two other states (which are my degrees of freedom).
p = Bv + x
I have checked
BaseMapping and in both cases they talk only about mapping 1 to 1.
How would you create a 2 to 1 mapping?
Good to have you back on the forum!
In SOFA MultiMapping does exist. Do you want to implement your own mapping or using an existing one? Could you provide us a bit more insight on what are your “states” that you want to map?
See examples in examples/Components/mapping/IdentityMultiMapping.scn or SubsetMultiMapping.scn
You must be logged in to reply to this topic.
Get involved in this forum: