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

Source Code for Package sfc.quadrature

 1  #!/usr/bin/env python 
 2  # -*- coding: utf-8 -*- 
 3  """ 
 4  This module handles various aspects of quadrature rules. 
 5  """ 
 6   
 7  # Copyright (C) 2008 Martin Sandve Alnes and Simula Resarch Laboratory 
 8  # 
 9  # This file is part of SyFi. 
10  # 
11  # SyFi is free software: you can redistribute it and/or modify 
12  # it under the terms of the GNU General Public License as published by 
13  # the Free Software Foundation, either version 2 of the License, or 
14  # (at your option) any later version. 
15  # 
16  # SyFi is distributed in the hope that it will be useful, 
17  # but WITHOUT ANY WARRANTY; without even the implied warranty of 
18  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 
19  # GNU General Public License for more details. 
20  # 
21  # You should have received a copy of the GNU General Public License 
22  # along with SyFi. If not, see <http://www.gnu.org/licenses/>. 
23  # 
24  # First added:  2008-08-12 
25  # Last changed: 2008-08-12 
26   
27  from sfc.quadrature.quadrature import find_quadrature_rule 
28  from sfc.quadrature.quadrature_code import gen_quadrature_rule_definition, gen_quadrature_rule_definitions 
29