Logo Search packages:      
Sourcecode: yade version File versions  Download package

Public Types | Public Member Functions | Static Public Member Functions | Public Attributes

Law2_Dem3DofGeom_CpmPhys_Cpm Class Reference

Inheritance diagram for Law2_Dem3DofGeom_CpmPhys_Cpm:
Inheritance graph
Collaboration diagram for Law2_Dem3DofGeom_CpmPhys_Cpm:
Collaboration graph

List of all members.

Public Types

typedef _ArgumentTypes ArgumentTypes
typedef _DispatchType1 DispatchType1
typedef _DispatchType2 DispatchType2
typedef _ReturnType ReturnType

Public Member Functions

void addForce (const Body::id_t id, const Vector3r &f, Scene *rb)
void addTorque (const Body::id_t id, const Vector3r &t, Scene *rb)
void applyForceAtContactPoint (const Vector3r &force, const Vector3r &contactPoint, const Body::id_t id1, const Vector3r &pos1, const Body::id_t id2, const Vector3r &pos2)
virtual void callPostLoad (void)
virtual string checkOrder () const
virtual void checkPyClassRegistersItself (const std::string &thisClassName) const
 FUNCTOR2D (Dem3DofGeom, CpmPhys)
virtual std::string get2DFunctorType1 (void)
virtual std::string get2DFunctorType2 (void)
virtual string getBaseClassName (unsigned int i=0) const
virtual int getBaseClassNumber ()
virtual vector< string > getFunctorTypes ()
virtual _ReturnType go (Parm1, Parm2)
virtual _ReturnType go (Parm1, Parm2, Parm3)
virtual _ReturnType go (Parm1, Parm2, Parm3, Parm4)
virtual _ReturnType go (Parm1, Parm2, Parm3, Parm4, Parm5, Parm6)
virtual _ReturnType go (Parm1, Parm2, Parm3, Parm4, Parm5, Parm6, Parm7)
virtual _ReturnType go (Parm1, Parm2, Parm3, Parm4, Parm5)
void go (shared_ptr< IGeom > &_geom, shared_ptr< IPhys > &_phys, Interaction *I)
virtual _ReturnType go (Parm1)
virtual _ReturnType goReverse (Parm1, Parm2, Parm3, Parm4, Parm5, Parm6)
virtual _ReturnType goReverse (Parm1, Parm2)
virtual _ReturnType goReverse (Parm1)
virtual _ReturnType goReverse (Parm1, Parm2, Parm3)
virtual _ReturnType goReverse (Parm1, Parm2, Parm3, Parm4, Parm5)
virtual _ReturnType goReverse (Parm1, Parm2, Parm3, Parm4, Parm5, Parm6, Parm7)
virtual _ReturnType goReverse (Parm1, Parm2, Parm3, Parm4)
bool operator!= (const Serializable &other)
bool operator== (const Serializable &other)
virtual boost::python::dict pyDict () const
virtual void pyHandleCustomCtorArgs (boost::python::tuple &args, boost::python::dict &kw)
virtual void pyRegisterClass (boost::python::object _scope)
virtual void pySetAttr (const std::string &key, const boost::python::object &value)
std::string pyStr ()
 string representation of this object
void pyUpdateAttrs (const boost::python::dict &d)
 REGISTER_CLASS_AND_BASE (Functor2D, Functor FunctorWrapper)
template<class ArchiveT >
void serialize (ArchiveT &ar, unsigned int version)
 YADE_CLASS_BASE_DOC (LawFunctor, Functor,"Functor for applying constitutive laws on :yref:`interactions<Interaction>`.")
 YADE_CLASS_BASE_DOC_ATTRS_CTOR_PY (Functor, Serializable,"Function-like object that is called by Dispatcher, if types of arguments match those the Functor declares to accept.",((string, label,,,"Textual label for this object; must be valid python identifier, you can refer to it directly fron python (must be a valid python identifier).")),,.def_readonly("timingDeltas",&Functor::timingDeltas,"Detailed information about timing inside the Dispatcher itself. Empty unless enabled in the source code and O.timingEnabled==True.").add_property("bases",&Functor::getFunctorTypes,"Ordered list of types (as strings) this functor accepts."))
 YADE_CLASS_BASE_DOC_ATTRS_CTOR_PY (Law2_Dem3DofGeom_CpmPhys_Cpm, LawFunctor,"Constitutive law for the :ref:`cpm-model`.",((int, yieldSurfType, 2,,"yield function: 0: mohr-coulomb (original); 1: parabolic; 2: logarithmic, 3: log+lin_tension, 4: elliptic, 5: elliptic+log"))((Real, yieldLogSpeed,.1,,"scaling in the logarithmic yield surface (should be <1 for realistic results; >=0 for meaningful results)"))((Real, yieldEllipseShift, NaN,,"horizontal scaling of the ellipse (shifts on the +x axis as interactions with +y are given)"))((Real, omegaThreshold,((void)">=1. to deactivate, i.e. never delete any contacts", 1.),,"damage after which the contact disappears (<1), since omega reaches 1 only for strain →+∞"))((Real, epsSoft,((void)"approximates confinement -20MPa precisely, -100MPa a little over, -200 and -400 are OK (secant)",-3e-3),,"Strain at which softening in compression starts (non-negative to deactivate)"))((Real, relKnSoft,.3,,"Relative rigidity of the softening branch in compression (0=perfect elastic-plastic, <0 softening, >0 hardening)")),,.def("funcG",&Law2_Dem3DofGeom_CpmPhys_Cpm::funcG,(py::arg("kappaD"), py::arg("epsCrackOnset"), py::arg("epsFracture"), py::arg("neverDamage")=false),"Damage evolution law, evaluating the $\\omega$ parameter. $\\kappa_D$ is historically maximum strain, *epsCrackOnset* ($\\varepsilon_0$) = :yref:`CpmPhys.epsCrackOnset`, *epsFracture* = :yref:`CpmPhys.epsFracture`; if *neverDamage* is ``True``, the value returned will always be 0 (no damage).").def("yieldSigmaTMagnitude",&Law2_Dem3DofGeom_CpmPhys_Cpm::yieldSigmaTMagnitude,(py::arg("sigmaN"), py::arg("omega"), py::arg("undamagedCohesion"), py::arg("tanFrictionAngle")),"Return radius of yield surface for given material and state parameters; uses attributes of the current instance (*yieldSurfType* etc), change them before calling if you need that."))
Real yieldSigmaTMagnitude (Real sigmaN, Real omega, Real undamagedCohesion, Real tanFrictionAngle)
 return |sigmaT| at plastic surface for given sigmaN etc; not used by the law itself

Static Public Member Functions

static Real funcG (const Real &kappaD, const Real &epsCrackOnset, const Real &epsFracture, const bool &neverDamage)

Public Attributes

 updated before every dispatch loop by the dispatcher; DO NOT ABUSE access to scene, except for getting global variables like scene->dt.
shared_ptr< TimingDeltastimingDeltas

Detailed Description

Definition at line 175 of file ConcretePM.hpp.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index