Home | Trees | Indices | Help |
|
---|
|
1 # -*- coding: utf-8 -*- 2 """ 3 This module contains shared code generation tools for the ufc::*_integral classes. 4 """ 5 6 # Copyright (C) 2008-2012 Martin Sandve Alnes and Simula Resarch Laboratory 7 # 8 # This file is part of SyFi. 9 # 10 # SyFi is free software: you can redistribute it and/or modify 11 # it under the terms of the GNU General Public License as published by 12 # the Free Software Foundation, either version 2 of the License, or 13 # (at your option) any later version. 14 # 15 # SyFi is distributed in the hope that it will be useful, 16 # but WITHOUT ANY WARRANTY; without even the implied warranty of 17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 # GNU General Public License for more details. 19 # 20 # You should have received a copy of the GNU General Public License 21 # along with SyFi. If not, see <http://www.gnu.org/licenses/>. 22 # 23 # First added: 2008-08-13 24 # Last changed: 2012-05-25 25 26 from sfc.common.output import sfc_debug, sfc_error, sfc_assert, sfc_warning 27 28 from sfc.codegeneration.codeformatting import indent 2934 38 42 468648 # Calling these first so we can use the analysis results in other functions 49 tabulate_tensor = indent(self.gen_tabulate_tensor()) 50 tabulate_tensor_quadrature = indent(self.gen_tabulate_tensor_quadrature()) 51 vars = { 52 "classname" : self.itgrep.classname, 53 "constructor" : indent(self.gen_constructor()), 54 "constructor_arguments" : indent(self.gen_constructor_arguments()), 55 "initializer_list" : indent(self.gen_initializer_list()), 56 "destructor" : indent(self.gen_destructor()), 57 "members" : indent(self.gen_members()), 58 "tabulate_tensor" : tabulate_tensor, 59 "tabulate_tensor_quadrature" : tabulate_tensor_quadrature, 60 } 61 return vars62 65 68 71 74 77 80 83
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Jan 31 03:52:25 2013 | http://epydoc.sourceforge.net |