changeset 154:262c9d7bda1c

Call the header file from the /include directories
author gedeone-octave <marcovass89@hotmail.it>
date Thu, 12 Sep 2013 13:44:23 +0200
parents d82b09246f6c
children 22de20d78e27
files inst/generate_fs.m inst/generate_fun.m inst/generate_lhs.m inst/generate_rhs.m inst/import_ufl_BilinearForm.m inst/import_ufl_FunctionSpace.m inst/import_ufl_Functional.m inst/import_ufl_LinearForm.m inst/import_ufl_Problem.m
diffstat 9 files changed, 19 insertions(+), 19 deletions(-) [+]
line wrap: on
line diff
--- a/inst/generate_fs.m	Thu Sep 12 13:17:23 2013 +0200
+++ b/inst/generate_fs.m	Thu Sep 12 13:44:23 2013 +0200
@@ -20,8 +20,8 @@
 function output = generate_fs (ufl_name)
 
 STRING ="\n\
-#inclcude <fem-fenics/functionspace.h>\n\
-#inclcude <fem-fenics/mesh.h>\n\
+#include <fem-fenics/functionspace.h>\n\
+#include <fem-fenics/mesh.h>\n\
 #include ""@@UFL_NAME@@.h""\n\
 \n\
 DEFUN_DLD (@@UFL_NAME@@_FunctionSpace, args, , ""initialize a fs from a mesh declared with fem_init_mesh"")\n\
--- a/inst/generate_fun.m	Thu Sep 12 13:17:23 2013 +0200
+++ b/inst/generate_fun.m	Thu Sep 12 13:44:23 2013 +0200
@@ -21,10 +21,10 @@
 
 STRING ="\n\
 #include ""@@UFL_NAME@@.h""\n\
-#inclcude <fem-fenics/mesh.h>\n\
-#inclcude <fem-fenics/form.h>\n\
-#inclcude <fem-fenics/coefficient.h>\n\
-#inclcude <fem-fenics/function.h>\n\
+#include <fem-fenics/mesh.h>\n\
+#include <fem-fenics/form.h>\n\
+#include <fem-fenics/coefficient.h>\n\
+#include <fem-fenics/function.h>\n\
 \n\
 DEFUN_DLD (@@UFL_NAME@@_Functional, args, , ""A = fem_rhs_@@UFL_NAME@@ (FUNCTIONAL SPACE, COEFF)"")\n\
 {\n\
--- a/inst/generate_lhs.m	Thu Sep 12 13:17:23 2013 +0200
+++ b/inst/generate_lhs.m	Thu Sep 12 13:44:23 2013 +0200
@@ -21,10 +21,10 @@
 
 STRING ="\n\
 #include ""@@UFL_NAME@@.h""\n\
-#inclcude <fem-fenics/form.h>\n\
-#inclcude <fem-fenics/coefficient.h>\n\
-#inclcude <fem-fenics/function.h>\n\
-#inclcude <fem-fenics/functionspace.h>\n\
+#include <fem-fenics/form.h>\n\
+#include <fem-fenics/coefficient.h>\n\
+#include <fem-fenics/function.h>\n\
+#include <fem-fenics/functionspace.h>\n\
 \n\
 DEFUN_DLD (@@UFL_NAME@@_LinearForm, args, , "" b = fem_lhs_@@UFL_NAME@@ (FUNCTIONAL SPACE, COEFF)"")\n\
 {\n\
--- a/inst/generate_rhs.m	Thu Sep 12 13:17:23 2013 +0200
+++ b/inst/generate_rhs.m	Thu Sep 12 13:44:23 2013 +0200
@@ -21,10 +21,10 @@
 
 STRING ="\n\
 #include ""@@UFL_NAME@@.h""\n\
-#inclcude <fem-fenics/form.h>\n\
-#inclcude <fem-fenics/coefficient.h>\n\
-#inclcude <fem-fenics/function.h>\n\
-#inclcude <fem-fenics/functionspace.h>\n\
+#include <fem-fenics/form.h>\n\
+#include <fem-fenics/coefficient.h>\n\
+#include <fem-fenics/function.h>\n\
+#include <fem-fenics/functionspace.h>\n\
 \n\
 DEFUN_DLD (@@UFL_NAME@@_BilinearForm, args, , ""A = fem_rhs_@@UFL_NAME@@ (FUNCTIONAL SPACE, COEFF)"")\n\
 {\n\
--- a/inst/import_ufl_BilinearForm.m	Thu Sep 12 13:17:23 2013 +0200
+++ b/inst/import_ufl_BilinearForm.m	Thu Sep 12 13:44:23 2013 +0200
@@ -31,7 +31,7 @@
   n = length (mfilename ("fullpath")) - length (mfilename());
   path = strtrunc(mfilename ("fullpath"), n);
 
-  private = fullfile (path, "private/");
+  private = fullfile (path, "include/");
   output = generate_rhs (var_prob);
   output += generate_makefile (var_prob, private);
   if output != 0
--- a/inst/import_ufl_FunctionSpace.m	Thu Sep 12 13:17:23 2013 +0200
+++ b/inst/import_ufl_FunctionSpace.m	Thu Sep 12 13:44:23 2013 +0200
@@ -31,7 +31,7 @@
   n = length (mfilename ("fullpath")) - length (mfilename());
   path = strtrunc(mfilename ("fullpath"), n);
 
-  private = fullfile (path, "private/");
+  private = fullfile (path, "include/");
   output = generate_fs (var_prob);
   output += generate_makefile (var_prob, private);
   if output != 0
--- a/inst/import_ufl_Functional.m	Thu Sep 12 13:17:23 2013 +0200
+++ b/inst/import_ufl_Functional.m	Thu Sep 12 13:44:23 2013 +0200
@@ -31,7 +31,7 @@
   n = length (mfilename ("fullpath")) - length (mfilename());
   path = strtrunc(mfilename ("fullpath"), n);
 
-  private = fullfile (path, "private/");
+  private = fullfile (path, "include/");
   output = generate_fun (var_prob);
   output += generate_makefile (var_prob, private);
   if output != 0
--- a/inst/import_ufl_LinearForm.m	Thu Sep 12 13:17:23 2013 +0200
+++ b/inst/import_ufl_LinearForm.m	Thu Sep 12 13:44:23 2013 +0200
@@ -31,7 +31,7 @@
   n = length (mfilename ("fullpath")) - length (mfilename());
   path = strtrunc(mfilename ("fullpath"), n);
 
-  private = fullfile (path, "private/");
+  private = fullfile (path, "include/");
 
   output = generate_lhs (var_prob);
   output += generate_makefile (var_prob, private);
--- a/inst/import_ufl_Problem.m	Thu Sep 12 13:17:23 2013 +0200
+++ b/inst/import_ufl_Problem.m	Thu Sep 12 13:44:23 2013 +0200
@@ -32,7 +32,7 @@
   n = length (mfilename ("fullpath")) - length (mfilename());
   path = strtrunc(mfilename ("fullpath"), n);
 
-  private = fullfile (path, "private/");
+  private = fullfile (path, "include/");
   output = generate_fs (var_prob);
   output += generate_rhs (var_prob);
   output += generate_lhs (var_prob);