FISH Functions
Functions built into the FISH language by group below.
The type specifiers used in the FISH function signatures are given in the “FISH Type Index” section.
c array | c list | c string |
c constructors | c mail | c structure |
c creep process | c map | c system |
c dynamic process | c math | c tensor |
c file | c matrix | c thermal process |
c fluid process | c mechanical process | c time |
c global | c memory | c type |
c io | c socket | c version |
At the bottom of the page, for convenience, a list of links to indexes of code-specific functions and commonly used functions is also provided.
creep
process utilities
creep.active |
creep.cycle |
creep.safety.factor |
creep.solve(STR) |
creep.step |
creep.time.total |
creep.timestep |
creep.timestep.given |
creep.timestep.max |
dynamic
process utilities
dynamic.active |
dynamic.cycle |
dynamic.safety.factor |
dynamic.solve(STR) |
dynamic.step |
dynamic.time.total |
dynamic.timestep |
dynamic.timestep.given |
dynamic.timestep.max |
file
utilities
fluid
process utilities
fluid.active |
fluid.cycle |
fluid.safety.factor |
fluid.solve(STR) |
fluid.step |
fluid.time.total |
fluid.timestep |
fluid.timestep.given |
fluid.timestep.max |
global
utilities
global.cycle |
global.deterministic |
global.dim |
global.fos |
global.gravity |
global.step |
global.threads |
global.timestep |
global.title |
io
utilities
io.dialog.in(STR<,STR>) |
io.dialog.message(STR,STR,INT) |
io.dialog.notify(INT,INT,STR) |
io.in(STR) |
io.input(STR) |
io.out(ANY) |
mail
utilities
math
utilities
mechanical
process utilities
mech.active |
mech.cycle |
mech.safety.factor |
mech.solve(STR) |
mech.step |
mech.time.total |
mech.timestep |
mech.timestep.given |
mech.timestep.max |
socket
utilities
system
utilities
thermal
process utilities
thermal.active |
thermal.age |
thermal.cycle |
thermal.safety.factor |
thermal.solve(STR) |
thermal.step |
thermal.time.analytical |
thermal.timestep |
thermal.timestep.given |
thermal.timestep.max |
time
utilities
time.clock(<INT>) |
time.cpu |
time.kernel |
time.real |
Value Type utilities
In this group: c array, Constructors, c list, c map, c matrix, c memory, c string, c structure, c tensor, c type.
array
utilities
Arrays are described under Arrays in the FISH “Data Types” section.
array.copy(ARR) |
array.delete(ARR) |
array.dim(ARR) |
array.size(ARR_PNT<,INT>) |
Constructors
list
utilities
map
utilities
Maps are described under Maps in the FISH “Data Types” section.
map.add(MAP,ANY,ANY) |
map.add.list(MAP,LIST,LIST) |
map.has(MAP,ANY) |
map.keys(MAP) |
map.merge(MAP,MAP) |
map.remove(MAP,ANY) |
map.size(MAP) |
map.value(MAP,ANY) |
map.value.all(MAP) |
matrix
utilities
Matrices are described under Matrices in the FISH “Data Types” section.
memory
utilities
memory(MEM) |
memory.create(INT) |
memory.delete(MEM) |
memory.fortran.float |
memory.fortran.index |
memory.fortran.integer |
memory.offset(MEM) |
memory.size(MEM) |
string
utilities
Strings are described under Strings in the FISH “Data Types” section.
structure
utilities
Structures are described under Structures in the FISH “Data Types” section.
structure.check(STRUCT,STRUCT) |
structure.from.map(STR,MAP) |
structure.name(STRUCT) |
tensor
utilities
Tensors are described under Tensors in the FISH “Data Types” section.
tensor.i2(TEN) |
tensor.j2(TEN) |
tensor.prin(TEN) |
tensor.prin.dir(TEN) |
tensor.prin.from(LIST) |
tensor.total(TEN) |
tensor.trace(TEN) |
version
utilities
code.name |
version.code.major |
version.code.minor |
version.fish.major |
version.fish.minor |
Other FISH Indexes
In addition to the functions shown above, which are built into the FISH language, there are groups of functions that are provided specifically by the program that uses them (i.e., FLAC3D, 3DEC, or PFC), and a last set of function groups that are used commonly by all the software.
Was this helpful? ... | PFC © 2021, Itasca | Updated: Feb 25, 2024 |