Itasca C++ Interface
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
ibeamthing.h
Go to the documentation of this file.
1 #pragma once
2 // ibeamthing.h
3 
4 #include "iblockdef.h"
5 
14 namespace itasca
15 {
16  class IThing;
17 }
18 
19 namespace block
20 {
24 
25  class ISELNodeThing;
26  class ISelProp;
27 
28  class IBeamThing
29  {
30  public:
31 
33  inline static const TType type_ = 0x52c5c58f;
35  virtual const itasca::IThing * getIThing() const=0;
37  virtual itasca::IThing * getIThing()=0;
39  virtual quint64 getBeamElementID() const=0;
41  virtual quint64 getSELCollectionID() const=0;
43  virtual FInt getFortranOffset() const=0;
45  virtual DVect3 getLocation() const=0;
47  virtual DVect3 getNormal() const = 0;
49  virtual int getMaterial() const=0;
51  virtual double getAxialForce() const=0;
53  virtual double getAxialStress() const=0;
55  virtual double getAxialStrain() const = 0;
57  virtual double getThermalForce() const = 0;
59  virtual double getLength() const=0;
61  virtual QString getStateString() const=0;
62  // get node for input nodeNum (0 - 1)
63  virtual const ISELNodeThing * getNode(uint nodeNum) const=0;
65  virtual ISelProp * getSelProp() const = 0;
66 
67  };
68 
69 } // end namespace block
70 // EOF
virtual quint64 getSELCollectionID() const =0
Return ID of collection of SEL elements.
virtual double getThermalForce() const =0
Return thermal force.
virtual double getAxialStrain() const =0
Return the axial strain.
namespace Itasca
Definition: basememory.cpp:9
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
Definition: ibeamthing.h:28
virtual DVect3 getNormal() const =0
Returns directions.
virtual const itasca::IThing * getIThing() const =0
Returns a const IThing pointer.
virtual double getAxialStress() const =0
Return the axial stress.
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
static const TType type_
type used in IThing typing system
Definition: ibeamthing.h:33
virtual QString getStateString() const =0
return beam element state string
virtual FInt getFortranOffset() const =0
Return element fortran offset.
virtual double getAxialForce() const =0
Return the axial force in beam element (tension positive)
unsigned int TType
class type indicator
Definition: basedef.h:41
This is the interface for SELNodeThing, a class that holds extra data not in the fortran arrays....
Definition: iselnodething.h:29
virtual ISelProp * getSelProp() const =0
return pointer to SEL property object
virtual DVect3 getLocation() const =0
Returns centroid position.
virtual quint64 getBeamElementID() const =0
Get ID of element in C++ container (not Fortran offset)
virtual double getLength() const =0
Return beam element length.
virtual int getMaterial() const =0
Return material number.