2010/7/20 Václav Šmilauer <[email protected]> > > - intrForceN->SetNumberOfComponents(1); > > + vtkSmartPointer<vtkFloatArray> intrAbsForceT = > vtkSmartPointer<vtkFloatArray>::New(); > > + if(recActive[REC_CPM]) { > > + intrForceN->SetNumberOfComponents(1); > > + } else { > > + intrForceN->SetNumberOfComponents(3); > > + } > NO!!! Are you crazy? I don't care if you add another array, or if forceN > has 3 components, but why should it be DIFFERENT for cpm? Oh please > uncommit that. > > No, I am not crazy! It was in your code and I leaved as it is and did want to break your code. Sorry. I can do your CPM intrForceN like others, if you want.
> Besides that did you TRY to get those cylinders? I don't think it will > work even if you same forceN like this. How do you make the cylinder > height unstaled and the radius scaled? > > v > > > > > > > _______________________________________________ > Mailing list: > https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev> > Post to : [email protected] > Unsubscribe : > https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev> > More help : https://help.launchpad.net/ListHelp >
_______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

