Itasca C++ Interface
Toggle main menu visibility
Loading...
Searching...
No Matches
inode.h
Go to the documentation of this file.
1
#pragma once
2
// inode.h
7
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
itasca::IThing
Base class for items that will be stored in containers.
Definition
ithing.h:31
zone::IDynNode
Interface to access dynamic node data.
Definition
idynnode.h:14
zone::INode
Interface to access node data.
Definition
inode.h:18
zone::INode::getDisplacement
virtual DVect getDisplacement(bool local=false) const =0
returns the node displacement
zone::INode::getIThing
virtual IThing * getIThing()=0
returns a IThing pointer
zone::INode::type_
static const TType type_
The type identification number for this class, for use in convert_cast() and convert_getcast().
Definition
inode.h:21
zone::INode::getLocalForceRatio
virtual double getLocalForceRatio() const =0
Returns the local force ratio of this gridpoint after the last cycle.
zone::INode::getIThing
virtual const IThing * getIThing() const =0
returns a const IThing pointer
zone::INode::getSmallDisplacement
virtual DVect getSmallDisplacement(bool local=false) const =0
returns the node small displacement
zone::INode::getLocation
virtual DVect3 getLocation() const =0
returns the node location
zone::INode::getIDynNode
virtual const IDynNode * getIDynNode() const =0
returns a const pointor to IDynNode
TType
uint32 TType
class type indicator
Definition
basedef.h:47
itascaxd
#define itascaxd
Expands to itasca2d in 2D, itasca3d in 3D, for use as a namespace name....
Definition
dim.h:181
DVect
DVect3 DVect
Vector of doubles, either 2D or 3D.
Definition
dim.h:156
itasca
namespace Itasca
Definition
basememory.cpp:14
flac3d
zone
interface
inode.h
Generated by
1.18.0