Mercurial > fem-fenics-eugenio
comparison inst/import_meshfunction_type.m @ 268:61830a4f9ab9
Improve formatting
author | Eugenio Gianniti <eugenio.gianniti@mail.polimi.it> |
---|---|
date | Thu, 14 Aug 2014 12:26:55 +0200 |
parents | f22588ae37af |
children | 897e312cb440 |
comparison
equal
deleted
inserted
replaced
267:53039ac90368 | 268:61830a4f9ab9 |
---|---|
32 | 32 |
33 # Ensure that the label does not contain whitespace or symbols | 33 # Ensure that the label does not contain whitespace or symbols |
34 label = genvarname (strjoin (strsplit (typename), "")); | 34 label = genvarname (strjoin (strsplit (typename), "")); |
35 | 35 |
36 if (! check_mf_files (typename)) | 36 if (! check_mf_files (typename)) |
37 n = length (mfilename ("fullpath")) - length (mfilename()); | 37 n = length (mfilename ("fullpath")) - length (mfilename ()); |
38 path = strtrunc(mfilename ("fullpath"), n); | 38 path = strtrunc (mfilename ("fullpath"), n); |
39 | 39 |
40 private = fullfile (path, "include/"); | 40 private = fullfile (path, "include/"); |
41 output = generate_mf_header (typename, label); | 41 output = generate_mf_header (typename, label); |
42 output += generate_mf_constructor (label); | 42 output += generate_mf_constructor (label); |
43 output += generate_mf_save (typename, label); | 43 output += generate_mf_save (typename, label); |