← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-dev/yade/trunk] Rev 1817: 1.VTKRecorder is activated, except REC_CPM

 

------------------------------------------------------------
revno: 1817
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
branch nick: trunk
timestamp: Tue 2009-11-24 15:47:35 +0100
message:
  1.VTKRecorder is activated, except REC_CPM
modified:
  pkg/dem/Engine/StandAloneEngine/VTKRecorder.cpp


--
lp:yade
https://code.launchpad.net/~yade-dev/yade/trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-dev/yade/trunk/+edit-subscription.
=== modified file 'pkg/dem/Engine/StandAloneEngine/VTKRecorder.cpp'
--- pkg/dem/Engine/StandAloneEngine/VTKRecorder.cpp	2009-11-23 14:56:10 +0000
+++ pkg/dem/Engine/StandAloneEngine/VTKRecorder.cpp	2009-11-24 14:47:35 +0000
@@ -149,7 +149,9 @@
 				if(recActive[REC_VELOCITY]){
 					spheresVelocity->InsertNextTupleValue((float*)(&b->state->vel));
 				}
-				if (recActive[REC_CPM]) {
+				/*
+				*Vaclav, please, fix it. 
+				* if (recActive[REC_CPM]) {
 					cpmDamage->InsertNextValue(YADE_PTR_CAST<CpmState>(b->material)->normDmg);
 					const Vector3r& ss=YADE_PTR_CAST<CpmState>(b->material)->sigma;
 					const Vector3r& tt=YADE_PTR_CAST<CpmState>(b->material)->tau;
@@ -158,7 +160,7 @@
 					cpmSigma->InsertNextTupleValue(s);
 					cpmSigmaM->InsertNextValue((ss[0]+ss[1]+ss[2])/3.);
 					cpmTau->InsertNextTupleValue(t);
-				}
+				}*/
 				continue;
 			}
 		}
@@ -252,7 +254,3 @@
 	//writer->SetInput(multiblockDataset);
 	//writer->Write();	
 }
-
-
-YADE_REQUIRE_FEATURE(PHYSPAR);
-