Silverfrost Logo About Us | Contact Us
 

Introduction to Simfit and Simdem

Simfit

Simfit is an Open Source package for

  • Simulation;
  • Curve Fitting;
  • Statistics; and
  • Graph plotting.

It can be downloaded from the Simfit website at

http://www.simfit.silverfrost.com

Simfit can be used in such areas as biology (growth curves), psychology (factor analysis), physiology (transport), pharamacology (dose response curves), pharmacy (pharmacokinetics), immunology (ligand binding), biochemistry (calibration), biophysics (kinetics), epidemiology (survival analysis), medical statistics (meta analysis), chemistry (chemical kinetics), physics (dynamical systems), and mathematics (numerical analysis).

Clipboard data can be analyzed, there is a fully featured pdf user manual with hyper-links, and macros to interface with MS Excel are provided.

Simdem

The Simdem package is an Open Source implementation of the front-end to the Windows API that was created using Clearwin+ to enable Simfit to run in Windows. It is now included in the standard Silverfrost release.

Simdem consists of documentation, and 70 demonstration programs in standard Fortran to illustrate how to create controls for input/ouput, and graphics files in .eps, .emf, .bmp, .pcx, .jpg, .png, tif, and .svg formats, using only standard conforming Fortran code, with no direct references to winio@, or any other FTN95 library routines. The 32-bit Simdem library implementation uses three DLLs as follows:

  1. w_menus.dll (standard Fortran);
  2. w_graphics.dll (standard Fortran); and
  3. w_clearwin.dll (FTN95 specific code and auxiliaries).

In versions of Simdem from 7.4.0 on these three dlls are replaced by the single file simdem32.dll. This run-time dll will be automatically linked when compiling from Plato.

The 64-bit Simdem library implementation uses three DLLs as follows:

  1. x64_menus.dll (standard Fortran);
  2. x64_graphics.dll (standard Fortran); and
  3. x64_clearwin.dll (FTN95 specific code and auxiliaries).

In versions of Simdem from 7.4.0 on these three dlls are replaced by the single file simdem64.dll. This run-time dll will be automatically linked when compiling from Plato.

Users of FTN95 with versions of Simdem before 7.4.0 have only to supply references to these DLLs in Plato, or on the command line to SLINK, to be able to build fully featured executables with menus, dialogues, graphics, extensive file handling procedures, and a mini spreadsheet type numerical editor, without any need to use calls to winio@. This is because all the code required to transform standard Fortran calls into calls to the Windows API via winio@ are taken care of by w_clearwin.dll, or x64_clearwin.dll when the compiler option /64 is used. Of course, the Simdem DLLs can also be used by executables that call winio@ directly, or link to any other DLLs, or static libraries.

For more detailed information see simdem.chm supplied as part of the Simdem package.

 

 

Copyright © 1999-2018 Silverfrost Limited