← Back to team overview

yade-dev team mailing list archive

Re: [Branch ~yade-dev/yade/trunk] Rev 2378: 1. Some VTK recorder fixes.

 

> +       vtkSmartPointer<vtkUnstructuredGrid> intrUg =
> vtkSmartPointer<vtkUnstructuredGrid>::New();
>        if (recActive[REC_INTR]){
> -               vtkSmartPointer<vtkUnstructuredGrid> intrUg =
> vtkSmartPointer<vtkUnstructuredGrid>::New();
>                intrUg->SetPoints(intrBodyPos);
>                intrUg->SetCells(VTK_LINE, intrCells);
> -               if (recActive[REC_CPM]){
> -                        intrUg->GetCellData()->AddArray(intrForceN);
> -                        intrUg->GetCellData()->AddArray(intrAbsForceT);
> +               intrUg->GetCellData()->AddArray(intrForceN);
> +               intrUg->GetCellData()->AddArray(intrAbsForceT);
>


Hi, Vaclav!

Have you tested it already? I have just tried, but I do not see "intrForceN"
and "intrAbsForceT" in select-list to create Glyphs.

Could you not check it?

Thanks.

Follow ups

References