← Back to team overview

yade-users team mailing list archive

Re: material dispatching

 

> Yade [6]: terminate called after throwing an instance of
> 'std::runtime_error'
>   what():  Undefined or ambiguous InteractionPhysics dispatch for
> types FrictMat and CohFrictMat.
> 
> Virtualy, it could have work : CFM inherits from FM, so that
> Ip2_FM_FM_FP apply. Is it possible to implement this behaviour?
> For now, I'd have to add an Ip2_FM_CFM_FP to workaround this. It would
> be an exact copy of Ip2_FM_FM_FP. 
Can you post a minimal script? I will have a look. It is possible that
the dispatch is "ambiguous" because it can work either way -- CFM+FM or
FM+CFM, and the dispatcher is not smart enough to notice that such 2
different dispatches end up using the same functor.

v.






Follow ups

References