← Back to team overview

yade-users team mailing list archive

[Question #153589]: Adding an IGeomFunctor subclass

 

New question #153589 on Yade:
https://answers.launchpad.net/yade/+question/153589

Hi all,

I would like to add a "Ig2_Sphere_ChainedCylinder_CylScGeom" subclass named "Ig2_Sphere_ChainedCylinder_ScGeom6D". (exactly like it works with "Ig2_Sphere_Sphere_ScGeom6D")
I have made the subclass in the "Cylinder.hpp" and "Cylinder.cpp" files and the compilation with scons is ok.
But in python, when I add Ig2_Sphere_ChainedCylinder_ScGeom6D in the InteractionLoop's list, I get this error :

"[Ig2_ChainedCylinder_ChainedCylinder_ScGeom6D(), Ig2_Sphere_ChainedCylinder_ScGeom6D(), Ig2_Sphere_Sphere_ScGeom6D(),Ig2_Box_Sphere_ScGeom()],
NameError: name 'Ig2_Sphere_ChainedCylinder_ScGeom6D' is not defined"

I'm using yade-trunk branch, version bzr2798

Thanks for your help

Francois

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.