← Back to team overview

yade-dev team mailing list archive

Re: [Branch ~yade-dev/yade/trunk] Rev 2378: 1. Fix ForceN and ForceT export in VTKRecorder

 

2010/7/20 Václav Šmilauer <eudoxos@xxxxxxxx>

> > -     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     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References