1SETLOSELF(3)                 MBK LOGICAL FUNCTIONS                SETLOSELF(3)
2
3
4

NAME

6       setloself - set the inductance value of a logical inductor
7

SYNOPSIS

9       #include "mlo.h"
10
11       void setloself(ptfig,name,newself)
12       lofig_list ∗ptfig ;
13       const char ∗name ;
14       double newself ;
15

PARAMETERS

17       ptfig               Pointer  to the figure in which the inductor should
18                           be seeked
19
20       name                Instance name of the inductor
21
22       newself             New inductance value
23

DESCRIPTION

25       setloself looks in the list of inductors of the logical  model  pointed
26       to  by ptfig for a inductor identified by its instance name and set the
27       SELF field to the newself value.
28

RETURN VALUE

30       None
31

ERRORS

33       "∗∗∗ mbk error ∗∗∗ setloself impossible : inductor name  doesn't  exist
34       in figure ptfig -> NAME"
35              No inductor matches the name.
36

EXAMPLE

38       #include "mlo.h"
39
40       void set_loself_value(char ∗figname,char ∗selfname,double newself)
41       {
42         setloself(getlofig(figname,'A'),selfname,newself) ;
43       }
44

SEE ALSO

46       mbk(1), lofig(3), loself(3), addloself(3), getloself(3), delloself(3).
47
48
49
50
51
52
53ASIM/LIP6                       August 14, 2002                   SETLOSELF(3)
Impressum