← 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

 

> -	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.

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








Follow ups

References