← Back to team overview

yade-dev team mailing list archive

Re: [svn] r1822 - in trunk: pkg/dem/Engine/StandAloneEngine scripts scripts/test

 


1. Rename ef2_Dem3Dof_Elastic_ElasticLaw to Law2_Dem3Dof_Elastic_Elastic (in scripts as well)

Hi,
Some news about naming convention?
Just some tentatives in individual cases. If we call 2d functors ef2, it will be too many ef2_* things. So I tried to call it Law2_..., just like I already did for Law2_Dem3Dof_CpmPhys_Cpm, Ip2_CpmMat_CpmMat_CpmPhys for InteractionPhysics 2d functor, CpmMat (as for material) for PhysicalParameters... (In that case, we should have Ig2_Sphere_Sphere_Dem3DofGeom instead of ef2_Sphere_Sphere_Dem3DofGeom.).

But I don't know, honestly; the last attempt at new class names was rather failure. Yade architecture is still in the state of flux, so I don't think it would be wise to change names everywhere at once. (Besides, I don't want flaming on the ML about this, just like flames about CamelCase vs. under_scores, tabs vs. spaces etc.)

V.




References