← Back to team overview

yade-dev team mailing list archive

Re: Body::groupMask could be unsigned int

 

2014-06-06 10:47 GMT+02:00 Jan Stránský <honzik.stransky@xxxxxxxxx>:
> I am soory, I am not sure what exactly is the point here :-) The duplicate
> code in maskOk and maskCompatible? int argument is necessary as some other
> classes uses ints (like NewtonIntegrator or
> collider::avoidSelfInteractionMask), bp::long_ is optionally for body-body
> evaluation. Probably I could template it.

>From my point of view we should have just one possible typedef for
groupmask: int or boost,
depending on the BODY_GROUP_MASK_ARBITRARY_PRECISION flag.

Regards

Anton


Follow ups

References