Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gen-ctl-io(1) [debian man page]

GEN-CTL-IO(1)							      libctl							     GEN-CTL-IO(1)

gen-ctl-io - generate C interface code for libctl control files SYNOPSIS
gen-ctl-io [OPTION]... [spec-file] DESCRIPTION
gen-ctl-io generates C code to import/export the input/output variables used in a libctl control file. gen-ctl-io generates files like ctl-io.h and ctl-io.c. These files define global variables, data structures, and functions for the input/output variables, classes, and function interfaces defined in the spec-file argument, automating the interaction between C and Guile. The arguments such as --code and --header are used to control whether ctl-io.c or ctl-io.h, etcetera, are generated. If no argument is specified then both of these files are generated by default, for backwards compatibility. libctl is a free library to aid in interfacing scientific software with the GNU Guile scripting and extension language. Documentation for it may be found online at the libctl home page: OPTIONS
--code Generate C (or C++) source code to implement the Guile interface functions. The default output file name is ctl-io.c (in C) or ctl- io.cpp (in C++). --header Generate the header file declaring the interface data types and functions. The default output file name is ctl-io.h (in C) or ctl- io.hpp (in C++). --swig Generate a SWIG interface definition file declaring automatic conversions for the various libctl data types. The default output file name is ctl-io.i. --cxx Generate C++ code instead of C code. -o file Use file as the output file name instead of the defaults (above). BUGS
Send bug reports to S. G. Johnson, AUTHORS
Written by Steven G. Johnson. libctl March 27, 2006 GEN-CTL-IO(1)

Check Out this Related Man Page

MPB(1)							    MIT Photonic-Bands Package							    MPB(1)

mpb - compute eigenmodes of periodic dielectric structures SYNOPSIS
MIT Photonic Bands (MPB) is a free program to compute the band structures (dispersion relations) and electromagnetic modes of periodic dielectric structures, and is applicable both to photonic crystals (photonic band-gap materials) and a wide range of other optical prob- lems. Its features include: fully-vectorial, 3D computations; a flexible user-interface based upon the GNU Guile scripting language; output in HDF format; and iterative, targeted eigensolver methods to address very large problems by solving for only a few states near a specified frequency. More information on MPB, including a detailed manual, can be found online at the MPB home page: A typical invocation of MPB looks like: mpb foo.ctl >& foo.out This causes MPB to process the control file foo.ctl and redirect its output to foo.out. (One typically redirects output to a file, as the output is verbose and contains a number of comma-delimited datasets that one can extract by grepping.) You can also use MPB in an interactive mode, in which you can type in MPB commands (in Scheme/Guile) and immediately see their results. Interactive mode is entered when you invoke mpb with no control files, or if your control files don't contain any run statements (which disable interactive mode), or if the last control file ends by setting (set! interactive? true) in which case interactive mode is entered after the control files execute. Another useful feature is that you can alter parameters in your control files from the command line, by including definitions of the form variable=value as arguments to mpb (before the control files). This overrides the values of variables defined with define-param in the control file (including all of the predefined MPB input variables). Multiple control files and definitions are executed in sequence, in the order they are specified on the command line. OPTIONS
-h, --help Display help on the command-line options and usage. -V, --version Print the version number and copyright info for mpb. -v, --verbose Verbose output. BUGS
Send bug reports to S. G. Johnson, AUTHORS
Written by Steven G. Johnson. Copyright (c) 1999, 2000, 2001, 2002 by the Massachusetts Institute of Technology. SEE ALSO
mpb-split(1), mpb-data(1) MPB
January 27, 2000 MPB(1)
Man Page