yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #00885
[svn] r1634 - trunk/pkg/common/Engine/StandAloneEngine
Author: eudoxos
Date: 2009-01-24 00:06:59 +0100 (Sat, 24 Jan 2009)
New Revision: 1634
Modified:
trunk/pkg/common/Engine/StandAloneEngine/SpheresFactory.cpp
trunk/pkg/common/Engine/StandAloneEngine/SpheresFactory.hpp
Log:
omg...
Modified: trunk/pkg/common/Engine/StandAloneEngine/SpheresFactory.cpp
===================================================================
--- trunk/pkg/common/Engine/StandAloneEngine/SpheresFactory.cpp 2009-01-23 22:18:54 UTC (rev 1633)
+++ trunk/pkg/common/Engine/StandAloneEngine/SpheresFactory.cpp 2009-01-23 23:06:59 UTC (rev 1634)
@@ -16,6 +16,8 @@
#include<yade/pkg-dem/BodyMacroParameters.hpp>
#include"SpheresFactory.hpp"
+CREATE_LOGGER(SpheresFactory);
+
SpheresFactory::SpheresFactory() : first_run(true)
{
Modified: trunk/pkg/common/Engine/StandAloneEngine/SpheresFactory.hpp
===================================================================
--- trunk/pkg/common/Engine/StandAloneEngine/SpheresFactory.hpp 2009-01-23 22:18:54 UTC (rev 1633)
+++ trunk/pkg/common/Engine/StandAloneEngine/SpheresFactory.hpp 2009-01-23 23:06:59 UTC (rev 1634)
@@ -33,6 +33,8 @@
void createSphere(shared_ptr<Body>& body, const Vector3r& position, Real radius);
+ DECLARE_LOGGER;
+
REGISTER_ATTRIBUTES(StandAloneEngine,(factoryFacets)(labelBroadInteractor))
REGISTER_CLASS_AND_BASE(SpheresFactory, StandAloneEngine);