← Back to team overview

yade-dev team mailing list archive

Re: float, double, the DOUBLE_PRECISION flag

 

Bruno, valgrind works here. Valgring even catches some stuff going on 
with PhysicalActionVectorVectorIterator::increment() - see below. Do you 
fiddle with that somehow or is it not realted to triaxial test?

...
Computing 20000 iterations
Using timestep: 0.1
Saving snapshot every 4000 iterations,
to filename: traixial_[0-9]
StiffnessMatrixTimeStepper, newDt is:1.79769e+308
new timestep chosen is:0.0003
==1228==
==1228== Conditional jump or move depends on uninitialised value(s)
==1228==    at 0x5D472A3: 
PhysicalActionVectorVectorIterator::increment() 
(PhysicalActionVectorVectorIterator.cpp:41)
==1228==    by 0x5FDCED4: 
PhysicalActionContainerIteratorPointer::operator++() 
(PhysicalActionContainerIteratorPointer.hpp:46)
==1228==    by 0x628AFFE: PhysicalActionDamper::action(Body*) 
(PhysicalActionDamper.cpp:20)
==1228==    by 0x80E5FF8: MetaBody::moveToNextTimeStep() (MetaBody.cpp:65)
==1228==    by 0x80FD114: NullGUI::loop() (NullGUI.cpp:152)
==1228==    by 0x80FDFCB: NullGUI::run(int, char**) (NullGUI.cpp:109)
==1228==    by 0x812A88D: main (yade.cpp:182)
==1228==
==1228== Conditional jump or move depends on uninitialised value(s)
==1228==    at 0x5D472A3: 
PhysicalActionVectorVectorIterator::increment() 
(PhysicalActionVectorVectorIterator.cpp:41)
==1228==    by 0x5FDCED4: 
PhysicalActionContainerIteratorPointer::operator++() 
(PhysicalActionContainerIteratorPointer.hpp:46)
==1228==    by 0x5FD910A: PhysicalActionApplier::action(Body*) 
(PhysicalActionApplier.cpp:19)
==1228==    by 0x80E5FF8: MetaBody::moveToNextTimeStep() (MetaBody.cpp:65)
==1228==    by 0x80FD114: NullGUI::loop() (NullGUI.cpp:152)
==1228==    by 0x80FDFCB: NullGUI::run(int, char**) (NullGUI.cpp:109)
==1228==    by 0x812A88D: main (yade.cpp:182)
UnbalancedForce=nan
StiffnessMatrixTimeStepper, newDt is:1.79769e+308
new timestep chosen is:0.0003
UnbalancedForce=nan
UnbalancedForce=nan
UnbalancedForce=1
UnbalancedForce=0.5
UnbalancedForce=0.56172
UnbalancedForce=0.588065
UnbalancedForce=0.520844
UnbalancedForce=0.501675
_______________________________________________
yade-dev mailing list
yade-dev@xxxxxxxxxxxxxxxx
https://lists.berlios.de/mailman/listinfo/yade-dev



Follow ups

References