
This is README for SIMLIB/C++ (Simulation Library for C++)
Version 2.18 [the new 3.0 version is in pre-alpha status]

Copyright (c) 1991-2004 Petr Peringer   
Copyright (c) 1996-1997 David Leska     [numerical methods OO framework]
Copyright (c) 2000-2001 David Martinek  [fuzzy extension]

Bug reports mail to:  peringer AT fit.vutbr.cz

  Petr Peringer, FIT TU Brno
  Bozetechova 2
  612 66 Brno, CZECH REPUBLIC


----------------------------------------------------------------
How to build and install SIMLIB:
----------------------------------------------------------------

0. Copy Makefile.<SYSTEM> into Makefile 
   [You can change Makefile --- for example set CXX variable]
1. Type "make" or "gmake" (use GNU make)
2. Test the library by "make test"  (pointer differences in output are O.K.)
3. Type "make install" (WARNING! this test version installs to .. directory)
4. Test the library by running examples in ../example*
   (not included in main distribution)


SIMLIB has been compiled and tested on:

  system                         compiler
  -----------------------------------------------------------
  Linux 2.6.9,  Athlon64/32bit   (gcc-3.4)
  Linux 2.2.18, Pentium 3        (gcc-3.0)
  Linux 2.2.17, Pentium 3        (gcc-2.95.2)
  Linux 2.0.33, i386+            (egcs-1.0.3)
  Linux 2.2.12, Pentium          (egcs-2.91.66)
  FreeBSD 2.2.7-STABLE, i386+    (egcs-2.91.57)
  FreeBSD 3.3-STABLE, Pentium 2  (gcc-2.95.1)
  SCO UNIX_SV 4.2MP 2.1.2, i386+ (egcs-2.91.57)

#untested
  MSDOS 5.0+, i386+              (DJGPP=GCC 2.8+)


Shared library have only been tested on Linux.  

Porting to another system is easy, except the process switching (see
process.cc for details) which depends on processor type and stack layout.  
If you disable processes, it should work on any system with 
(sub)standard C++ compiler. 
Patches for other architectures are welcome ;-)

----------------------------------------------------------------
WWW:
----------------------------------------------------------------

The SIMLIB home page URL: 

   http://www.fit.vutbr.cz/~peringer/SIMLIB/

Mirror site: *NONE*

----------------------------------------------------------------
How to write simulation models with SIMLIB/C++
----------------------------------------------------------------

WARNING: this paragraph is not true - test version installs in ..
See makefile for help if you want system-wide installation.

First, see the examples -- it is easy to write simple models.

The proper way to include SIMLIB header file is 
#include <simlib.h>
if SIMLIB is correctly installed 
(for example in /usr/local/lib and /usr/local/include). 
Linker switches will be "-lsimlib -lm".

If you wish to distribute a compiled program without source code: this
is allowed.  See the LGPL license.

----------------------------------------------------------------
Copyright (c) 1991-2004 Petr Peringer
----------------------------------------------------------------
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.

This library 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
Library General Public License for more details.

You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
USA.

Written by Petr Peringer              peringer AT fit.vutbr.cz 
----------------------------------------------------------------

Contributors:
    David Leska                  OO numerical methods
    David Martinek               Fuzzy subsystem extensions
    xbatrl00@stud.fee.vutbr.cz   small fix of Integrator3D::Init()

