~ubuntu-branches/ubuntu/trusty/yade/trusty

« back to all changes in this revision

Viewing changes to pkg/dem/Ip2_2xInelastCohFrictMat_InelastCohFrictPhys.hpp

  • Committer: Package Import Robot
  • Author(s): Anton Gladky, cf3f8d9
  • Date: 2013-10-30 20:56:33 UTC
  • mfrom: (20.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20131030205633-1f01r7hjce17d723
Tags: 1.05.0-2
[cf3f8d9] Pass -ftrack-macro-expansion=0 only if gcc>=4.8. (Closes: #726009)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*************************************************************************
 
2
*  Copyright (C) 2012 by Ignacio Olmedo nolmedo.manich@gmail.com         *
 
3
*  Copyright (C) 2012 by François Kneib   francois.kneib@gmail.com       *
 
4
*  This program is free software; it is licensed under the terms of the  *
 
5
*  GNU General Public License v2 or later. See file LICENSE for details. *
 
6
*************************************************************************/
 
7
 
 
8
 
1
9
#pragma once
2
10
#include "Ip2_CohFrictMat_CohFrictMat_CohFrictPhys.hpp"
3
11
#include "InelastCohFrictMat.hpp"
15
23
 
16
24
                YADE_CLASS_BASE_DOC_ATTRS_CTOR(Ip2_2xInelastCohFrictMat_InelastCohFrictPhys,IPhysFunctor,
17
25
                "Generates cohesive-frictional interactions with moments. Used in the contact law :yref:`Law2_ScGeom6D_InelastCohFrictPhys_CohesionMoment`.",
18
 
                ((bool,setCohesionNow,false,,"If true, assign cohesion to all existing contacts in current time-step. The flag is turned false automatically, so that assignment is done in the current timestep only."))
19
 
                ((bool,setCohesionOnNewContacts,false,,"If true, assign cohesion at all new contacts. If false, only existing contacts can be cohesive (also see :yref:`Ip2_CohFrictMat_CohFrictMat_CohFrictPhys::setCohesionNow`), and new contacts are only frictional."))    
20
26
                ,
21
27
                cohesionDefinitionIteration = -1;
22
28
                );