yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #02158
[Branch ~yade-dev/yade/trunk] Rev 1772: 1. Update examples/concrete/uniax.py and add CpmPhysDamageColorizer to renamed classes dictionary...
------------------------------------------------------------
revno: 1772
committer: Václav Šmilauer <vaclav@flux>
branch nick: trunk
timestamp: Sun 2009-10-11 13:45:19 +0200
message:
1. Update examples/concrete/uniax.py and add CpmPhysDamageColorizer to renamed classes dictionary with warning.
modified:
examples/concrete/uniax.py
gui/py/PythonUI_rc.py
--
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 'examples/concrete/uniax.py'
--- examples/concrete/uniax.py 2009-08-22 18:21:25 +0000
+++ examples/concrete/uniax.py 2009-10-11 11:45:19 +0000
@@ -87,7 +87,7 @@
[Law2_Dem3DofGeom_CpmPhys_Cpm()],
),
NewtonsDampedLaw(damping=damping,label='damper'),
- CpmPhysDamageColorizer(realPeriod=1),
+ CpmStateUpdater(realPeriod=1),
UniaxialStrainer(strainRate=strainRateTension,axis=axis,asymmetry=0,posIds=posIds,negIds=negIds,crossSectionArea=crossSectionArea,blockDisplacements=False,blockRotations=False,setSpeeds=setSpeeds,label='strainer'),
PeriodicPythonRunner(virtPeriod=3e-5/strainRateTension,realLim=5,command='addPlotData()',label='plotDataCollector'),
PeriodicPythonRunner(realPeriod=4,command='stopIfDamaged()',label='damageChecker'),
=== modified file 'gui/py/PythonUI_rc.py'
--- gui/py/PythonUI_rc.py 2009-08-21 11:44:00 +0000
+++ gui/py/PythonUI_rc.py 2009-10-11 11:45:19 +0000
@@ -68,6 +68,8 @@
#### HANDLE RENAMED CLASSES ####
# if old class name is used, the new object is constructed and a warning is issued about old name being used
renamed={
+ # renamed 10.10.2009
+ 'CpmPhysDamageColorizer':'CpmStateUpdater',
# renamed 23.5.2009, may be removed in a few months
'BrefcomMakeContact':'Ip2_CpmMat_CpmMat_CpmPhys',
'BrefcomContact':'CpmPhys',