Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
icablething.h
Go to the documentation of this file.
1 #pragma once
2 // icablething.h
3 
4 #include "iblockdef.h"
5 #include "base/src/farray.h"
6 
15 namespace itasca
16 {
17  class IThing;
18 }
19 
20 namespace block
21 {
25 
26  class ISELNodeThing;
27  class ISelProp;
28  class IDowelThing;
29 
31  {
32  public:
33 
35  inline static const TType type_ = 0x52c57fbf;
37  virtual const itasca::IThing * getIThing() const=0;
39  virtual itasca::IThing * getIThing()=0;
41  virtual quint64 getCableElementID() const=0;
43  virtual quint64 getSELCollectionID() const=0;
45  virtual DVect3 getLocation() const=0;
47  virtual DVect3 getNormal() const = 0;
49  virtual FInt getFortranOffset() const=0;
51  virtual int getMaterial() const=0;
53  virtual double getAxialForce() const=0;
55  virtual double getAxialStress() const=0;
57  virtual double getAxialStrain() const=0;
59  virtual double getThermalForce() const = 0;
61  virtual double getLength() const=0;
63  virtual QString getStateString() const=0;
64  // get node for input nodeNum (0 - 1)
65  virtual const ISELNodeThing * getNode(uint nodeNum) const=0;
67  virtual const ISelProp * getSelProp() const=0;
69  virtual FArray<const IDowelThing*> getDowels() const=0;
70  // get axial force as a percentage of strength
71  virtual double getAxialForcePcStrength() const = 0;
72  };
73 
74 } // end namespace block
75 // EOF
virtual double getAxialStress() const =0
Return the axial stress (in bolt)
virtual quint64 getSELCollectionID() const =0
Return ID of collection of SEL elements.
namespace Itasca
Definition: basememory.cpp:9
virtual FInt getFortranOffset() const =0
Return element fortran offset.
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 FArray< const IDowelThing * > getDowels() const =0
Return list of dowels associated with this cable segment.
virtual double getThermalForce() const =0
Return thermal force.
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
An array class that attempts to minimize unnecessary heap access.
virtual double getAxialForce() const =0
Return the axial force in bolt element (tension positive)
virtual double getAxialStrain() const =0
Return the axial strain (in bolt)
virtual quint64 getCableElementID() const =0
Get ID of element in C++ container (not Fortran offset)
unsigned int TType
class type indicator
Definition: basedef.h:41
virtual double getLength() const =0
Return cable element length.
static const TType type_
type used in IThing typing system
Definition: icablething.h:35
virtual DVect3 getLocation() const =0
Returns centroid position.
virtual const itasca::IThing * getIThing() const =0
Returns a const IThing pointer.
This is the interface for SELNodeThing, a class that holds extra data not in the fortran arrays....
Definition: iselnodething.h:29
virtual DVect3 getNormal() const =0
Returns unit vector along cable length.
An array class that attempts to minimize unnecessary heap access.
Definition: farray.h:27
virtual QString getStateString() const =0
return cable element state string
virtual const ISelProp * getSelProp() const =0
Return pointer to structural element property data.
virtual int getMaterial() const =0
Return material number.
Definition: icablething.h:30