yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #12406
[Branch ~yade-pkg/yade/git-trunk] Rev 3732: add labels to default engines for easier showcases
------------------------------------------------------------
revno: 3732
committer: Bruno Chareyre <bruno.chareyre@xxxxxxxxxxx>
timestamp: Tue 2015-10-13 11:26:40 +0200
message:
add labels to default engines for easier showcases
modified:
py/__init__.py.in
--
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 'py/__init__.py.in'
--- py/__init__.py.in 2015-04-24 15:54:07 +0000
+++ py/__init__.py.in 2015-10-13 09:26:40 +0000
@@ -93,13 +93,14 @@
# define a default list of engine
O.engines=[
ForceResetter(),
- InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb(),Bo1_Box_Aabb()]),
+ InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb(),Bo1_Box_Aabb()],label="collider"),
InteractionLoop(
[Ig2_Sphere_Sphere_ScGeom(),Ig2_Facet_Sphere_ScGeom(),Ig2_Box_Sphere_ScGeom()],
[Ip2_FrictMat_FrictMat_FrictPhys()], #for linear model only
- [Law2_ScGeom_FrictPhys_CundallStrack()], #for linear model only
+ [Law2_ScGeom_FrictPhys_CundallStrack(label="law")], #for linear model only
+ label="interactionLoop"
),
- GlobalStiffnessTimeStepper(timeStepUpdateInterval=10),
- NewtonIntegrator()
+ GlobalStiffnessTimeStepper(timeStepUpdateInterval=10,label="timeStepper"),
+ NewtonIntegrator(label="newton")
]