Imported Upstream version 4.6.0
[debian/atlc] / src / non_gui / usage_create_bmp_for_stripline_coupler.c
1 /* atlc - arbitrary transmission line calculator, for the analysis of
2 transmission lines are directional couplers. 
3
4 Copyright (C) 2002. Dr. David Kirkby, PhD (G8WRB).
5
6 This program is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public License
8 as published by the Free Software Foundation; either package_version 2
9 of the License, or (at your option) any later package_version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
19 USA.
20
21 Dr. David Kirkby, e-mail drkirkby at ntlworld.com 
22
23 */
24 #include "config.h"
25
26 #ifdef HAVE_STDLIB_H
27 #include <stdlib.h>  
28 #endif
29
30 #include "definitions.h"
31
32 void usage_create_bmp_for_stripline_coupler(void)
33 {
34   fprintf(stderr,"Usage: create_bmp_for_stripline_coupler [-C] [-b bitmapsize] [-v] H w s Er filename\n\n");
35   fprintf(stderr,"Version %s\n",PACKAGE_VERSION);
36   fprintf(stderr,"Options:\n");
37   fprintf(stderr,"         -C\n");
38   fprintf(stderr,"            Print copyright, licencing and distribution information\n");
39   fprintf(stderr,"         -b  bitmapsize\n");
40   fprintf(stderr,"            Set the size of the bitmap to about 2^bitmapsize bytes\n");
41   fprintf(stderr,"         -v\n");
42   fprintf(stderr,"            Prints the theoretical impedances too - good for verifying atlc\n");
43   fprintf(stderr,"------------^------------------------------------------------------------------\n");
44   fprintf(stderr,"            |                                               \n");
45   fprintf(stderr,"            |              <---w---><-----s----><---w-->\n");
46   fprintf(stderr,"            H              ---------            --------\n");
47   fprintf(stderr,"            |                                      \n");
48   fprintf(stderr,"            |   Er                          \n");
49   fprintf(stderr,"------------v------------------------------------------------------------------\n");
50   fprintf(stderr,"e.g. create_bmp_for_stripline_coupler  1.23 0.7 1.2 1.0 coupler.bmp\n");
51   fprintf(stderr,"e.g. create_bmp_for_stripline_coupler -b 8 1.23 0.7 1.0 1.0 smaller.bmp\n");
52   fprintf(stderr,"e.g. create_bmp_for_stripline_coupler -v 12 1.23 0.7 1.006  air.bmp\n");
53   fprintf(stderr,"\nThe default bitmap_bitmap size b is %d. Files will be between 2^(b-1)\n", DEFAULT_COUPLER_BMP_SIZE);
54   fprintf(stderr,"and 2^(b+1) bytes in length\n");
55 }