calculix / ccx_fff

Fortran code converter for CalculiX CrunchiX: converts old Fortran 77 code to the one with free form. Shifts comments and continuation marks for the best code folding.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

© Ihor Mirzov, August 2020
Distributed under GNU General Public License v3.0
CalculiX, libraries ARPACK and SPOOLES have their own licenses




Downloads | How to use | Screenshot | Your help




CalculiX CrunchiX 2.16 with free form Fortran

Script ccx_fff.py converts old Fortran 77 code to the one with free form. Shifts comments and continuation marks for better code folding. Compiles all Fortran sources with -ffree-form flag. Takes files to be compiled from Makefile.inc. To understand the difference in sources see screenshot.

The script has already converted original CalculiX CrunchiX sources from folder src and put them into:

Also those folders include compiled ARPACK and SPOOLES libraries.

Converted CalculiX CrunchiX sources are compiled with multithreading using Makefile_MT.



Downloads

Release version of binaries, converted and compiled sources together with original code could be downloaded from the releases page.

Compiled with multithreading CalculiX CrunchiX binary is here:

Windows version may need Cygwin dlls to be placed in a working directory to run a calculation.



How to use

Default usage of the converter is:

python3 ccx_fff.py

Also you can explicitly point existing folders to process:

python3 ccx_fff.py ./src ./ccx_linux/src_fff
python3 ccx_fff.py ./src ./ccx_windows/src_fff



Screenshot

Before conversion vs. after conversion - code folding works like a charm:
CalculiX CrunchiX free form Fortran



Your help

  • Simply use this software and ask questions.
  • Report problems by posting issues.

About

Fortran code converter for CalculiX CrunchiX: converts old Fortran 77 code to the one with free form. Shifts comments and continuation marks for the best code folding.

License:GNU General Public License v3.0


Languages

Language:Fortran 51.7%Language:C 39.0%Language:TeX 7.1%Language:PostScript 1.0%Language:Shell 0.5%Language:Makefile 0.5%Language:C++ 0.1%Language:HTML 0.0%Language:Perl 0.0%Language:NASL 0.0%Language:Python 0.0%