← Back to team overview

yade-dev team mailing list archive

[Branch ~yade-pkg/yade/git-trunk] Rev 4076: Move Ip2_FrictMat_* into FrictPhys

 

------------------------------------------------------------
revno: 4076
committer: Anton Gladky <gladky.anton@xxxxxxxxx>
timestamp: Mon 2014-07-14 22:08:34 +0200
message:
  Move Ip2_FrictMat_* into FrictPhys
removed:
  pkg/dem/Ip2_FrictMat_FrictMat_FrictPhys.cpp
  pkg/dem/Ip2_FrictMat_FrictMat_FrictPhys.hpp
modified:
  pkg/dem/CapillaryTriaxialTest.cpp
  pkg/dem/ConcretePM.hpp
  pkg/dem/FrictPhys.cpp
  pkg/dem/FrictPhys.hpp
  pkg/dem/Shop_01.cpp
  pkg/dem/Shop_02.cpp
  pkg/dem/TriaxialTest.cpp


--
lp:yade
https://code.launchpad.net/~yade-pkg/yade/git-trunk

Your team Yade developers is subscribed to branch lp:yade.
To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'pkg/dem/CapillaryTriaxialTest.cpp'
--- pkg/dem/CapillaryTriaxialTest.cpp	2014-07-14 20:08:34 +0000
+++ pkg/dem/CapillaryTriaxialTest.cpp	2014-07-14 20:08:34 +0000
@@ -11,7 +11,6 @@
 
 #include<yade/pkg/dem/ElasticContactLaw.hpp>
 #include <yade/pkg/dem/Law2_ScGeom_CapillaryPhys_Capillarity.hpp>
-// #include<yade/pkg/dem/Ip2_FrictMat_FrictMat_FrictPhys.hpp>
 #include<yade/pkg/dem/CapillaryPhys.hpp>
 #include<yade/pkg/common/ElastMat.hpp>
 #include<yade/pkg/dem/GlobalStiffnessTimeStepper.hpp>

=== modified file 'pkg/dem/ConcretePM.hpp'
--- pkg/dem/ConcretePM.hpp	2014-04-10 10:25:02 +0000
+++ pkg/dem/ConcretePM.hpp	2014-07-14 20:08:34 +0000
@@ -53,7 +53,7 @@
 #include<yade/pkg/common/NormShearPhys.hpp>
 #include<yade/pkg/dem/DemXDofGeom.hpp>
 #include<yade/pkg/dem/ScGeom.hpp>
-#include<yade/pkg/dem/Ip2_FrictMat_FrictMat_FrictPhys.hpp>
+#include<yade/pkg/dem/FrictPhys.hpp>
 
 namespace py=boost::python;
 

=== modified file 'pkg/dem/FrictPhys.cpp'
--- pkg/dem/FrictPhys.cpp	2012-06-04 21:03:29 +0000
+++ pkg/dem/FrictPhys.cpp	2014-07-14 20:08:34 +0000
@@ -1,4 +1,69 @@
 #include "FrictPhys.hpp"
