Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
idowelthing.h
Go to the documentation of this file.
1 #pragma once
2 // idowelthing.h
3 
4 #include "iblockdef.h"
5 
14 namespace itasca
15 {
16  class IThing;
17 }
18 
19 namespace block
20 {
24 
25  class ICableThing;
26  class IFaceThing;
27  class ISelProp;
28 
30  {
31  public:
32 
34  inline static const TType type_ = 0x5bf865e8;
36  virtual const itasca::IThing * getIThing() const = 0;
38  virtual itasca::IThing * getIThing() = 0;
40  virtual quint64 getDowelID() const = 0;
42  virtual const ICableThing *getHostCable() const=0;
44  virtual FInt getFortranOffset() const = 0;
46  virtual DVect3 getLocation() const = 0;
48  virtual DVect3 getShearDisplacement() const = 0;
50  virtual DVect3 getShearForce() const = 0;
52  virtual double getShearStrain() const = 0;
54  virtual DVect3 getNormal() const = 0;
56  virtual QString getStateString() const = 0;
58  // 2 shear yield
59  // 5 shear rupture
60  virtual int getState() const = 0;
62  virtual double getHalfLength() const = 0;
64  virtual const ISelProp * getSelProp() const=0;
66  virtual double getSFac() const=0;
68  virtual void setSFac(double d)=0;
69 
70  };
71 
72 } // end namespace block
73 // EOF
virtual DVect3 getShearDisplacement() const =0
Return the shear displacement vector.
virtual void setSFac(double d)=0
Set shear factor (0-1)
virtual DVect3 getLocation() const =0
Returns element position.
namespace Itasca
Definition: basememory.cpp:9
virtual const ISelProp * getSelProp() const =0
return sel property thing
Int FInt
Interface to provide access to 3DEC modules, global data, list of 3DEC entities, etc.
Definition: iblockdef.h:19
Base class for items that will be stored in containers.
Definition: ithing.h:31
virtual double getSFac() const =0
Get shear factor (0-1)
Fortran to C++ type declarations.
This interface provides access to cable thing. The fortran offset for the SelProp ID is $ktypcpp in t...
Definition: iselprop.h:26
virtual double getShearStrain() const =0
Return the shear strain.
virtual DVect3 getShearForce() const =0
Return the shear force vector.
unsigned int TType
class type indicator
Definition: basedef.h:41
virtual const itasca::IThing * getIThing() const =0
Returns a const IThing pointer.
virtual QString getStateString() const =0
return reinforcement state string
virtual const ICableThing * getHostCable() const =0
Get host cable.
static const TType type_
type used in IThing typing system
Definition: idowelthing.h:34
virtual DVect3 getNormal() const =0
Return the normal vector.
virtual quint64 getDowelID() const =0
Get ID of element in C++ container (not Fortran offset)
Definition: idowelthing.h:29
virtual FInt getFortranOffset() const =0
Return element fortran offset.
virtual double getHalfLength() const =0
Return the half-length ("active" length) of the element (from property)
Definition: icablething.h:30
virtual int getState() const =0
return reinforcement state integer