Package sfc
[hide private]
[frames] | no frames]

Source Code for Package sfc

 1  # -*- coding: utf-8 -*- 
 2  """ 
 3  SFC - The SyFi Form Compiler 
 4  """ 
 5   
 6  # Import whole language for defining a form 
 7  from ufl import * 
 8   
 9  # Submodules 
10  #import common 
11  #import representation 
12  #import codegeneration 
13   
14  # Options handling 
15  from sfc.common import version 
16  from sfc.common import default_parameters 
17  from sfc.common import set_logging_level 
18   
19   
20  # Function for compiling a UFL element into UFC code 
21  #from compiler import compile_element # Merge with jit if we want it. 
22   
23  # Function for compiling a UFL form into UFC code 
24  #from compiler import compile_form 
25   
26  # Function for compiling a form and importing it on the fly 
27  from sfc.jit import generate_code, cache_signature, jit, jitf 
28   
29  __version__ = "1.0.0+" 
30  __author__ = "Martin Sandve Alnæs" 
31