← Back to team overview

yade-dev team mailing list archive

Re: Contact between two different materials

 

> Tried to inherit WireMat from FrictMat and using
> Ip2_FrictMat_FrictMat_FrictPhys()
> Law2_ScGeom_FrictPhys_CundallStrack()
>
> but got this:
>
> terminate called after throwing an instance of 'std::runtime_error'
>   what():  Undefined or ambiguous IPhys dispatch for types FrictMat and 
> WireMat.
> Aborted
>
> Any suggestions where the problem could be?
Hard to guess just like that. Double-check that all types declarations
are correct in macros like YADE_BASE_... and FUNCTOR2D, make sure that
there is not a Frict_Wire and a Frict_Frict functor in the same
simulation (else it would be ambiguous), compile with debug symbols and
set the highest LOG level for dispatcher to get more details on the
failure. Others will have better ideas perhaps.

Bruno



Follow ups

References