Itasca C++ Interface
inode.h
Go to the documentation of this file.
1 #pragma once
2 // inode.h
8 namespace itasca {
9  class IThing;
10 }
11 
12 namespace zone {
13  using namespace itascaxd;
14  class IDynNode;
15 
18  class INode {
19  public:
21  inline static const TType type_ = 0x4c815bef;
22 
23 
25  virtual const IThing * getIThing() const=0;
27  virtual IThing * getIThing()=0;
28 
30  virtual DVect getDisplacement(bool local=false) const=0;
32  virtual DVect getSmallDisplacement(bool local=false) const=0;
34  virtual double getLocalForceRatio() const=0;
36  virtual DVect3 getLocation() const=0;
37  virtual double getMultiplier() const=0;
38  virtual bool setMultiplier(double d)=0;
39 
40 //#ifdef THREED
42  virtual const IDynNode * getIDynNode() const=0;
43 //#endif
44  };
45 }
46 // EoF
Base class for items that will be stored in containers.
Definition: ithing.h:30
Interface to access dynamic node data.
Definition: idynnode.h:14
Interface to access node data.
Definition: inode.h:18
virtual DVect getDisplacement(bool local=false) const =0
returns the node displacement
virtual const IThing * getIThing() const =0
returns a const IThing pointer
virtual double getLocalForceRatio() const =0
Returns the local force ratio of this gridpoint after the last cycle.
virtual const IDynNode * getIDynNode() const =0
returns a const pointor to IDynNode
virtual DVect getSmallDisplacement(bool local=false) const =0
returns the node small displacement
virtual IThing * getIThing()=0
returns a IThing pointer
virtual DVect3 getLocation() const =0
returns the node location
uint32 TType
class type indicator
Definition: basedef.h:46
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition: dim.h:150
namespace Itasca
Definition: basememory.cpp:10
Itasca Library standard namespace, specific to 2D or 3D.
Definition: icontactmodule.h:4