~ubuntu-branches/ubuntu/wily/yade/wily

« back to all changes in this revision

Viewing changes to pkg/dem/Polyhedra_Ig2.hpp

  • Committer: Package Import Robot
  • Author(s): Dmitry Shachnev
  • Date: 2014-11-14 12:54:52 UTC
  • mfrom: (20.1.23 sid)
  • Revision ID: package-import@ubuntu.com-20141114125452-t16anreumu4ybg2s
Tags: 1.12.0-2ubuntu1
Add allow-stderr restriction to autopkgtest, to silence a warning
printed by new matplotlib.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#ifdef YADE_CGAL
5
5
 
6
6
#include"Polyhedra.hpp"
7
 
#include<yade/pkg/common/Sphere.hpp>
 
7
#include<pkg/common/Sphere.hpp>
8
8
 
9
9
//***************************************************************************
10
10
/*! Create Polyhedra (collision geometry) from colliding Polyhedras. */
13
13
        public:
14
14
                virtual ~Ig2_Polyhedra_Polyhedra_PolyhedraGeom(){};
15
15
                virtual bool go(const shared_ptr<Shape>& cm1, const shared_ptr<Shape>& cm2, const State& state1, const State& state2, const Vector3r& shift2, const bool& force, const shared_ptr<Interaction>& c);
 
16
                virtual bool goReverse( const shared_ptr<Shape>& cm1, const shared_ptr<Shape>& cm2, const State& state1, const State& state2, const Vector3r& shift2, const bool& force, const shared_ptr<Interaction>& c) { return go(cm1,cm2,state2,state1,-shift2,force,c); }
16
17
                FUNCTOR2D(Polyhedra,Polyhedra);
17
18
                DEFINE_FUNCTOR_ORDER_2D(Polyhedra,Polyhedra);
18
19
                YADE_CLASS_BASE_DOC(Ig2_Polyhedra_Polyhedra_PolyhedraGeom,IGeomFunctor,"Create/update geometry of collision between 2 Polyhedras");