~meshing/meshing/urop

« back to all changes in this revision

Viewing changes to gmsh.py

  • Committer: Adam Candy
  • Date: 2013-07-23 18:17:18 UTC
  • Revision ID: adam.candy@imperial.ac.uk-20130723181718-vi35hxtsvopa74z4
Final fix (hopefully).
Licensing formally implemented.  Please update your branches and any derivative works.
Additional tidying and restructure.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
#  
23
23
##########################################################################
24
24
 
 
25
##########################################################################
 
26
#  
 
27
#  Generation of boundary representation from arbitrary geophysical
 
28
#  fields and initialisation for anisotropic, unstructured meshing.
 
29
#  
 
30
#  Copyright (C) 2011-2013 Dr Adam S. Candy, adam.candy@imperial.ac.uk
 
31
#  
 
32
#  This program is free software: you can redistribute it and/or modify
 
33
#  it under the terms of the GNU General Public License as published by
 
34
#  the Free Software Foundation, either version 3 of the License, or
 
35
#  (at your option) any later version.
 
36
#  
 
37
#  This program is distributed in the hope that it will be useful,
 
38
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
39
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
40
#  GNU General Public License for more details.
 
41
#  
 
42
#  You should have received a copy of the GNU General Public License
 
43
#  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
44
#  
 
45
##########################################################################
 
46
 
25
47
def gmsh_geo_header(output):
26
48
  '''Function writing the header to the Gmsh .geo file. The header consits of creation
27
49
     of new IDs for point, line, line-loops, surface and field entities. Then the first