GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GENLIB_SET_LOCAP(3) MBK LOGICAL FUNCTIONS GENLIB_SET_LOCAP(3)

GENLIB_SET_LOCAP - set the capacitance value of a logical capacitor, after its creation.

See the file man1/alc_origin.1.

#include "mlo.h"
void GENLIB_SET_LOCAP(figname,capname,newcapa)
char ∗figname ;
char ∗capname ;
double newcapa ;

Name of the logical figure
Instance name of the capacitor
New capacitance value

GENLIB_SET_LOCAP looks in the list of capacitors of the logical model figname for a capacitor identified by its instance capname and set the CAPA field to the newcapa value.

None

"∗∗∗ mbk error ∗∗∗ getlocap impossible : capacitor name doesn't exist in figure ptfig -> NAME"

No capacitor matches the name.

#include <genlib.h>
int main(int argc,char ∗argv[])
{

/∗ Create a figure to work on, a parallel capacitor ∗/
GENLIB_DEF_LOFIG("parallel_cap") ;
/∗ Define interface ∗/
GENLIB_LOCON("i",IN,"input") ;
GENLIB_LOCON("f",OUT,"output") ;
/∗ Add capacitors ∗/
GENLIB_LOCAP(CAPMIM,5.1,"input","output","cap1") ;
GENLIB_LOCAP(CAPMIM,5.2,"input","output","cap2") ;
/* Modify capacitors value */
GENLIB_SET_LOCAP("parallel_cap","cap1",6.2) ;
GENLIB_SET_LOCAP("parallel_cap","cap2",6.3) ;
/∗ Save all that on disk ∗/
GENLIB_SAVE_LOFIG() ;
return 0 ; }

mbk(1), GENLIB_DEF_LOFIG(3), GENLIB_LOCAP(3)

See the file man1/alc_bug_report.1.

August 14, 2002 ASIM/LIP6

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.