aboutsummaryrefslogtreecommitdiff
path: root/dist
diff options
context:
space:
mode:
authorknarf <knarf@5c1b1641-b641-47ec-b3d9-0f93d4c445ee>2010-08-09 14:22:55 +0000
committerknarf <knarf@5c1b1641-b641-47ec-b3d9-0f93d4c445ee>2010-08-09 14:22:55 +0000
commit6a86719812c36c075adc88a2cfbafc6ad700d1f5 (patch)
treec815d8de8759eaa609adb1aae50e6c0ef0da950c /dist
parentedb01a1a4f41d47429089281dd235915bc9cbc06 (diff)
add some openmp support to lorene evaluation onto list of points
git-svn-id: http://svn.cactuscode.org/projects/ExternalLibraries/LORENE/trunk@23 5c1b1641-b641-47ec-b3d9-0f93d4c445ee
Diffstat (limited to 'dist')
-rw-r--r--dist/openmp.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dist/openmp.patch b/dist/openmp.patch
new file mode 100644
index 0000000..8d1bce2
--- /dev/null
+++ b/dist/openmp.patch
@@ -0,0 +1,11 @@
+diff -ur Lorene.orig/Export/C++/Source/bin_ns_aux.C Lorene/Export/C++/Source/bin_ns_aux.C
+--- Lorene.orig/Export/C++/Source/bin_ns_aux.C 2006-09-12 03:04:07.000000000 -0500
++++ Lorene/Export/C++/Source/bin_ns_aux.C 2010-07-29 12:44:16.000000000 -0500
+@@ -322,6 +322,7 @@
+ vueulerz1.coef() ;
+ vueulerz2.coef() ;
+
++#pragma omp parallel for
+ for (int i=0; i<np; i++) {
+
+ double x0 = xx[i] * km ; // x in Lorene's unit