Skip to content
Snippets Groups Projects

Automatic form generation for 2D and 3D

Merged Marcus Mohr requested to merge mohr/ffcFormGeneration_2D_3D into master
  1. Apr 06, 2018
  2. Apr 05, 2018
  3. Apr 04, 2018
    • Marcus Mohr's avatar
      Extends automatic form generation to 3D forms · 85c26103
      Marcus Mohr authored
      - Relocated all functions to helperFuncs.py
      - We now have to python scripts for generating separately 2D and 3D
        forms for triangles and tetrahedra
      85c26103
    • Marcus Mohr's avatar
      Resolves issue #60 · 0937642b
      Marcus Mohr authored
      The commit resolves issue #60, i.e. it enhances our python script to also
      generate the C++ header files for operators with mixed finite element pairs
      automatically from generic UFC form files.
      
      The changes are rather unintrusive. We now only distinguish in the script
      and the form files between elementTest and elementTrial for the test and
      trial spaces. The name and order for both elements is given in the elemList
      of the script.
      
      Due to the rather irregular placing of generated C++ files for mixed forms
      in the source tree, we now need to specify their placement in the outDir
      list.
      0937642b
    • Marcus Mohr's avatar
      Adds a script for auto-generation of operators for different elements · 6d3a2240
      Marcus Mohr authored
      The commit adds a python script that allows generation of operators with
      FFC from a form description that is independent of the actual element type.
      Thus, we can auto-generator operators that are non-mixed from a single
      UFL source file.
      
      The script places the operator header files in the source tree and also
      fixes the <ufc.h> header include path.
      6d3a2240