What’s in a name?

cFAC was started around 2010 as a fork of Flexible Atomic Code (FAC), written by Ming Feng Gu at the Space Science Laboratory of Berkeley.

The initial focus was on providing large volumes of data as required, e.g., for collisional-radiative plasma modeling, and eliminating reliance upon third-party Fortran numerical libraries with their C equivalents (hence the change in the package name).

Licensing

FAC, and hence cFAC, are released under the GPL (version 3 or higher) license.

However, some bits of FAC which are still used in cFAC, were published in Computer Physics Communications, and as such, are licensed for non-profit or academic use only.

In order to compile in these CPC-licensed modules, you need to pass the “--with-cpc-modules” configure flag and explicitly agree to the CPC licensing terms. Please note that as a result, the “sfac” executable will not be redistributable.

Installation

Prerequisites

Compilation

  1. Get the latest release from https://github.com/fnevgeny/cfac/releases. The filename should be like cfac-1.7.0.tar.gz. Unpack it and change to the newly created directory.

  2. ./configure

  3. make

  4. make check

  5. make install

Usage

The “sfac” executable accepts an input file as its only argument. See the “demo” directory for examples. For more details, please read the manual, and make sure to read the FAQ section of it.

Evgeny Stambulchik
Faculty of Physics
Weizmann Institute of Science
Rehovot 7610001
Israel