setlocap − set the capacitance value of a logical capacitor
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Université Pierre et Marie CURIE, in Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance−users AT asim DOT lip6 DOT fr
#include "mlo.h"
void setlocap(ptfig,name,newcapa)
lofig_list ∗ptfig ;
const char ∗name ;
double newcapa ;
ptfig |
Pointer to the figure in which the capacitor should be seeked |
||
name |
Instance name of the capacitor |
||
newcapa |
New capacitance value |
setlocap looks in the list of capacitors of the logical model pointed to by ptfig for a capacitor identified by its instance name and set the CAPA field to the newcapa value.
None
"∗∗∗ mbk error ∗∗∗ setlocap impossible : capacitor name doesn’t exist in figure ptfig −> NAME"
No capacitor matches the name.
#include "mlo.h"
void set_locap_value(char ∗figname,char ∗capname,double newcapa)
{
setlocap(getlofig(figname,’A’),capname,newcapa) ;
}
mbk(1), lofig(3), locap(3), addlocap(3), getlocap(3), dellocap(3).
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.