1MODELMBKRDS(3) RDS PHYSICAL FUNCTIONS MODELMBKRDS(3)
2
3
4
6 modelmbkrds - gets all models of instances contained in a figure.
7
9 #include "rfmnnn.h"
10 rdsfig_list ∗modelmbkrds( Figure, Lynx )
11 rdsfig_list ∗Figure;
12 char Lynx;
13
15 Figure : The figure which has to be treated.
16
17 Lynx : Flag used for the segment conversion. If the param‐
18 eter Lynx is set to 0 then this is the normal con‐
19 version mode. If the parameter Lynx is set to 1
20 then the rds structure generated permits to extract
21 equipotentials rectangles.
22
24 The modelmbkrds function gets all models of instances of the RDS figure
25 and chains them to the head of figures's list. For each newly created
26 figure, the function is applied recursively. So the function flats all
27 models contained in the figure named ´Figure´.
28
30 Pointer to the head of the list of figures.
31
33 "Rds202: rdsalloc error, can't continue !"
34 it's impossible to allocate the memory size desired
35
36 Other errors can be generated by the getphfig function called in the
37 modelmbkrds function (see getphfig).
38
40 #include "mphnnn.h"
41 #include "mutnnn.h"
42 #include "rdsnnn.h"
43 #include "rfmnnn.h"
44 #include "rtlnnn.h"
45 main()
46 {
47 phfig_list ∗MbkFigure;
48 rdsfig_list ∗RdsFigure;
49 rdsfig_list ∗RdsModelList;
50 rdsfig_list ∗ScanRdsFigure;
51 mbkenv();
52 rdsenv();
53 loadrdsparam();
54 MbkFigure = getphfig("core",'A');
55 RdsFigure = figmbkrds(MbkFigure,0,1);
56 RdsModelList = modelmbkrds (RdsFigure,1);
57 for ( ScanRdsFigure = RdsModelList ;
58 ScanRdsFigure != NULL ;
59 ScanRdsFigure = ScanRdsFigure->NEXT )
60 {
61 viewrfmfig ( ScanRdsFigure );
62 }
63 }
64
66 librfm, viewrfmfig, getphfig, loadrdsparam
67
68
69
70
71
72
73ASIM/LIP6 October 1, 1997 MODELMBKRDS(3)