← Back to team overview

yade-dev team mailing list archive

Re: [Branch ~yade-dev/yade/trunk] Rev 1826: 1. Remove implementation of global functions from Tetra.hpp to Tetra.cpp (gave errors on linking ...

 

sega@think:~/work/yade/trunk/scripts/test> yade-trunk
TCP python prompt on localhost:9000, auth cookie `cduasy'
TCP info provider on localhost:21000

		__   __    ____          ____                      _
		\ \ / /_ _|  _ \  ___   / ___|___  _ __  ___  ___ | | ___
		 \ V / _` | | | |/ _ \ | |   / _ \| '_ \/ __|/ _ \| |/ _ \
		  | | (_| | |_| |  __/ | |__| (_) | | | \__ \ (_) | |  __/
		  |_|\__,_|____/ \___|  \____\___/|_| |_|___/\___/|_|\___|
		

In [1]: _pyRootClasses
Out[1]:
set(['BoundingVolume',
     'BoundingVolumeEngineUnit',
     'ConstitutiveLaw',
     'DeusExMachina',
     'FileGenerator',
     'InteractingGeometry',
     'InteractionGeometry',
     'InteractionGeometryEngineUnit',
     'InteractionPhysics',
     'InteractionPhysicsEngineUnit',
     'Material',
     'StandAloneEngine',
     'State'])

In [2]: O.childClasses('StandAloneEngine')
Out[2]: []

In [3]: listChildClassesRecursive('Material')
Out[3]: set()

In [4]: dir()
Out[4]:
['BexContainer',
 'Body',
 'BodyContainer',
 'BodyIterator',
 'BoundingVolume',
 'BoundingVolumeEngineUnit',
 'BoundingVolumeMetaEngine',
 'ConstitutiveLaw',
 'ConstitutiveLawDispatcher',
 'DeusExMachina',
 'Engine',
 'EngineUnit',
 'FileGenerator',
 'IPShellEmbed',
 'IPython',
 'In',
 'InteractingGeometry',
 'Interaction',
 'InteractionContainer',
 'InteractionDispatchers',
 'InteractionGeometry',
 'InteractionGeometryEngineUnit',
 'InteractionGeometryMetaEngine',
 'InteractionIterator',
 'InteractionPhysics',
 'InteractionPhysicsEngineUnit',
 'InteractionPhysicsMetaEngine',
 'Material',
 'MaterialContainer',
 'MetaEngine',
 'Omega',
 'Out',
 'ParallelEngine',
 'Quaternion',
 'STLImporter',
 'Serializable',
 'StandAloneEngine',
 'State',
 'TagsWrapper',
 'TimingDeltas',
 'Vector2',
 'Vector3',
 '_',
 '_1',
 '_2',
 '_3',
 '__',
 '__IP',
 '___',
 '__builtins__',
 '__doc__',
 '__file__',
 '__name__',
 '__package__',
 '_allSerializables',
 '_dh',
 '_i',
 '_i1',
 '_i2',
 '_i3',
 '_i4',
 '_ih',
 '_ii',
 '_iii',
 '_ip',
 '_noPropsClasses',
 '_oh',
 '_proxiedClasses',
 '_proxyNamespace',
 '_pyRootClasses',
 '_sh',
 'acos',
 'acosh',
 'asin',
 'asinh',
 'atan',
 'atan2',
 'atanh',
 'ceil',
 'cleanup',
 'componentMaxVector',
 'componentMinVector',
 'componentSum',
 'copysign',
 'cos',
 'cosh',
 'degrees',
 'diagDiv',
 'diagMult',
 'division',
 'e',
 'exp',
 'fabs',
 'factorial',
 'floor',
 'fmod',
 'frexp',
 'fsum',
 'help',
 'hypot',
 'info',
 'ip',
 'ipshell',
 'isinf',
 'isnan',
 'ldexp',
 'listChildClassesRecursive',
 'log',
 'log10',
 'log1p',
 'modf',
 'oldName',
 'pi',
 'pow',
 'quaternionFromAxes',
 'quaternionToAxes',
 'quaternionToEulerAngles',
 'quaterniontoGLMatrix',
 'radians',
 'renamed',
 'root',
 'rootType',
 'runtime',
 'sin',
 'sinh',
 'sqrt',
 'srv',
 'sys',
 'tan',
 'tanh',
 'trunc',
 'unitVectorsAngle',
 'utils',
 'warnWrap',
 'yade',
 'yade_completers']

In [5]:


> Unable to reproduce, please run yade (just the command-line) and send
> output of the following:
>
> _pyRootClasses
> O.childClasses('StandAloneEngine')
> listChildClassesRecursive('Material')
> dir()
>
> You should get something like
>
> set(['BoundingVolume',
>      'BoundingVolumeEngineUnit',
>      'ConstitutiveLaw',
>      'DeusExMachina',
>      'FileGenerator',
>      'InteractingGeometry',
>      'InteractionGeometry',
>      'InteractionGeometryEngineUnit',
>      'InteractionPhysics',
>      'InteractionPhysicsEngineUnit',
>      'Material',
>      'StandAloneEngine',
>      'State'])
>
> ['BexResetter',
>  'Collider',
>  'InteractionDispatchers',
>  'InteractionSolver',
>  'NewtonsDampedLaw',
>  'PeriIsoCompressor',
>  'PeriodicEngine',
>  'PhysicalActionContainerReseter',
>  'TimeStepper',
>  'UniaxialStrainer']
>
> set(['CpmMat', 'ElasticMat', 'GranularMat', 'RpmMat',
> 'SimpleViscoelasticMat'])
>
> and
>
> [bunch of stuff here, starting with BexContainer, since it is
> alphabetical
>
>
> Run scons clean and compile again, this looks like someting suspicious.
> Don't you get some warning at startup or such?
>


-- 
Best regards,

Sergei Dorofeenko,
Cand. Phys.-Mat. Sci.

Institute of Problems of Chemical Physics,
Chernogolovka, Moscow region, Russia.

e-mail: dorofeenko@xxxxxxxxx




Follow ups

References