Scalar flow stress library routines
Files
Input
Reading an stress model of unknown type - i.e. reading to an object of class
(strdev *) -
a word is read first, and compared against the name of each stress model class.
If a match is found, an object of that class is instantiated.
The data for that object is then read (see below for manuals on specific
classes).
In other words:
type
parameters
Software interface
strdev.h defines a `state' class
and an abstract `strdev' class.
Stress state (`state') class
The `state' class is a primitive state
extending the EOS state class
by the addition of a 6-component elastic stress deviator
and a scalar plastic strain.
Generic stress model (`strdev') class
Specific stress model types inherit from `strdev'.
As `str' is abstract, members can't be instantiated
- if you don't know what type an stress model will be
until run-time, only a pointer to an stress model
can be used in the program.
Specific stress model types