Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
iseldowel.h
Go to the documentation of this file.
1 #pragma once
2 
8 #include "isel.h"
9 
10 namespace itasca {
11  class IThing;
12 }
13 
14 namespace sel {
16 
19  class ISELDowel {
20  public:
22  inline static const TType type_ = 0x5f983a6a;
24  virtual const IThing* getIThing() const = 0;
26  virtual IThing* getIThing() = 0;
28  virtual const ISEL* getISEL() const = 0;
30  virtual ISEL* getISEL() = 0;
32  virtual double getPropYield() const = 0;
34  virtual void setPropYield(const double& d) = 0;
36  virtual double getPropK() const = 0;
38  virtual void setPropK(const double& e) = 0;
40  virtual double getPropStrainLimit() const = 0;
42  virtual void setPropStrainLimit(const double& e) = 0;
44  virtual ISEL::YieldState getRespYield() const = 0;
46  virtual double getRespForce() const = 0;
48  virtual double getStrain() const = 0;
50  virtual bool getStrainFailure() const = 0;
52  virtual double getPropActiveLength() const = 0;
54  virtual void setPropActiveLength(const double& d) = 0;
55  virtual QString getState() const = 0;
56 
57  // get orientations and length for plotting
58  virtual DVect getOrientation() const = 0;
59  virtual DVect getHostCableOrientation() const = 0;
60  };
61 } // namespace sel
62 // EoF
virtual double getPropYield() const =0
Returns the yield force.
Interface to dowel structural elements.
Definition: iseldowel.h:19
virtual const ISEL * getISEL() const =0
Returns a const pointer to object base class.
Interface to the structural elements base class.
Definition: imodulesel.h:5
Interface to the structural elements base class.
Definition: isel.h:22
virtual double getRespForce() const =0
Returns the force in the dowel (always positive)
virtual void setPropActiveLength(const double &d)=0
Set the active length used in shear strain calculation. Not the same as the actual length.
virtual void setPropStrainLimit(const double &e)=0
Sets the rupture strain limit.
namespace Itasca
Definition: basememory.cpp:9
Base class for items that will be stored in containers.
Definition: ithing.h:31
virtual void setPropK(const double &e)=0
Sets the stiffness.
virtual const IThing * getIThing() const =0
Returns a const IThing pointer.
virtual double getStrain() const =0
Returns the strain in the dowel.
unsigned int TType
class type indicator
Definition: basedef.h:41
virtual double getPropK() const =0
Returns the stiffness.
static const TType type_
Type ID number for this class, for use in convert_cast() and convert_getcast().
Definition: iseldowel.h:22
virtual double getPropActiveLength() const =0
Return the active length used in shear strain calculation. Not the same as the actual length.
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition: dim.h:145
virtual bool getStrainFailure() const =0
Returns strain rupture state (true for ruptured)
virtual void setPropYield(const double &d)=0
Sets the yield force.
virtual ISEL::YieldState getRespYield() const =0
Returns the current yield state of the element. .
virtual double getPropStrainLimit() const =0
Returns the rupture strain limit.
YieldState
Yield states.
Definition: isel.h:27
Interface to the structural elements base class.