Package sfc :: Package codegeneration :: Module interiorfacetintegralcg
[hide private]
[frames] | no frames]

Source Code for Module sfc.codegeneration.interiorfacetintegralcg

 1  # -*- coding: utf-8 -*- 
 2  """ 
 3  This module contains code generation tools for the ufc::interior_integral class. 
 4  """ 
 5   
 6  # Copyright (C) 2008 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: 2008-12-18 
25   
26  from sfc.common.output import sfc_error 
27  from sfc.codegeneration.integralcg import IntegralCG 
28   
29 -class InteriorFacetIntegralCG(IntegralCG):
30 - def __init__(self, itgrep):
31 IntegralCG.__init__(self, itgrep)
32
33 - def gen_constructor(self):
34 return ""
35
36 - def gen_destructor(self):
37 return ""
38
39 - def gen_members(self):
40 return ""
41
43 return 'throw std::runtime_error("tabulate_tensor for interior facet integrals not implemented");'
44
46 return 'throw std::runtime_error("tabulate_tensor for interior facet integrals not implemented");'
47