/FastCap2

FastCap is the premium capacitance solver originally developed at M.I.T. on Unix platform. A de-facto golden reference standard, FastCap extracts the capacitances of any 3D conductive geometry in free space or embedded in arbitrary, piecewise-constant dielectrics, by solving the Maxwell equations in quasi-static regime. For more information, visit

Primary LanguageC++OtherNOASSERTION

=========================================
              fastcap2
=========================================

"fastcap2" is an Python module providing a Python interface for the FastCap engine.

This project includes some major refactoring with following goals:

* Port to modern language standards
* Encapsulate data for Python object binding
* Release memory after solver object end of life
* Remove global and static variables to enable concurrent execution
* Programmatic geometry generation API


New documentation:

  docs/build/html/index.html


Files and file structure:

  CMakeLists.txt  - CMake build script (command-line tools)
  fastcap2        - Python module, sources and tests
  docs            - new documentation (Sphinx)
  samples         - new samples
  setup.py        - setuptools driver for Python module generation
  src             - the original sources, modified (command-line tools, corelib.a)
  doc             - original documentation (command-line tools)
  examples        - original examples (still functional)
  LICENSE         - original LICENSE
  README.mit      - original README (obsolete)


Building Python module:

  $ python3 setup.py build

Using Python module:

  # Note: path may be different
  $ PYTHONPATH=build/lib.linux-x86_64-3.10 python3 samples/sample2/test.py

  Capacitance Matrix:
    946.5   -683.8  
    -683.8  929.1   


Building command line tools (in "bin"):

  $ cmake -S. -Bbin
  $ cd bin
  $ make

Run command line tool ("1x1bus" example):

  $ cd examples
  $ ../bin/fastcap -l1x1bus.lst

  ... (output shortened)

  CAPACITANCE MATRIX, picofarads
                     1          2 
  1%GROUP1 1      203.5     -85.13
  2%GROUP1 2     -85.13      153.9


Building documentation:

  $ cd docs
  $ make html


=========================================
              FastCap
=========================================


FastCap is the premium capacitance solver originally developed at M.I.T. on Unix platform. A de-facto golden reference standard, FastCap extracts the capacitances of any 3D conductive geometry in free space or embedded in arbitrary, piecewise-constant dielectrics, by solving the Maxwell equations in quasi-static regime.


This repository contains the source code, in three separated branches.


The 'master' branch contains the original FastCap distribution from M.I.T.
Remark: in this branch the original 'README' file has been renamed 'README.mit'. Refer to the README.mit file for further details on this branch.

The 'WinMSVS' branch contains the FastCap2 code.  FastCap2 is the FastFieldSolvers S.R.L. Windows porting of FastCap, including a GUI. It compiles under the free for open source projects MS Visual Studio 2013 Community Edition (for exact details about MS VS2013 licensing please refer to its terms and conditions from MicroSoft)

The 'WRCad' branch contains the FastCap porting made by Whiteley Research Inc. (http://www.wrcad.com/). It supports some minor enhancements and fixes. Code compiles for Linux 32/64 bits as well as for Windows in shell only mode, using MinGW.


For pre-compiled binaries, details, branch descriptions, and instructions for compiling please visit http://www.fastfieldsolvers.com/download.htm.
Access to the download pages is free, and you may access anonymously if you want.