1GETPHINS(3) MBK PHYSICAL FUNCTIONS GETPHINS(3)
2
3
4
6 getphins - retrieve a physical instance
7
9 #include "mph.h"
10 phins_list ∗getphins(ptfig, insname)
11 phfig_list ∗ptfig;
12 char ∗insname;
13
15 ptfig Pointer to the figure in which the instance should
16 be seeked
17
18 insname Name of the instance
19
21 getphins looks in the list of instances of the physical model pointed
22 to by ptfig for a instance identified by its insname.
23
25 getphins returns a pointer to the instance that matches the insname.
26
28 "∗∗∗ mbk error ∗∗∗ illegal getphins instance insname doesn't exist in
29 figure ptfig->NAME"
30 No instance is called insname in the figure.
31
33 #include "mph.h"
34 phins_list ∗exist(figname, insname)
35 char ∗figname, ∗insname;
36 {
37 return getphins(getphfig(figname), insname);
38 }
39
41 mbk(1), phfig(3), phins(3), addphins(3), delphins(3).
42
43
44
45
46
47
48ASIM/LIP6 October 1, 1997 GETPHINS(3)