yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #11611
[Branch ~yade-pkg/yade/git-trunk] Rev 3517: Remove Cs parameter from VTK-export (sph only).
------------------------------------------------------------
revno: 3517
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
timestamp: Mon 2014-11-03 11:05:14 +0100
message:
Remove Cs parameter from VTK-export (sph only).
modified:
pkg/dem/VTKRecorder.cpp
--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk
Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'pkg/dem/VTKRecorder.cpp'
--- pkg/dem/VTKRecorder.cpp 2014-10-23 13:46:20 +0000
+++ pkg/dem/VTKRecorder.cpp 2014-11-03 10:05:14 +0000
@@ -138,10 +138,6 @@
spheresId->SetName("id");
#ifdef YADE_SPH
- vtkSmartPointer<vtkDoubleArray> spheresCsSPH = vtkSmartPointer<vtkDoubleArray>::New();
- spheresCsSPH->SetNumberOfComponents(1);
- spheresCsSPH->SetName("SPH_Cs");
-
vtkSmartPointer<vtkDoubleArray> spheresRhoSPH = vtkSmartPointer<vtkDoubleArray>::New();
spheresRhoSPH->SetNumberOfComponents(1);
spheresRhoSPH->SetName("SPH_Rho");
@@ -760,7 +756,6 @@
spheresUg->GetPointData()->AddArray(spheresAngVelLen);
}
#ifdef YADE_SPH
- spheresUg->GetPointData()->AddArray(spheresCsSPH);
spheresUg->GetPointData()->AddArray(spheresRhoSPH);
spheresUg->GetPointData()->AddArray(spheresPressSPH);
spheresUg->GetPointData()->AddArray(spheresCoordNumbSPH);