-FrictPhys::~FrictPhys(){}
-ViscoFrictPhys::~ViscoFrictPhys(){}
-YADE_PLUGIN((FrictPhys)(ViscoFrictPhys));
+#include <yade/pkg/dem/ScGeom.hpp>
+YADE_PLUGIN((FrictPhys)(ViscoFrictPhys)(Ip2_FrictMat_FrictMat_ViscoFrictPhys)(Ip2_FrictMat_FrictMat_FrictPhys));
+
+// The following code was moved from Ip2_FrictMat_FrictMat_FrictPhys.hpp
+
+void Ip2_FrictMat_FrictMat_FrictPhys::go( const shared_ptr<Material>& b1
+					, const shared_ptr<Material>& b2
+					, const shared_ptr<Interaction>& interaction)
+{
+	if(interaction->phys) return;
+	
+	const shared_ptr<FrictMat>& mat1 = YADE_PTR_CAST<FrictMat>(b1);
+	const shared_ptr<FrictMat>& mat2 = YADE_PTR_CAST<FrictMat>(b2);
+	
+	Real Ra,Rb;//Vector3r normal;
+	assert(dynamic_cast<GenericSpheresContact*>(interaction->geom.get()));//only in debug mode
+	GenericSpheresContact* sphCont=YADE_CAST<GenericSpheresContact*>(interaction->geom.get());
+	Ra=sphCont->refR1>0?sphCont->refR1:sphCont->refR2;
+	Rb=sphCont->refR2>0?sphCont->refR2:sphCont->refR1;
+	
+	interaction->phys = shared_ptr<FrictPhys>(new FrictPhys());
+	const shared_ptr<FrictPhys>& contactPhysics = YADE_PTR_CAST<FrictPhys>(interaction->phys);
+	Real Ea 	= mat1->young;
+	Real Eb 	= mat2->young;
+	Real Va 	= mat1->poisson;
+	Real Vb 	= mat2->poisson;
+
+	//harmonic average of the two stiffnesses when (2*Ri*Ei) is the stiffness of a contact point on sphere "i"
+	Real Kn = 2*Ea*Ra*Eb*Rb/(Ea*Ra+Eb*Rb);
+	//same for shear stiffness
+	Real Ks = 2*Ea*Ra*Va*Eb*Rb*Vb/(Ea*Ra*Va+Eb*Rb*Vb);
+
+	Real frictionAngle = (!frictAngle) ? std::min(mat1->frictionAngle,mat2->frictionAngle) : (*frictAngle)(mat1->id,mat2->id,mat1->frictionAngle,mat2->frictionAngle);
+	contactPhysics->tangensOfFrictionAngle = std::tan(frictionAngle);
+	contactPhysics->kn = Kn;
+	contactPhysics->ks = Ks;
+};
+
+void Ip2_FrictMat_FrictMat_ViscoFrictPhys::go( const shared_ptr<Material>& b1
+					, const shared_ptr<Material>& b2
+					, const shared_ptr<Interaction>& interaction)
+{
+	if(interaction->phys) return;
+	const shared_ptr<FrictMat>& mat1 = YADE_PTR_CAST<FrictMat>(b1);
+	const shared_ptr<FrictMat>& mat2 = YADE_PTR_CAST<FrictMat>(b2);
+	interaction->phys = shared_ptr<ViscoFrictPhys>(new ViscoFrictPhys());
+	const shared_ptr<ViscoFrictPhys>& contactPhysics = YADE_PTR_CAST<ViscoFrictPhys>(interaction->phys);
+	Real Ea 	= mat1->young;
+	Real Eb 	= mat2->young;
+	Real Va 	= mat1->poisson;
+	Real Vb 	= mat2->poisson;
+
+	Real Ra,Rb;//Vector3r normal;
+	assert(dynamic_cast<GenericSpheresContact*>(interaction->geom.get()));//only in debug mode
+	GenericSpheresContact* sphCont=YADE_CAST<GenericSpheresContact*>(interaction->geom.get());
+	Ra=sphCont->refR1>0?sphCont->refR1:sphCont->refR2;
+	Rb=sphCont->refR2>0?sphCont->refR2:sphCont->refR1;
+
+	//harmonic average of the two stiffnesses when (Ri.Ei/2) is the stiffness of a contact point on sphere "i"
+	Real Kn = 2*Ea*Ra*Eb*Rb/(Ea*Ra+Eb*Rb);
+	//same for shear stiffness
+	Real Ks = 2*Ea*Ra*Va*Eb*Rb*Vb/(Ea*Ra*Va+Eb*Rb*Vb);
+
+	Real frictionAngle = (!frictAngle) ? std::min(mat1->frictionAngle,mat2->frictionAngle) : (*frictAngle)(mat1->id,mat2->id,mat1->frictionAngle,mat2->frictionAngle);
+	contactPhysics->tangensOfFrictionAngle = std::tan(frictionAngle);
+	contactPhysics->kn = Kn;
+	contactPhysics->ks = Ks;
+};

