Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
yade-dev
trunk
Commits
d51a7e3d
Commit
d51a7e3d
authored
Nov 07, 2010
by
Václav Šmilauer
Browse files
1. Replace includes {lib,pkg}-* with {lib,pkg}/*; compiles (no full compilation tested)
parent
ac548173
Changes
221
Hide whitespace changes
Inline
Side-by-side
Showing
75 changed files
with
132 additions
and
130 deletions
+132
-130
SConstruct
SConstruct
+7
-5
core/Body.hpp
core/Body.hpp
+3
-3
core/BodyContainer.hpp
core/BodyContainer.hpp
+1
-1
core/Bound.hpp
core/Bound.hpp
+3
-3
core/Cell.hpp
core/Cell.hpp
+2
-2
core/Dispatcher.hpp
core/Dispatcher.hpp
+1
-1
core/EnergyTracker.hpp
core/EnergyTracker.hpp
+2
-2
core/Engine.hpp
core/Engine.hpp
+2
-2
core/FileGenerator.cpp
core/FileGenerator.cpp
+2
-2
core/FileGenerator.hpp
core/FileGenerator.hpp
+2
-2
core/ForceContainer.hpp
core/ForceContainer.hpp
+1
-1
core/FrontEnd.hpp
core/FrontEnd.hpp
+1
-1
core/Functor.hpp
core/Functor.hpp
+2
-2
core/GroupRelationData.hpp
core/GroupRelationData.hpp
+1
-1
core/IGeom.hpp
core/IGeom.hpp
+3
-3
core/IPhys.hpp
core/IPhys.hpp
+3
-3
core/Interaction.hpp
core/Interaction.hpp
+1
-1
core/InteractionContainer.hpp
core/InteractionContainer.hpp
+1
-1
core/Material.hpp
core/Material.hpp
+2
-2
core/Omega.cpp
core/Omega.cpp
+4
-4
core/Omega.hpp
core/Omega.hpp
+3
-3
core/Scene.cpp
core/Scene.cpp
+1
-1
core/Shape.hpp
core/Shape.hpp
+2
-2
core/State.hpp
core/State.hpp
+2
-2
core/corePlugins.cpp
core/corePlugins.cpp
+1
-1
core/main/pyboot.cpp
core/main/pyboot.cpp
+1
-1
gui/qt4/GLViewer.cpp
gui/qt4/GLViewer.cpp
+2
-2
gui/qt4/GLViewer.hpp
gui/qt4/GLViewer.hpp
+2
-2
gui/qt4/_GLViewer.cpp
gui/qt4/_GLViewer.cpp
+2
-2
lib/base/Math.cpp
lib/base/Math.cpp
+1
-1
lib/base/openmp-accu.hpp
lib/base/openmp-accu.hpp
+1
-1
lib/factory/ClassFactory.cpp
lib/factory/ClassFactory.cpp
+1
-1
lib/factory/ClassFactory.hpp
lib/factory/ClassFactory.hpp
+1
-1
lib/factory/DynLibManager.hpp
lib/factory/DynLibManager.hpp
+1
-1
lib/multimethods/DynLibDispatcher.hpp
lib/multimethods/DynLibDispatcher.hpp
+2
-2
lib/multimethods/FunctorWrapper.hpp
lib/multimethods/FunctorWrapper.hpp
+1
-1
lib/opengl/GLUtils.hpp
lib/opengl/GLUtils.hpp
+1
-1
lib/opengl/OpenGLWrapper.hpp
lib/opengl/OpenGLWrapper.hpp
+1
-1
lib/pyutil/gil.cpp
lib/pyutil/gil.cpp
+1
-1
lib/serialization/Serializable.hpp
lib/serialization/Serializable.hpp
+4
-4
lib/smoothing/WeightedAverage2d.hpp
lib/smoothing/WeightedAverage2d.hpp
+1
-1
pkg/common/Bo1_Box_Aabb.cpp
pkg/common/Bo1_Box_Aabb.cpp
+2
-2
pkg/common/Bo1_Box_Aabb.hpp
pkg/common/Bo1_Box_Aabb.hpp
+1
-1
pkg/common/Bo1_Sphere_Aabb.cpp
pkg/common/Bo1_Sphere_Aabb.cpp
+2
-2
pkg/common/Bo1_Sphere_Aabb.hpp
pkg/common/Bo1_Sphere_Aabb.hpp
+1
-1
pkg/common/BoundaryController.cpp
pkg/common/BoundaryController.cpp
+1
-1
pkg/common/Callbacks.cpp
pkg/common/Callbacks.cpp
+1
-1
pkg/common/Callbacks.hpp
pkg/common/Callbacks.hpp
+1
-1
pkg/common/Collider.cpp
pkg/common/Collider.cpp
+1
-1
pkg/common/Collider.hpp
pkg/common/Collider.hpp
+1
-1
pkg/common/Cylinder.cpp
pkg/common/Cylinder.cpp
+3
-3
pkg/common/Cylinder.hpp
pkg/common/Cylinder.hpp
+4
-4
pkg/common/Dispatching.cpp
pkg/common/Dispatching.cpp
+2
-2
pkg/common/Dispatching.hpp
pkg/common/Dispatching.hpp
+2
-2
pkg/common/ElastMat.cpp
pkg/common/ElastMat.cpp
+1
-1
pkg/common/FieldApplier.cpp
pkg/common/FieldApplier.cpp
+1
-1
pkg/common/ForceEngine.cpp
pkg/common/ForceEngine.cpp
+2
-2
pkg/common/ForceResetter.cpp
pkg/common/ForceResetter.cpp
+1
-1
pkg/common/GLDrawFunctors.cpp
pkg/common/GLDrawFunctors.cpp
+1
-1
pkg/common/GLDrawFunctors.hpp
pkg/common/GLDrawFunctors.hpp
+1
-1
pkg/common/Gl1_Aabb.cpp
pkg/common/Gl1_Aabb.cpp
+2
-2
pkg/common/Gl1_Aabb.hpp
pkg/common/Gl1_Aabb.hpp
+1
-1
pkg/common/Gl1_Box.cpp
pkg/common/Gl1_Box.cpp
+2
-2
pkg/common/Gl1_Box.hpp
pkg/common/Gl1_Box.hpp
+1
-1
pkg/common/Gl1_Facet.cpp
pkg/common/Gl1_Facet.cpp
+1
-1
pkg/common/Gl1_Facet.hpp
pkg/common/Gl1_Facet.hpp
+1
-1
pkg/common/Gl1_NormPhys.cpp
pkg/common/Gl1_NormPhys.cpp
+4
-4
pkg/common/Gl1_NormPhys.hpp
pkg/common/Gl1_NormPhys.hpp
+3
-3
pkg/common/Gl1_Sphere.cpp
pkg/common/Gl1_Sphere.cpp
+2
-2
pkg/common/Gl1_Sphere.hpp
pkg/common/Gl1_Sphere.hpp
+1
-1
pkg/common/GravityEngines.cpp
pkg/common/GravityEngines.cpp
+2
-2
pkg/common/GravityEngines.hpp
pkg/common/GravityEngines.hpp
+1
-1
pkg/common/InsertionSortCollider.cpp
pkg/common/InsertionSortCollider.cpp
+3
-3
pkg/common/InsertionSortCollider.hpp
pkg/common/InsertionSortCollider.hpp
+1
-1
pkg/common/InteractionLoop.hpp
pkg/common/InteractionLoop.hpp
+2
-2
No files found.
SConstruct
View file @
d51a7e3d
...
...
@@ -510,9 +510,15 @@ if not env.GetOption('clean'):
#installHeaders() # install to buildDir always
#if 0: # do not install headers
# installHeaders(env.subst('$PREFIX')) # install to $PREFIX if specifically requested: like "scons /usr/local/include"
def
mkSymlink
(
link
,
target
):
if
exists
(
link
)
and
not
islink
(
link
):
os
.
remove
(
link
)
if
not
exists
(
link
):
if
lexists
(
link
):
os
.
remove
(
link
)
# remove dangling symlink
os
.
symlink
(
relpath
(
link
,
target
),
link
)
yadeInc
=
join
(
buildDir
,
'include/yade'
)
if
not
os
.
path
.
exists
(
yadeInc
):
os
.
makedirs
(
yadeInc
)
mkSymlink
(
yadeInc
,
'.'
)
#if not os.path.exists(yadeInc): os.makedirs(yadeInc)
import
glob
# old compat paths
#for p in ['core','extra']+glob.glob('lib/*')+glob.glob('pkg/*')+glob.glob('gui'):
...
...
@@ -522,10 +528,6 @@ if not env.GetOption('clean'):
# os.symlink(relpath(link,p),link)
boostDir
=
buildDir
+
'/include/boost'
if
not
exists
(
boostDir
):
os
.
makedirs
(
boostDir
)
def
mkSymlink
(
link
,
target
):
if
not
exists
(
link
):
if
lexists
(
link
):
os
.
remove
(
link
)
# remove dangling symlink
os
.
symlink
(
relpath
(
link
,
target
),
link
)
if
not
env
[
'haveForeach'
]:
mkSymlink
(
boostDir
+
'/foreach.hpp'
,
'extra/foreach.hpp_local'
)
#mkSymlink(boostDir+'/python','py/3rd-party/boost-python-indexing-suite-v2-noSymlinkHeaders')
...
...
core/Body.hpp
View file @
d51a7e3d
...
...
@@ -15,9 +15,9 @@
#include"State.hpp"
#include"Material.hpp"
#include<yade/lib
-
base/Math.hpp>
#include<yade/lib
-
serialization/Serializable.hpp>
#include<yade/lib
-
multimethods/Indexable.hpp>
#include<yade/lib
/
base/Math.hpp>
#include<yade/lib
/
serialization/Serializable.hpp>
#include<yade/lib
/
multimethods/Indexable.hpp>
class
Scene
;
...
...
core/BodyContainer.hpp
View file @
d51a7e3d
...
...
@@ -4,7 +4,7 @@
#pragma once
#include<yade/lib
-
serialization/Serializable.hpp>
#include<yade/lib
/
serialization/Serializable.hpp>
#include<boost/foreach.hpp>
#ifndef FOREACH
...
...
core/Bound.hpp
View file @
d51a7e3d
...
...
@@ -7,9 +7,9 @@
*************************************************************************/
#pragma once
#include<yade/lib
-
base/Math.hpp>
#include<yade/lib
-
serialization/Serializable.hpp>
#include<yade/lib
-
multimethods/Indexable.hpp>
#include<yade/lib
/
base/Math.hpp>
#include<yade/lib
/
serialization/Serializable.hpp>
#include<yade/lib
/
multimethods/Indexable.hpp>
#include<yade/core/Dispatcher.hpp>
/*! Interface for approximate body locations in space
...
...
core/Cell.hpp
View file @
d51a7e3d
...
...
@@ -14,8 +14,8 @@ The transformation has normal part and rotation/shear part. the shearPt, unshear
#pragma once
#include<yade/lib
-
serialization/Serializable.hpp>
#include<yade/lib
-
base/Math.hpp>
#include<yade/lib
/
serialization/Serializable.hpp>
#include<yade/lib
/
base/Math.hpp>
class
Cell
:
public
Serializable
{
public:
...
...
core/Dispatcher.hpp
View file @
d51a7e3d
...
...
@@ -13,7 +13,7 @@
#include<yade/core/Engine.hpp>
#include<yade/core/Functor.hpp>
#include<yade/core/Omega.hpp>
#include<yade/lib
-
multimethods/DynLibDispatcher.hpp>
#include<yade/lib
/
multimethods/DynLibDispatcher.hpp>
#include<boost/preprocessor/cat.hpp>
...
...
core/EnergyTracker.hpp
View file @
d51a7e3d
...
...
@@ -2,8 +2,8 @@
#include<boost/python.hpp>
#include<boost/foreach.hpp>
#include<string>
#include<yade/lib
-
base/openmp-accu.hpp>
#include<yade/lib
-
serialization/Serializable.hpp>
#include<yade/lib
/
base/openmp-accu.hpp>
#include<yade/lib
/
serialization/Serializable.hpp>
#ifndef FOREACH
#define FOREACH BOOST_FOREACH
...
...
core/Engine.hpp
View file @
d51a7e3d
...
...
@@ -10,10 +10,10 @@
#pragma once
#include<yade/lib
-
serialization/Serializable.hpp>
#include<yade/lib
/
serialization/Serializable.hpp>
#include<yade/core/Omega.hpp>
#include<yade/core/Timing.hpp>
#include<yade/lib
-
base/Logging.hpp>
#include<yade/lib
/
base/Logging.hpp>
#include<stdexcept>
#include<boost/foreach.hpp>
...
...
core/FileGenerator.cpp
View file @
d51a7e3d
...
...
@@ -7,8 +7,8 @@
#include<boost/date_time/posix_time/posix_time.hpp>
#include<yade/core/Omega.hpp>
#include<yade/lib
-
pyutil/gil.hpp>
#include<yade/lib
-
serialization/ObjectIO.hpp>
#include<yade/lib
/
pyutil/gil.hpp>
#include<yade/lib
/
serialization/ObjectIO.hpp>
#include"FileGenerator.hpp"
...
...
core/FileGenerator.hpp
View file @
d51a7e3d
...
...
@@ -8,8 +8,8 @@
#pragma once
#include<yade/lib
-
serialization/Serializable.hpp>
#include<yade/lib
-
base/Logging.hpp>
#include<yade/lib
/
serialization/Serializable.hpp>
#include<yade/lib
/
base/Logging.hpp>
#include "Scene.hpp"
#include "ThreadWorker.hpp"
...
...
core/ForceContainer.hpp
View file @
d51a7e3d
...
...
@@ -3,7 +3,7 @@
#include<string.h>
#include<vector>
#include<yade/lib
-
base/Math.hpp>
#include<yade/lib
/
base/Math.hpp>
// for Body::id_t
#include<yade/core/Body.hpp>
...
...
core/FrontEnd.hpp
View file @
d51a7e3d
...
...
@@ -10,7 +10,7 @@
#include "Omega.hpp"
#include<yade/lib
-
factory/Factorable.hpp>
#include<yade/lib
/
factory/Factorable.hpp>
class
FrontEnd
:
public
Factorable
{
...
...
core/Functor.hpp
View file @
d51a7e3d
...
...
@@ -10,8 +10,8 @@
#pragma once
#include<yade/lib
-
serialization/Serializable.hpp>
#include<yade/lib
-
multimethods/FunctorWrapper.hpp>
#include<yade/lib
/
serialization/Serializable.hpp>
#include<yade/lib
/
multimethods/FunctorWrapper.hpp>
class
TimingDeltas
;
class
Scene
;
...
...
core/GroupRelationData.hpp
View file @
d51a7e3d
...
...
@@ -15,7 +15,7 @@
#define YADE_GROUP_RELATION_DATA
#include<yade/lib
-
serialization/Serializable.hpp>
#include<yade/lib
/
serialization/Serializable.hpp>
#include <iostream>
#include <sstream>
...
...
core/IGeom.hpp
View file @
d51a7e3d
...
...
@@ -8,9 +8,9 @@
#pragma once
#include<yade/lib
-
base/Math.hpp>
#include<yade/lib
-
serialization/Serializable.hpp>
#include<yade/lib
-
multimethods/Indexable.hpp>
#include<yade/lib
/
base/Math.hpp>
#include<yade/lib
/
serialization/Serializable.hpp>
#include<yade/lib
/
multimethods/Indexable.hpp>
#include<yade/core/Dispatcher.hpp>
class
IGeom
:
public
Serializable
,
public
Indexable
...
...
core/IPhys.hpp
View file @
d51a7e3d
...
...
@@ -8,9 +8,9 @@
#pragma once
#include<yade/lib
-
base/Math.hpp>
#include<yade/lib
-
serialization/Serializable.hpp>
#include<yade/lib
-
multimethods/Indexable.hpp>
#include<yade/lib
/
base/Math.hpp>
#include<yade/lib
/
serialization/Serializable.hpp>
#include<yade/lib
/
multimethods/Indexable.hpp>
#include<yade/core/Dispatcher.hpp>
class
IPhys
:
public
Serializable
,
public
Indexable
...
...
core/Interaction.hpp
View file @
d51a7e3d
...
...
@@ -2,7 +2,7 @@
// Copyright (C) 2004 by Janek Kozicki <cosurgi@berlios.de>
//
#pragma once
#include<yade/lib
-
serialization/Serializable.hpp>
#include<yade/lib
/
serialization/Serializable.hpp>
// keep those two here, template instantiation & boost::python gets broken otherwise, e.g. https://bugs.launchpad.net/bugs/618766
#include<yade/core/IGeom.hpp>
#include<yade/core/IPhys.hpp>
...
...
core/InteractionContainer.hpp
View file @
d51a7e3d
...
...
@@ -4,7 +4,7 @@
#pragma once
#include<yade/lib
-
serialization/Serializable.hpp>
#include<yade/lib
/
serialization/Serializable.hpp>
#include<boost/thread/mutex.hpp>
#ifdef YADE_OPENMP
...
...
core/Material.hpp
View file @
d51a7e3d
// 2009 © Václav Šmilauer <eudoxos@arcig.cz>
#pragma once
#include<string>
#include<yade/lib
-
serialization/Serializable.hpp>
#include<yade/lib
-
multimethods/Indexable.hpp>
#include<yade/lib
/
serialization/Serializable.hpp>
#include<yade/lib
/
multimethods/Indexable.hpp>
#include<yade/core/State.hpp>
#include<yade/core/Dispatcher.hpp>
...
...
core/Omega.cpp
View file @
d51a7e3d
...
...
@@ -12,9 +12,9 @@
#include"Scene.hpp"
#include"TimeStepper.hpp"
#include"ThreadRunner.hpp"
#include<yade/lib
-
base/Math.hpp>
#include<yade/lib
-
multimethods/FunctorWrapper.hpp>
#include<yade/lib
-
multimethods/Indexable.hpp>
#include<yade/lib
/
base/Math.hpp>
#include<yade/lib
/
multimethods/FunctorWrapper.hpp>
#include<yade/lib
/
multimethods/Indexable.hpp>
#include<cstdlib>
#include<boost/filesystem/operations.hpp>
#include<boost/filesystem/convenience.hpp>
...
...
@@ -24,7 +24,7 @@
#include<boost/version.hpp>
#include<boost/python.hpp>
#include<yade/lib
-
serialization/ObjectIO.hpp>
#include<yade/lib
/
serialization/ObjectIO.hpp>
#include<cxxabi.h>
...
...
core/Omega.hpp
View file @
d51a7e3d
...
...
@@ -33,10 +33,10 @@
#include <boost/thread/thread.hpp>
#include <iostream>
#include<yade/lib
-
base/Math.hpp>
#include<yade/lib
-
factory/ClassFactory.hpp>
#include<yade/lib
/
base/Math.hpp>
#include<yade/lib
/
factory/ClassFactory.hpp>
#include<yade/lib
-
base/Singleton.hpp>
#include<yade/lib
/
base/Singleton.hpp>
#include "SimulationFlow.hpp"
...
...
core/Scene.cpp
View file @
d51a7e3d
...
...
@@ -13,7 +13,7 @@
#include<yade/core/Timing.hpp>
#include<yade/core/TimeStepper.hpp>
#include<yade/lib
-
base/Math.hpp>
#include<yade/lib
/
base/Math.hpp>
#include<boost/foreach.hpp>
#include<boost/date_time/posix_time/posix_time.hpp>
#include<boost/algorithm/string.hpp>
...
...
core/Shape.hpp
View file @
d51a7e3d
...
...
@@ -8,8 +8,8 @@
#pragma once
#include<yade/lib
-
serialization/Serializable.hpp>
#include<yade/lib
-
multimethods/Indexable.hpp>
#include<yade/lib
/
serialization/Serializable.hpp>
#include<yade/lib
/
multimethods/Indexable.hpp>
#include<yade/core/Dispatcher.hpp>
#define BV_FUNCTOR_CACHE
...
...
core/State.hpp
View file @
d51a7e3d
// 2009 © Václav Šmilauer <eudoxos@arcig.cz>
#pragma once
#include<yade/lib
-
serialization/Serializable.hpp>
#include<yade/lib
-
multimethods/Indexable.hpp>
#include<yade/lib
/
serialization/Serializable.hpp>
#include<yade/lib
/
multimethods/Indexable.hpp>
#include<yade/core/Dispatcher.hpp>
/*! State (internal & spatial variables) of a body.
...
...
core/corePlugins.cpp
View file @
d51a7e3d
#include<yade/lib
-
factory/ClassFactory.hpp>
#include<yade/lib
/
factory/ClassFactory.hpp>
// make core classes known to the class factory
#include<yade/core/Body.hpp>
#include<yade/core/BodyContainer.hpp>
...
...
core/main/pyboot.cpp
View file @
d51a7e3d
#include<yade/core/Omega.hpp>
#include<yade/lib
-
base/Logging.hpp>
#include<yade/lib
/
base/Logging.hpp>
#include<signal.h>
#include<cstdlib>
...
...
gui/qt4/GLViewer.cpp
View file @
d51a7e3d
...
...
@@ -11,7 +11,7 @@
#include"GLViewer.hpp"
#include"OpenGLManager.hpp"
#include<yade/lib
-
opengl/OpenGLWrapper.hpp>
#include<yade/lib
/
opengl/OpenGLWrapper.hpp>
#include<yade/core/Body.hpp>
#include<yade/core/Scene.hpp>
#include<yade/core/Interaction.hpp>
...
...
@@ -23,7 +23,7 @@
#include<sstream>
#include<iomanip>
#include<boost/algorithm/string/case_conv.hpp>
#include<yade/lib
-
serialization/ObjectIO.hpp>
#include<yade/lib
/
serialization/ObjectIO.hpp>
#include<QtGui/qevent.h>
...
...
gui/qt4/GLViewer.hpp
View file @
d51a7e3d
...
...
@@ -3,7 +3,7 @@
#pragma once
#include<yade/core/Omega.hpp>
#include<yade/pkg
-
common/OpenGLRenderer.hpp>
#include<yade/pkg
/
common/OpenGLRenderer.hpp>
#include<QGLViewer/qglviewer.h>
#include<QGLViewer/constraint.h>
...
...
@@ -11,7 +11,7 @@
#include<boost/date_time/posix_time/posix_time.hpp>
#include<set>
#include<yade/pkg
-
common/PeriodicEngines.hpp>
#include<yade/pkg
/
common/PeriodicEngines.hpp>
/*****************************************************************************
*********************************** SnapshotEngine ***************************
...
...
gui/qt4/_GLViewer.cpp
View file @
d51a7e3d
#include"GLViewer.hpp"
#include"OpenGLManager.hpp"
#include<boost/python.hpp>
#include<yade/pkg
-
common/OpenGLRenderer.hpp>
#include<yade/lib
-
pyutil/doc_opts.hpp>
#include<yade/pkg
/
common/OpenGLRenderer.hpp>
#include<yade/lib
/
pyutil/doc_opts.hpp>
#include<QApplication>
#include<QCloseEvent>
...
...
lib/base/Math.cpp
View file @
d51a7e3d
#include<yade/lib
-
base/Math.hpp>
#include<yade/lib
/
base/Math.hpp>
template
<
>
const
Real
Math
<
Real
>::
EPSILON
=
DBL_EPSILON
;
template
<
>
const
Real
Math
<
Real
>::
ZERO_TOLERANCE
=
1e-20
;
template
<
>
const
Real
Math
<
Real
>::
MAX_REAL
=
DBL_MAX
;
...
...
lib/base/openmp-accu.hpp
View file @
d51a7e3d
...
...
@@ -2,7 +2,7 @@
#pragma once
// for ZeroInitializer template
#include<yade/lib
-
base/Math.hpp>
#include<yade/lib
/
base/Math.hpp>
#include<boost/serialization/split_free.hpp>
#include<boost/lexical_cast.hpp>
...
...
lib/factory/ClassFactory.cpp
View file @
d51a7e3d
...
...
@@ -11,7 +11,7 @@
#include "ClassFactory.hpp"
#include<boost/algorithm/string/regex.hpp>
#include<yade/lib
-
base/Logging.hpp>
#include<yade/lib
/
base/Logging.hpp>
CREATE_LOGGER
(
ClassFactory
);
SINGLETON_SELF
(
ClassFactory
);
...
...
lib/factory/ClassFactory.hpp
View file @
d51a7e3d
...
...
@@ -26,7 +26,7 @@
#endif
#include<yade/lib
-
base/Singleton.hpp>
#include<yade/lib
/
base/Singleton.hpp>
#include<boost/preprocessor.hpp>
...
...
lib/factory/DynLibManager.hpp
View file @
d51a7e3d
...
...
@@ -16,7 +16,7 @@
#include <map>
#include <vector>
#include<yade/lib
-
base/Logging.hpp>
#include<yade/lib
/
base/Logging.hpp>
using
namespace
std
;
...
...
lib/multimethods/DynLibDispatcher.hpp
View file @
d51a7e3d
...
...
@@ -12,8 +12,8 @@
#include "Indexable.hpp"
#include<yade/lib
-
factory/ClassFactory.hpp>
#include<yade/lib
-
serialization/Serializable.hpp>
#include<yade/lib
/
factory/ClassFactory.hpp>
#include<yade/lib
/
serialization/Serializable.hpp>
#include<loki/Functor.h>
#include<loki/Typelist.h>
...
...
lib/multimethods/FunctorWrapper.hpp
View file @
d51a7e3d
...
...
@@ -9,7 +9,7 @@
#pragma once
#include<yade/lib
-
serialization/Serializable.hpp>
#include<yade/lib
/
serialization/Serializable.hpp>
#include<loki/Typelist.h>
#include<loki/Functor.h>
...
...
lib/opengl/GLUtils.hpp
View file @
d51a7e3d
...
...
@@ -4,7 +4,7 @@
//
#pragma once
#include<yade/lib
-
opengl/OpenGLWrapper.hpp>
#include<yade/lib
/
opengl/OpenGLWrapper.hpp>
#include<boost/lexical_cast.hpp>
#include<sstream>
#include<iomanip>
...
...
lib/opengl/OpenGLWrapper.hpp
View file @
d51a7e3d
...
...
@@ -12,7 +12,7 @@
#error "This build doesn't support openGL. Therefore, this header must not be used."
#endif
#include<yade/lib
-
base/Math.hpp>
#include<yade/lib
/
base/Math.hpp>
// disable temporarily
...
...
lib/pyutil/gil.cpp
View file @
d51a7e3d
#include<yade/lib
-
pyutil/gil.hpp>
#include<yade/lib
/
pyutil/gil.hpp>
void
pyRunString
(
const
std
::
string
&
cmd
){
gilLock
lock
;
PyRun_SimpleString
(
cmd
.
c_str
());
};
...
...
lib/serialization/Serializable.hpp
View file @
d51a7e3d
...
...
@@ -30,11 +30,11 @@
#include<string>
#include<vector>
#include<iostream>
#include<yade/lib
-
factory/Factorable.hpp>
#include<yade/lib
-
pyutil/raw_constructor.hpp>
#include<yade/lib
-
pyutil/doc_opts.hpp>
#include<yade/lib
/
factory/Factorable.hpp>
#include<yade/lib
/
pyutil/raw_constructor.hpp>
#include<yade/lib
/
pyutil/doc_opts.hpp>
#include<yade/lib
-
base/Math.hpp>
#include<yade/lib
/
base/Math.hpp>
using
namespace
boost
;
using
namespace
std
;
...
...
lib/smoothing/WeightedAverage2d.hpp
View file @
d51a7e3d
...
...
@@ -30,7 +30,7 @@
using
namespace
std
;
using
namespace
boost
;
#include<yade/lib
-
base/Math.hpp>
#include<yade/lib
/
base/Math.hpp>
template
<
typename
T
>
...
...
pkg/common/Bo1_Box_Aabb.cpp
View file @
d51a7e3d
...
...
@@ -7,8 +7,8 @@
*************************************************************************/
#include "Bo1_Box_Aabb.hpp"
#include<yade/pkg
-
common/Box.hpp>
#include<yade/pkg
-
common/Aabb.hpp>
#include<yade/pkg
/
common/Box.hpp>
#include<yade/pkg
/
common/Aabb.hpp>
void
Bo1_Box_Aabb
::
go
(
const
shared_ptr
<
Shape
>&
cm
,
...
...
pkg/common/Bo1_Box_Aabb.hpp
View file @
d51a7e3d
...
...
@@ -9,7 +9,7 @@
#pragma once
#include<yade/pkg
-
common/Dispatching.hpp>
#include<yade/pkg
/
common/Dispatching.hpp>
class
Bo1_Box_Aabb
:
public
BoundFunctor
{
...
...
pkg/common/Bo1_Sphere_Aabb.cpp
View file @
d51a7e3d
...
...
@@ -7,8 +7,8 @@
*************************************************************************/
#include "Bo1_Sphere_Aabb.hpp"
#include<yade/pkg
-
common/Sphere.hpp>
#include<yade/pkg
-
common/Aabb.hpp>
#include<yade/pkg
/
common/Sphere.hpp>
#include<yade/pkg
/
common/Aabb.hpp>
void
Bo1_Sphere_Aabb
::
go
(
const
shared_ptr
<
Shape
>&
cm
,
shared_ptr
<
Bound
>&
bv
,
const
Se3r
&
se3
,
const
Body
*
b
){
Sphere
*
sphere
=
static_cast
<
Sphere
*>
(
cm
.
get
());
...
...
pkg/common/Bo1_Sphere_Aabb.hpp
View file @
d51a7e3d
...
...
@@ -8,7 +8,7 @@
#pragma once
#include<yade/pkg
-
common/Dispatching.hpp>
#include<yade/pkg
/
common/Dispatching.hpp>
class
Bo1_Sphere_Aabb
:
public
BoundFunctor
{
...
...
pkg/common/BoundaryController.cpp
View file @
d51a7e3d
#include<yade/pkg
-
common/BoundaryController.hpp>
#include<yade/pkg
/
common/BoundaryController.hpp>
#include<stdexcept>
void
BoundaryController
::
action
(){
throw
std
::
runtime_error
(
"BoundaryController must not be used in simulations directly (BoundaryController::action called)."
);
}
YADE_PLUGIN
((
BoundaryController
));
pkg/common/Callbacks.cpp
View file @
d51a7e3d
#include<yade/pkg
-
common/Callbacks.hpp>
#include<yade/pkg
/
common/Callbacks.hpp>
BodyCallback
::~
BodyCallback
(){};
IntrCallback
::~
IntrCallback
(){};
YADE_PLUGIN
((
IntrCallback
)(
BodyCallback
));
pkg/common/Callbacks.hpp
View file @
d51a7e3d
...
...
@@ -2,7 +2,7 @@
#pragma once
#include<stdexcept>
#include<yade/lib
-
serialization/Serializable.hpp>
#include<yade/lib
/
serialization/Serializable.hpp>
class
Interaction
;
class
Body
;
...
...
pkg/common/Collider.cpp
View file @
d51a7e3d
...
...
@@ -6,7 +6,7 @@
* GNU General Public License v2 or later. See file LICENSE for details. *
*************************************************************************/
#include<yade/pkg
-
common/Collider.hpp>
#include<yade/pkg
/
common/Collider.hpp>
YADE_PLUGIN
((
Collider
));
...
...
pkg/common/Collider.hpp
View file @
d51a7e3d
...
...
@@ -12,7 +12,7 @@
#include<yade/core/Interaction.hpp>
#include<yade/core/GlobalEngine.hpp>
#include<yade/pkg
-
common/Dispatching.hpp>
#include<yade/pkg
/
common/Dispatching.hpp>
class
Collider
:
public
GlobalEngine
{
public:
...
...
pkg/common/Cylinder.cpp
View file @
d51a7e3d
#include "Cylinder.hpp"
#include<yade/pkg
-
common/Sphere.hpp>
#include<yade/pkg
/
common/Sphere.hpp>
#ifdef YADE_OPENGL
#include<yade/lib
-
opengl/OpenGLWrapper.hpp>
#include<yade/lib
/
opengl/OpenGLWrapper.hpp>
#endif
#include<yade/pkg
-
common/Aabb.hpp>
#include<yade/pkg
/
common/Aabb.hpp>
Cylinder
::~
Cylinder
(){}
ChainedCylinder
::~
ChainedCylinder
(){}
...
...
pkg/common/Cylinder.hpp
View file @
d51a7e3d
...
...
@@ -2,12 +2,12 @@
#include<yade/core/Shape.hpp>
#include<yade/core/State.hpp>
#include<yade/core/Body.hpp>