← Back to team overview

yade-dev team mailing list archive

Re: removing PhysicalAction genericity?

 

> Should I still provide a mechanism to request which physicalActions will
> be used (like NEEDS_BEX now)? In another words: is there a case that
> someone doesn't need Momentum or Force and needs to save a few kbs of
> memory?
> 

Why not? Something like

if (is_used[FORCE]) reset_forces();
etc...

it does not create an overload...

-- 
Best regards, Sergei D.



References