Itasca C++ Interface
Toggle main menu visibility
Loading...
Searching...
No Matches
iintmodel.h
1
#pragma once
2
3
namespace
zone
4
{
7
class
IIntModel
8
{
9
public
:
10
enum
State { InContact =0x020,
11
InShearFailNow =0x100,
12
InShearFailPast =0x080,
13
InTensionFail =0x200,
14
InShearBondFail =0x400 };
15
20
virtual
int32
getPropertyNumber
(
const
string
&propName)
const
=0;
24
virtual
base::Property
getPropertyValue
(
int
propNo)
const
=0;
28
virtual
void
setPropertyValue
(
int
propNo,
const
base::Property
&val)=0;
30
virtual
int32
getNumProperties
()=0;
33
virtual
string
getPropertyName
(
int
propNo)=0;
35
virtual
bool
isInContact
()
const
=0;
37
virtual
bool
isSlippingNow
()
const
=0;
39
virtual
bool
hasSlipped
()
const
=0;
41
virtual
uint32 GetState()
const
= 0;
42
virtual
void
SetState(
const
uint32 uMask) = 0;
43
virtual
bool
GetCanFail()
const
=0;
44
virtual
string
getShearStateLabel()
const
=0;
45
virtual
string
getNormalStateLabel()
const
=0;
46
};
47
}
// namespace zone
48
// EoF
base::Property
Definition
property.h:52
zone::IIntModel
Interface provides access to the constitutive model of a FLAC3D interface.
Definition
iintmodel.h:8
zone::IIntModel::isSlippingNow
virtual bool isSlippingNow() const =0
Returns true if is slipping now.
zone::IIntModel::getPropertyValue
virtual base::Property getPropertyValue(int propNo) const =0
zone::IIntModel::isInContact
virtual bool isInContact() const =0
Returns true if the model considers itself in contact with something.
zone::IIntModel::hasSlipped
virtual bool hasSlipped() const =0
Returns true if has slipped in the past.
zone::IIntModel::getPropertyName
virtual string getPropertyName(int propNo)=0
zone::IIntModel::getNumProperties
virtual int32 getNumProperties()=0
Returns the number of properties in the model.
zone::IIntModel::getPropertyNumber
virtual int32 getPropertyNumber(const string &propName) const =0
zone::IIntModel::setPropertyValue
virtual void setPropertyValue(int propNo, const base::Property &val)=0
flac3d
zone
interface
iintmodel.h
Generated by
1.18.0