Merge commit 'upstream/4.6.1'
[debian/atlc] / src / non_gui / check_parameters_of_create_bmp_for_circ_in_rect.c
diff --git a/src/non_gui/check_parameters_of_create_bmp_for_circ_in_rect.c b/src/non_gui/check_parameters_of_create_bmp_for_circ_in_rect.c
deleted file mode 100644 (file)
index 480ca4d..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-/* atlc - arbitrary transmission line calculator, for the analysis of
-transmission lines are directional couplers. 
-
-Copyright (C) 2002. Dr. David Kirkby, PhD (G8WRB).
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation; either package_version 2
-of the License, or (at your option) any later package_version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307,
-USA.
-
-Dr. David Kirkby, e-mail drkirkby at ntlworld.com 
-
-*/
-#include "config.h"
-
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif  
-
-#include "definitions.h"
-
-
-/* These items are supplied on the command line */
-
-extern double dd, WW, HH, xx, yy, Er1;
-extern int d, W, H, x, y;
-
-void check_parameters_of_create_bmp_for_circ_in_rect(void)
-{
-   if( Er1<1.0) 
-      exit_with_msg_and_exit_code("The relative permittivity (Er) must be >= 1.0",100);
-   if (dd/2.0-yy >= HH/2) 
-      exit_with_msg_and_exit_code("The circular inner will be touching the bottom of the outer !!! ",100);
-   if (dd/2.0+yy >= HH/2) 
-      exit_with_msg_and_exit_code("The circular inner will be touching the top of the outer !!! ",100);
-   if (dd/2.0+xx >= WW/2) 
-      exit_with_msg_and_exit_code("The circular inner will be touching the right side of the outer !!! ",100);
-   if (dd/2.0-xx >= WW/2) 
-      exit_with_msg_and_exit_code("The circular inner will be touching the left side of the outer !!! ",100);
-      
-}
-
-void check_circ_in_rect_int(void)
-{
-/*
-   if(verbose==TRUE)
-      fprintf(stderr,"d_outer = %d d_inner=%d offset=%h \n",D, d, h);
-      */
-}