This will let the line wrapping function respect settings of the fortran
printer.
---
sympy/printing/fcode.py| 107 ++--
sympy/printing/tests/test_fcode.py |5 +-
2 files changed, 56 insertions(+), 56 deletions(-)
diff --git
Implemented tests of the generated strings, and a script in test_external/ to
test resulting binaries.
The existing CCodeGen and related tests was used as templates for the new
functionality.
---
sympy/test_external/test_codegen_f95_ifort.py | 240
sympy/utilities/codegen.py
fcode takes a new keyword: source_format='fixed'|'free'
---
sympy/printing/fcode.py| 71
sympy/printing/tests/test_fcode.py |6 ++--
2 files changed, 58 insertions(+), 19 deletions(-)
diff --git a/sympy/printing/fcode.py
The above code is also available at
http://github.com/jegerjensen/sympy/tree/fortran_codegen
(all patches) and http://github.com/jegerjensen/sympy/tree/fortran_free_form2
(For just the 3 first patches)
--
You received this message because you are subscribed to the Google Groups
sympy-patches
Sorry, I didn't know about the tests under doc/. I fixed it in the
second patch, and created new branches at github:
http://github.com/jegerjensen/sympy/tree/fortran_codegen2 and
http://github.com/jegerjensen/sympy/tree/fortran_free_form3 .
--
You received this message because you are