LANLLANL Home - LANL Directory - Search LANL Web
Los Alamos Accelerator Code Group
Los Alamos
Accelerator Code Group *
|LANL| LANSCE| LANL Accelerators| Home|
|About Us| LAACG Codes| Accelerator Physics| News|
|Beam Physics| General Resources| Software/Methods| Site Index|

  Poisson Superfish Announcement

->LAACG Codes

   ->Poisson Superfish





->LAACG Databases



Poisson Superfish Announcement

April 04, 2003


Poisson Superfish Update Announcement
From: "James H. Billen"
Date: Fri, 04 Apr 2003 17:13:50 -0700

To: Poisson Superfish Users
From: James H. Billen

Poisson Superfish Version 7.00

The last announcement was March 1, 2002 for Version 6.15. Version 6.28 will be the last version released that uses the Lahey Fortran 90 compiler. Version 6 will remain available on the FTP servers until May, 2003.

Poisson Superfish 7.00 is now available for download. The codes now use Lahey/Fujistu Fortran 95 version 5.7c and Winteracter version 5.0b. Work is now in process to produce a Linux version of Poisson Superfish using the Lahey/Fujitsu compiler and Winteracter development tools.

Version 7 also features a new InstallShield single-file setup program. File ReadMePoissonSuperfish.txt has information about downloading the setup program and installing the new version. The installer will advise you to uninstall previous versions before installing version 7. Old installers did not leave sufficient information on a computer for the new installer to recognize it as a previous installation.

Field Interpolator DLL

We now provide files for several language systems that allow users to call the Poisson Superfish field interpolator from their own programs via a Windows dynamic link library (DLL). The supported languages are:

  • Absoft Fortran version 8.0 and later.
  • Borland C++, version 5.0 and later (also Borland C).
  • Borland Delphi, version 2.0 and later.
  • Compaq (Intel) Visual Fortran (developed with v. 6.6b)
  • Lahey Fortran 90, version 2.01 and later.
  • Lahey/Fujitsu Fortran 95 (5.0 and later)
  • Microsoft Visual C++, version 2.0 and later.
  • Microsoft Visual Basic, version 4.0 and later.

Many Fortran compilers support linking with object modules made with one or more of these C languages, which provides a way for your Fortran code to call the DLL. The DLL for each language system appears in its own directory, which contains a dynamic link library (DLL), the object module used to create the DLL, an import library, and (if available) an example main program that calls the DLL.

We would like to thank Tibor Kibedi of the Australian National University for helping with the development of the DLL and for providing the example for Compaq (Intel) Visual Fortran.

We continue to provide source files and a Fortran library for users of Lahey/Fujitsu Fortran 95 (version 5.7).

Automesh Improvements

Variables XMIN, XMAX, YMIN, and YMAX are no longer needed in the Automesh input file. Automesh computes these quantities from the first region's boundaries. Automesh issues warning messages if these variables appear in the input file. Users may either remove the obsolete variables or disable the warning messages as described below. This change eliminates one of the most common problems that users encounter. If these limits do not coincide with the actual edges of the problem geometry, boundary conditions may not be applied as expected.

SF.INI settings that refer to the number of line regions (MaxXLineRegions and MaxYLineRegions) or to the number of materials (MaxMaterialTables and MaxMaterials) have all been eliminated. Automesh, Autofish and the tuning programs now pre-parse input files to determine the required settings. The settings are passed to other codes in the Poisson Superfish solution file.

Other Changes

Because of the change in compilers from version 6 to version 7, the format of the Poisson Superfish solution file has changed. Version 7 codes will automatically translate old files to the LF95 binary file format. The change is irreversible. Version 6 codes cannot read version 7 solution files.

There is no practical limit except disk space for the size of a scratch file if needed by programs Fish, CFish, Pandira, or the tuning codes. The previous limit under Lahey LF90 was 2 GB. The LF95 limit is 18 EB, nearly 10 billion times larger.

Poisson Superfish codes now have numbered error and warning messages. Users can enable or disable the pop-up warning messages. Warnings still appear in the output text files. For example, to disable warnings about obsolete variables XMIN, XMAX, YMIN, and YMAX, add the line "ShowWarning = -118, -119, -120, -121" to the [Global] section of SF.INI.

Output text files will include the complete path to the executable file that created it.

Poisson, Pandira, and SF7 allow user configuration of the precision of field data in output files written by Poisson, Pandira, and SF7.

Double-clicking and right-clicking on files with registered extensions will now use the complete path to the executable files. You would need to edit the setting (e.g., under Tools, Folder Options, File Types) if you want the operating system to search the PATH for the program.

When opening file SF.INI, programs no longer look on the PATH. A code first looks in the current directory. Next, it checks environment variable SFINI for the directory containing SF.INI. Last, it looks in the directory containing the executable file. The first file found is the one the program will use.

We fixed several problems in the plotting codes Tablplot and Quikplot. Details are in file Changes.SF7.

Error 200 previously stated that a file did not exist if a code could not open it. The message now also mentions that the file may be in use by another application.

Program MDTfish now sets Superfish variable EPSIK = 1.0E-8, which ensures that the solver produces an accurate result for very large problems.

When SF.INI variable PrintBGammaTables=Yes, programs Poisson and Pandira will now create Tablplot input files containing the material tables. Previously, this data would appear in output files OUTPOI.TXT or OUTPAN.TXT.

Programs SFO, SF7, and WSFplot have an improved algorithm for computing rf stored energy and power dissipation in dielectric and magnetic materials. In previous versions, only the power dissipation for problems solved by CFish handled multiple materials correctly, and for that calculation SF7 and WSFplot only included mesh triangles if the entire triangle was inside the rectangle that defined the integration limits. The stored energy and magnetic flux integrals in SF7 gave incorrect results if the integration grid spanned more than one material. The new procedure handles multiple materials. If an integration limit cuts through mesh triangles, the codes include the portion of mesh triangles inside the integration area. Program SF7 uses the same algorithm to compute the magnetic flux.

Obtaining Updated Files

Related Mailing Lists

* This work is supported by the U. S. Department of Energy, Office of Science, Division of High Energy Physics.

 Los Alamos National Laboratory
Operated by the University of California for the National Nuclear Security Administration,
of the US Department of Energy.    
Copyright © 2003 UC | Disclaimer/Privacy

Last modified: Mon 27 Oct 2014 4:41 PM , LDD or FLK