=== modified file 'pkg/dem/FrictPhys.hpp'
--- pkg/dem/FrictPhys.hpp	2012-06-04 21:03:29 +0000
+++ pkg/dem/FrictPhys.hpp	2014-07-14 20:08:34 +0000
@@ -8,11 +8,14 @@
 #pragma once
 
 #include<yade/pkg/common/NormShearPhys.hpp>
+#include<yade/pkg/common/MatchMaker.hpp>
+#include<yade/pkg/common/ElastMat.hpp>
+#include<yade/pkg/common/Dispatching.hpp>
 
 class FrictPhys: public NormShearPhys
 {
 	public :
-		virtual ~FrictPhys();
+		virtual ~FrictPhys() {};
 	YADE_CLASS_BASE_DOC_ATTRS_CTOR(FrictPhys,NormShearPhys,"The simple linear elastic-plastic interaction with friction angle, like in the traditional [CundallStrack1979]_",
 		((Real,tangensOfFrictionAngle,NaN,,"tan of angle of friction")),
 		createIndex()
@@ -24,7 +27,7 @@
 class ViscoFrictPhys: public FrictPhys
 {
 	public :
-	virtual ~ViscoFrictPhys();
+	virtual ~ViscoFrictPhys() {};
 	YADE_CLASS_BASE_DOC_ATTRS_CTOR(ViscoFrictPhys,FrictPhys,"Temporary version of :yref:`FrictPhys` for compatibility with e.g. :yref:`Law2_ScGeom6D_NormalInelasticityPhys_NormalInelasticity`",
 		((Vector3r,creepedShear,Vector3r(0,0,0),(Attr::readonly),"Creeped force (parallel)")),
 		createIndex()
@@ -32,3 +35,28 @@
 	REGISTER_CLASS_INDEX(ViscoFrictPhys,FrictPhys);
 };
 REGISTER_SERIALIZABLE(ViscoFrictPhys);
+
+// The following code was moved from Ip2_FrictMat_FrictMat_FrictPhys.hpp
+
+class Ip2_FrictMat_FrictMat_FrictPhys: public IPhysFunctor{
+	public:
+		virtual void go(const shared_ptr<Material>& b1,
+			const shared_ptr<Material>& b2,
+			const shared_ptr<Interaction>& interaction);
+	FUNCTOR2D(FrictMat,FrictMat);
+	YADE_CLASS_BASE_DOC_ATTRS(Ip2_FrictMat_FrictMat_FrictPhys,IPhysFunctor,"Create a :yref:`FrictPhys` from two :yref:`FrictMats<FrictMat>`. The compliance of one sphere under point load is defined here as $1/(E.D)$, with $E$ the stiffness of the sphere and $D$ its diameter. The compliance of the contact itself will be the sum of compliances from each sphere, i.e. $1/(E_1.D_1)+1/(E_2.D_2)$ in the general case, or $2/(E.D)$ in the special case of equal sizes and equal stiffness. Note that summing compliances corresponds to an harmonic average of stiffnesss (as in e.g. [Scholtes2009a]_), which is how kn is actually computed in the :yref:`Ip2_FrictMat_FrictMat_FrictPhys` functor:\n\n $k_n = \\frac{E_1D_1*E_2D_2}{E_1D_1+E_2D_2}=\\frac{k_1*k_2}{k_1+k_2}$, with $k_i=E_iD_i$.\n\n The shear stiffness ks of one sphere is defined via the material parameter :yref:`ElastMat::poisson`, as ks=poisson*kn, and the resulting shear stiffness of the interaction will be also an harmonic average. In the case of a contact between a :yref:`ViscElMat` and a :yref:`FrictMat`, be sure to set :yref:`FrictMat::young` and :yref:`FrictMat::poisson`, otherwise the default value will be used.",
+		((shared_ptr<MatchMaker>,frictAngle,,,"Instance of :yref:`MatchMaker` determining how to compute interaction's friction angle. If ``None``, minimum value is used."))
+	);
+};
+REGISTER_SERIALIZABLE(Ip2_FrictMat_FrictMat_FrictPhys);
+
+class Ip2_FrictMat_FrictMat_ViscoFrictPhys: public Ip2_FrictMat_FrictMat_FrictPhys{
+	public:
+		virtual void go(const shared_ptr<Material>& b1,
+			const shared_ptr<Material>& b2,
+			const shared_ptr<Interaction>& interaction);
+	FUNCTOR2D(FrictMat,FrictMat);
+	YADE_CLASS_BASE_DOC_ATTRS(Ip2_FrictMat_FrictMat_ViscoFrictPhys,Ip2_FrictMat_FrictMat_FrictPhys,"Create a :yref:`FrictPhys` from two :yref:`FrictMats<FrictMat>`. The compliance of one sphere under symetric point loads is defined here as 1/(E.r), with E the stiffness of the sphere and r its radius, and corresponds to a compliance 1/(2.E.r)=1/(E.D) from each contact point. The compliance of the contact itself will be the sum of compliances from each sphere, i.e. 1/(E.D1)+1/(E.D2) in the general case, or 1/(E.r) in the special case of equal sizes. Note that summing compliances corresponds to an harmonic average of stiffnesss, which is how kn is actually computed in the :yref:`Ip2_FrictMat_FrictMat_FrictPhys` functor.\n\nThe shear stiffness ks of one sphere is defined via the material parameter :yref:`ElastMat::poisson`, as ks=poisson*kn, and the resulting shear stiffness of the interaction will be also an harmonic average.",
+	);
+};
+REGISTER_SERIALIZABLE(Ip2_FrictMat_FrictMat_ViscoFrictPhys);

=== removed file 'pkg/dem/Ip2_FrictMat_FrictMat_FrictPhys.cpp'
--- pkg/dem/Ip2_FrictMat_FrictMat_FrictPhys.cpp	2014-01-23 10:25:43 +0000
+++ pkg/dem/Ip2_FrictMat_FrictMat_FrictPhys.cpp	1970-01-01 00:00:00 +0000
@@ -1,86 +0,0 @@
-/*************************************************************************
-*  Copyright (C) 2007 by Bruno CHAREYRE                                 *
-*  bruno.chareyre@xxxxxxxxxxx                                        *
-*                                                                        *
-*  This program is free software; it is licensed under the terms of the  *
-*  GNU General Public License v2 or later. See file LICENSE for details. *
-*************************************************************************/
-
-#include"Ip2_FrictMat_FrictMat_FrictPhys.hpp"
-#include<yade/pkg/dem/ScGeom.hpp>
-#include<yade/pkg/dem/DemXDofGeom.hpp>
-#include<yade/pkg/dem/FrictPhys.hpp>
-#include<yade/core/Omega.hpp>
-#include<yade/core/Scene.hpp>
-#include<yade/pkg/common/ElastMat.hpp>
-#include<yade/pkg/dem/ViscoelasticPM.hpp>
-#include <cassert>
-
-
-
-void Ip2_FrictMat_FrictMat_FrictPhys::go( const shared_ptr<Material>& b1
-					, const shared_ptr<Material>& b2
-					, const shared_ptr<Interaction>& interaction)
-{
-	if(interaction->phys) return;
-	
-	const shared_ptr<FrictMat>& mat1 = YADE_PTR_CAST<FrictMat>(b1);
-	const shared_ptr<FrictMat>& mat2 = YADE_PTR_CAST<FrictMat>(b2);
-	
-	Real Ra,Rb;//Vector3r normal;
-	assert(dynamic_cast<GenericSpheresContact*>(interaction->geom.get()));//only in debug mode
-	GenericSpheresContact* sphCont=YADE_CAST<GenericSpheresContact*>(interaction->geom.get());
-	Ra=sphCont->refR1>0?sphCont->refR1:sphCont->refR2;
-	Rb=sphCont->refR2>0?sphCont->refR2:sphCont->refR1;
-	
-	interaction->phys = shared_ptr<FrictPhys>(new FrictPhys());
-	const shared_ptr<FrictPhys>& contactPhysics = YADE_PTR_CAST<FrictPhys>(interaction->phys);
-	Real Ea 	= mat1->young;
-	Real Eb 	= mat2->young;
-	Real Va 	= mat1->poisson;
-	Real Vb 	= mat2->poisson;
-
-	//harmonic average of the two stiffnesses when (2*Ri*Ei) is the stiffness of a contact point on sphere "i"
-	Real Kn = 2*Ea*Ra*Eb*Rb/(Ea*Ra+Eb*Rb);
-	//same for shear stiffness
-	Real Ks = 2*Ea*Ra*Va*Eb*Rb*Vb/(Ea*Ra*Va+Eb*Rb*Vb);
-
-	Real frictionAngle = (!frictAngle) ? std::min(mat1->frictionAngle,mat2->frictionAngle) : (*frictAngle)(mat1->id,mat2->id,mat1->frictionAngle,mat2->frictionAngle);
-	contactPhysics->tangensOfFrictionAngle = std::tan(frictionAngle);
-	contactPhysics->kn = Kn;
-	contactPhysics->ks = Ks;
-};
-YADE_PLUGIN((Ip2_FrictMat_FrictMat_FrictPhys));
-
-void Ip2_FrictMat_FrictMat_ViscoFrictPhys::go( const shared_ptr<Material>& b1
-					, const shared_ptr<Material>& b2
-					, const shared_ptr<Interaction>& interaction)
-{
-	if(interaction->phys) return;
-	const shared_ptr<FrictMat>& mat1 = YADE_PTR_CAST<FrictMat>(b1);
-	const shared_ptr<FrictMat>& mat2 = YADE_PTR_CAST<FrictMat>(b2);
-	interaction->phys = shared_ptr<ViscoFrictPhys>(new ViscoFrictPhys());
-	const shared_ptr<ViscoFrictPhys>& contactPhysics = YADE_PTR_CAST<ViscoFrictPhys>(interaction->phys);
-	Real Ea 	= mat1->young;
-	Real Eb 	= mat2->young;
-	Real Va 	= mat1->poisson;
-	Real Vb 	= mat2->poisson;
-
-	Real Ra,Rb;//Vector3r normal;
-	assert(dynamic_cast<GenericSpheresContact*>(interaction->geom.get()));//only in debug mode
-	GenericSpheresContact* sphCont=YADE_CAST<GenericSpheresContact*>(interaction->geom.get());
-	Ra=sphCont->refR1>0?sphCont->refR1:sphCont->refR2;
-	Rb=sphCont->refR2>0?sphCont->refR2:sphCont->refR1;
-
-	//harmonic average of the two stiffnesses when (Ri.Ei/2) is the stiffness of a contact point on sphere "i"
-	Real Kn = 2*Ea*Ra*Eb*Rb/(Ea*Ra+Eb*Rb);
-	//same for shear stiffness
-	Real Ks = 2*Ea*Ra*Va*Eb*Rb*Vb/(Ea*Ra*Va+Eb*Rb*Vb);
-
-	Real frictionAngle = (!frictAngle) ? std::min(mat1->frictionAngle,mat2->frictionAngle) : (*frictAngle)(mat1->id,mat2->id,mat1->frictionAngle,mat2->frictionAngle);
-	contactPhysics->tangensOfFrictionAngle = std::tan(frictionAngle);
-	contactPhysics->kn = Kn;
-	contactPhysics->ks = Ks;
-};
-YADE_PLUGIN((Ip2_FrictMat_FrictMat_ViscoFrictPhys));
-

=== removed file 'pkg/dem/Ip2_FrictMat_FrictMat_FrictPhys.hpp'
--- pkg/dem/Ip2_FrictMat_FrictMat_FrictPhys.hpp	2014-01-23 10:25:43 +0000
+++ pkg/dem/Ip2_FrictMat_FrictMat_FrictPhys.hpp	1970-01-01 00:00:00 +0000
@@ -1,38 +0,0 @@
-/*************************************************************************
-*  Copyright (C) 2007 by Bruno CHAREYRE                                 *
-*  bruno.chareyre@xxxxxxxxxxx                                        *
-*                                                                        *
-*  This program is free software; it is licensed under the terms of the  *
-*  GNU General Public License v2 or later. See file LICENSE for details. *
-*************************************************************************/
-
-#pragma once
-
-#include<yade/pkg/common/Dispatching.hpp>
-#include<yade/pkg/common/MatchMaker.hpp>
-#include<yade/pkg/common/ElastMat.hpp>
-
-class Ip2_FrictMat_FrictMat_FrictPhys: public IPhysFunctor{
-	public:
-		virtual void go(const shared_ptr<Material>& b1,
-			const shared_ptr<Material>& b2,
-			const shared_ptr<Interaction>& interaction);
-	FUNCTOR2D(FrictMat,FrictMat);
-	YADE_CLASS_BASE_DOC_ATTRS(Ip2_FrictMat_FrictMat_FrictPhys,IPhysFunctor,"Create a :yref:`FrictPhys` from two :yref:`FrictMats<FrictMat>`. The compliance of one sphere under point load is defined here as $1/(E.D)$, with $E$ the stiffness of the sphere and $D$ its diameter. The compliance of the contact itself will be the sum of compliances from each sphere, i.e. $1/(E_1.D_1)+1/(E_2.D_2)$ in the general case, or $2/(E.D)$ in the special case of equal sizes and equal stiffness. Note that summing compliances corresponds to an harmonic average of stiffnesss (as in e.g. [Scholtes2009a]_), which is how kn is actually computed in the :yref:`Ip2_FrictMat_FrictMat_FrictPhys` functor:\n\n $k_n = \\frac{E_1D_1*E_2D_2}{E_1D_1+E_2D_2}=\\frac{k_1*k_2}{k_1+k_2}$, with $k_i=E_iD_i$.\n\n The shear stiffness ks of one sphere is defined via the material parameter :yref:`ElastMat::poisson`, as ks=poisson*kn, and the resulting shear stiffness of the interaction will be also an harmonic average. In the case of a contact between a :yref:`ViscElMat` and a :yref:`FrictMat`, be sure to set :yref:`FrictMat::young` and :yref:`FrictMat::poisson`, otherwise the default value will be used.",
-		((shared_ptr<MatchMaker>,frictAngle,,,"Instance of :yref:`MatchMaker` determining how to compute interaction's friction angle. If ``None``, minimum value is used."))
-	);
-};
-REGISTER_SERIALIZABLE(Ip2_FrictMat_FrictMat_FrictPhys);
-
-class Ip2_FrictMat_FrictMat_ViscoFrictPhys: public Ip2_FrictMat_FrictMat_FrictPhys{
-	public:
-		virtual void go(const shared_ptr<Material>& b1,
-			const shared_ptr<Material>& b2,
-			const shared_ptr<Interaction>& interaction);
-	FUNCTOR2D(FrictMat,FrictMat);
-	YADE_CLASS_BASE_DOC_ATTRS(Ip2_FrictMat_FrictMat_ViscoFrictPhys,Ip2_FrictMat_FrictMat_FrictPhys,"Create a :yref:`FrictPhys` from two :yref:`FrictMats<FrictMat>`. The compliance of one sphere under symetric point loads is defined here as 1/(E.r), with E the stiffness of the sphere and r its radius, and corresponds to a compliance 1/(2.E.r)=1/(E.D) from each contact point. The compliance of the contact itself will be the sum of compliances from each sphere, i.e. 1/(E.D1)+1/(E.D2) in the general case, or 1/(E.r) in the special case of equal sizes. Note that summing compliances corresponds to an harmonic average of stiffnesss, which is how kn is actually computed in the :yref:`Ip2_FrictMat_FrictMat_FrictPhys` functor.\n\nThe shear stiffness ks of one sphere is defined via the material parameter :yref:`ElastMat::poisson`, as ks=poisson*kn, and the resulting shear stiffness of the interaction will be also an harmonic average.",
-	);
-};
-REGISTER_SERIALIZABLE(Ip2_FrictMat_FrictMat_ViscoFrictPhys);
-
-

=== modified file 'pkg/dem/Shop_01.cpp'
--- pkg/dem/Shop_01.cpp	2014-07-03 17:20:40 +0000
+++ pkg/dem/Shop_01.cpp	2014-07-14 20:08:34 +0000
@@ -24,7 +24,7 @@
 #include"yade/pkg/dem/NewtonIntegrator.hpp"
 #include"yade/pkg/dem/Ig2_Sphere_Sphere_ScGeom.hpp"
 #include"yade/pkg/dem/Ig2_Box_Sphere_ScGeom.hpp"
-#include"yade/pkg/dem/Ip2_FrictMat_FrictMat_FrictPhys.hpp"
+#include"yade/pkg/dem/FrictPhys.hpp"
 
 #include"yade/pkg/common/ForceResetter.hpp"
 

=== modified file 'pkg/dem/Shop_02.cpp'
--- pkg/dem/Shop_02.cpp	2014-07-03 17:20:40 +0000
+++ pkg/dem/Shop_02.cpp	2014-07-14 20:08:34 +0000
@@ -26,7 +26,7 @@
 #include<yade/pkg/dem/NewtonIntegrator.hpp>
 #include<yade/pkg/dem/Ig2_Sphere_Sphere_ScGeom.hpp>
 #include<yade/pkg/dem/Ig2_Box_Sphere_ScGeom.hpp>
-#include<yade/pkg/dem/Ip2_FrictMat_FrictMat_FrictPhys.hpp>
+#include<yade/pkg/dem/FrictPhys.hpp>
 
 #include<yade/pkg/common/ForceResetter.hpp>
 

=== modified file 'pkg/dem/TriaxialTest.cpp'
--- pkg/dem/TriaxialTest.cpp	2014-07-03 17:20:40 +0000
+++ pkg/dem/TriaxialTest.cpp	2014-07-14 20:08:34 +0000
@@ -8,7 +8,7 @@
 
 
 #include<yade/pkg/dem/ElasticContactLaw.hpp>
-#include<yade/pkg/dem/Ip2_FrictMat_FrictMat_FrictPhys.hpp>
+#include<yade/pkg/dem/FrictPhys.hpp>
 #include<yade/pkg/dem/GlobalStiffnessTimeStepper.hpp>
 #include<yade/pkg/common/ElastMat.hpp>
 #include<yade/pkg/dem/TriaxialStressController.hpp>
@@ -34,7 +34,6 @@
 #include<yade/pkg/dem/Ig2_Sphere_Sphere_ScGeom.hpp>
 #include<yade/pkg/dem/Ig2_Box_Sphere_ScGeom.hpp>
 #include<yade/pkg/dem/Ig2_Facet_Sphere_ScGeom.hpp>
-#include<yade/pkg/dem/Ip2_FrictMat_FrictMat_FrictPhys.hpp>
 #include<yade/pkg/common/Bo1_Sphere_Aabb.hpp>
 #include<yade/pkg/common/Bo1_Box_Aabb.hpp>
 #include<yade/pkg/common/Bo1_Facet_Aabb.hpp>