Itasca C++ Interface
Loading...
Searching...
No Matches
inode.h
Go to the documentation of this file.
1#pragma once
2// inode.h
8namespace itasca {
9 class IThing;
10}
11
12namespace 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 IThing * getIThing()=0
returns a IThing pointer
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition inode.h:21
virtual double getLocalForceRatio() const =0
Returns the local force ratio of this gridpoint after the last cycle.
virtual const IThing * getIThing() const =0
returns a const IThing pointer
virtual DVect getSmallDisplacement(bool local=false) const =0
returns the node small displacement
virtual DVect3 getLocation() const =0
returns the node location
virtual const IDynNode * getIDynNode() const =0
returns a const pointor to IDynNode
uint32 TType
class type indicator
Definition basedef.h:46
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition dim.h:154
namespace Itasca
Definition basememory.cpp:10
Itasca Library standard namespace, specific to 2D or 3D.
Definition icontactmodule.h:4