From c0d146284efe9c4932b712c6b37108cfcdfef619 Mon Sep 17 00:00:00 2001
From: Pedro Gonnet <pedro.gonnet@durham.ac.uk>
Date: Wed, 9 Jan 2013 15:54:42 +0000
Subject: [PATCH] migrate name from GadgetSMP to SWIFT.

Former-commit-id: fce1166cf2800c7a2f37c0448226dd9d3149f4f6
---
 Makefile.am                 |  2 +-
 configure.in                |  4 ++--
 doc/Doxyfile                |  2 +-
 examples/Makefile.am        |  4 ++--
 examples/test.c             |  4 ++--
 src/Makefile.am             | 10 +++++-----
 src/cell.c                  |  2 +-
 src/cell.h                  |  2 +-
 src/const.h                 |  2 +-
 src/engine.c                |  2 +-
 src/engine.h                |  2 +-
 src/ic.c                    |  2 +-
 src/ic.h                    |  2 +-
 src/lock.h                  |  2 +-
 src/part.h                  |  2 +-
 src/queue.c                 |  2 +-
 src/queue.h                 |  2 +-
 src/runner.c                |  2 +-
 src/runner.h                |  2 +-
 src/runner_doiact.h         |  2 +-
 src/runner_iact.h           |  2 +-
 src/space.c                 |  2 +-
 src/space.h                 |  2 +-
 src/task.c                  |  2 +-
 src/task.h                  |  2 +-
 theory/paper_algs/paper.tex |  2 +-
 26 files changed, 33 insertions(+), 33 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index c5691141de..491dce02a6 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,5 @@
 
-# This file is part of GadgetSMP.
+# This file is part of SWIFT.
 # Coypright (c) 2012 pedro.gonnet@durham.ac.uk.
 # 
 # This program is free software: you can redistribute it and/or modify
diff --git a/configure.in b/configure.in
index 20826dad5d..12b99798b4 100644
--- a/configure.in
+++ b/configure.in
@@ -1,5 +1,5 @@
 
-# This file is part of GadgetSMP.
+# This file is part of SWIFT.
 # Coypright (c) 2012 pedro.gonnet@durham.ac.uk.
 # 
 # This program is free software: you can redistribute it and/or modify
@@ -19,7 +19,7 @@
 AC_INIT(src/space.c)
 VERSION="0.0.1"
 AC_SUBST(VERSION)
-AM_INIT_AUTOMAKE(GadgetSMP,VERSION)
+AM_INIT_AUTOMAKE(SWIFT,VERSION)
 AC_GNU_SOURCE
 AC_PROG_LIBTOOL
 
diff --git a/doc/Doxyfile b/doc/Doxyfile
index c0779504ca..94f05fba32 100644
--- a/doc/Doxyfile
+++ b/doc/Doxyfile
@@ -25,7 +25,7 @@ DOXYFILE_ENCODING      = UTF-8
 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded 
 # by quotes) that should identify the project.
 
-PROJECT_NAME           = GadgetSMP
+PROJECT_NAME           = SWIFT
 
 # The PROJECT_NUMBER tag can be used to enter a project or revision number. 
 # This could be handy for archiving the generated documentation or 
diff --git a/examples/Makefile.am b/examples/Makefile.am
index ab653f6d9a..5a2f58bf6d 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -1,5 +1,5 @@
 
-# This file is part of GadgetSMP.
+# This file is part of SWIFT.
 # Coypright (c) 2012 Pedro Gonnet (pedro.gonnet@durham.ac.uk),
 #                    Matthieu Schaller (matthieu.schaller@durham.ac.uk).
 # 
@@ -30,5 +30,5 @@ bin_PROGRAMS = test
 # Sources for test
 test_SOURCES = test.c
 test_CFLAGS = -DCOUNTER -DTIMER $(AM_CFLAGS)
-test_LDADD =  ../src/.libs/libgadgetsmp.a $(HDF5_LDFLAGS)
+test_LDADD =  ../src/.libs/libswiftsim.a $(HDF5_LDFLAGS)
 
diff --git a/examples/test.c b/examples/test.c
index 36ead64386..72d279bb14 100644
--- a/examples/test.c
+++ b/examples/test.c
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * This file is part of GadgetSMP.
+ * This file is part of SWIFT.
  * Coypright (c) 2012 Pedro Gonnet (pedro.gonnet@durham.ac.uk),
  *                    Matthieu Schaller (matthieu.schaller@durham.ac.uk)
  * 
@@ -36,7 +36,7 @@
 #endif
 
 /* Local headers. */
-#include "gadgetsmp.h"
+#include "swift.h"
 
 /* Ticks per second on this machine. */
 #ifndef CPU_TPS
diff --git a/src/Makefile.am b/src/Makefile.am
index 4d1cfd4971..2843feadaa 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,5 +1,5 @@
 
-# This file is part of GadgetSMP.
+# This file is part of SWIFT.
 # Coypright (c) 2012 Pedro Gonnet (pedro.gonnet@durham.ac.uk),
 #                    Matthieu Schaller (matthieu.schaller@durham.ac.uk).
 # 
@@ -27,11 +27,11 @@ AM_CFLAGS = -g -O3 -Wall -Werror -ffast-math -fstrict-aliasing -ftree-vectorize
 # Assign a "safe" version number
 AM_LDFLAGS = $(LAPACK_LIBS) $(BLAS_LIBS) $(HDF5_LDFLAGS) -version-info 0:0:0
 
-# Build the libgadgetsmp library
-lib_LTLIBRARIES = libgadgetsmp.la
-libgadgetsmp_la_SOURCES = space.c runner.c queue.c task.c cell.c engine.c ic.c
+# Build the libswiftsim library
+lib_LTLIBRARIES = libswiftsim.la
+libswiftsim_la_SOURCES = space.c runner.c queue.c task.c cell.c engine.c ic.c
 
 # List required headers
 include_HEADERS = space.h runner.h queue.h task.h lock.h cell.h part.h const.h \
-    engine.h gadgetsmp.h ic.h
+    engine.h swift.h ic.h
 
diff --git a/src/cell.c b/src/cell.c
index 86ff7b2ee7..de3ab0d008 100644
--- a/src/cell.c
+++ b/src/cell.c
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * This file is part of GadgetSMP.
+ * This file is part of SWIFT.
  * Coypright (c) 2012 Pedro Gonnet (pedro.gonnet@durham.ac.uk)
  * 
  * This program is free software: you can redistribute it and/or modify
diff --git a/src/cell.h b/src/cell.h
index 7d97599c06..b5f145c5e8 100644
--- a/src/cell.h
+++ b/src/cell.h
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * This file is part of GadgetSMP.
+ * This file is part of SWIFT.
  * Coypright (c) 2012 Pedro Gonnet (pedro.gonnet@durham.ac.uk)
  * 
  * This program is free software: you can redistribute it and/or modify
diff --git a/src/const.h b/src/const.h
index 4099709285..ab553a0b0c 100644
--- a/src/const.h
+++ b/src/const.h
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * This file is part of GadgetSMP.
+ * This file is part of SWIFT.
  * Coypright (c) 2012 Pedro Gonnet (pedro.gonnet@durham.ac.uk)
  * 
  * This program is free software: you can redistribute it and/or modify
diff --git a/src/engine.c b/src/engine.c
index 62b9273db6..bf34944c4b 100644
--- a/src/engine.c
+++ b/src/engine.c
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * This file is part of GadgetSMP.
+ * This file is part of SWIFT.
  * Coypright (c) 2012 Pedro Gonnet (pedro.gonnet@durham.ac.uk)
  * 
  * This program is free software: you can redistribute it and/or modify
diff --git a/src/engine.h b/src/engine.h
index d3319f2d81..71b417e34f 100644
--- a/src/engine.h
+++ b/src/engine.h
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * This file is part of GadgetSMP.
+ * This file is part of SWIFT.
  * Coypright (c) 2012 Pedro Gonnet (pedro.gonnet@durham.ac.uk)
  * 
  * This program is free software: you can redistribute it and/or modify
diff --git a/src/ic.c b/src/ic.c
index c8cdfe8880..65a083f782 100644
--- a/src/ic.c
+++ b/src/ic.c
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * This file is part of GadgetSMP.
+ * This file is part of SWIFT.
  * Coypright (c) 2012 Pedro Gonnet (pedro.gonnet@durham.ac.uk),
  *                    Matthieu Schaller (matthieu.schaller@durham.ac.uk).
  * 
diff --git a/src/ic.h b/src/ic.h
index bcacfddad0..f7f2061138 100644
--- a/src/ic.h
+++ b/src/ic.h
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * This file is part of GadgetSMP.
+ * This file is part of SWIFT.
  * Coypright (c) 2012 Matthieu Schaller (matthieu.schaller@durham.ac.uk).
  * 
  * This program is free software: you can redistribute it and/or modify
diff --git a/src/lock.h b/src/lock.h
index 9ff386119e..db4a76e83f 100644
--- a/src/lock.h
+++ b/src/lock.h
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * This file is part of GadgetSMP.
+ * This file is part of SWIFT.
  * Coypright (c) 2012 Pedro Gonnet (pedro.gonnet@durham.ac.uk)
  * 
  * This program is free software: you can redistribute it and/or modify
diff --git a/src/part.h b/src/part.h
index 32adceb9d0..2c69755d4e 100644
--- a/src/part.h
+++ b/src/part.h
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * This file is part of GadgetSMP.
+ * This file is part of SWIFT.
  * Coypright (c) 2012 Pedro Gonnet (pedro.gonnet@durham.ac.uk)
  * 
  * This program is free software: you can redistribute it and/or modify
diff --git a/src/queue.c b/src/queue.c
index ca248da6f7..f6199d6e9d 100644
--- a/src/queue.c
+++ b/src/queue.c
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * This file is part of GadgetSMP.
+ * This file is part of SWIFT.
  * Coypright (c) 2012 Pedro Gonnet (pedro.gonnet@durham.ac.uk)
  * 
  * This program is free software: you can redistribute it and/or modify
diff --git a/src/queue.h b/src/queue.h
index 491a8e718f..2db5b57c04 100644
--- a/src/queue.h
+++ b/src/queue.h
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * This file is part of GadgetSMP.
+ * This file is part of SWIFT.
  * Coypright (c) 2012 Pedro Gonnet (pedro.gonnet@durham.ac.uk)
  * 
  * This program is free software: you can redistribute it and/or modify
diff --git a/src/runner.c b/src/runner.c
index 63489d8547..2c1f89019e 100644
--- a/src/runner.c
+++ b/src/runner.c
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * This file is part of GadgetSMP.
+ * This file is part of SWIFT.
  * Coypright (c) 2012 Pedro Gonnet (pedro.gonnet@durham.ac.uk)
  * 
  * This program is free software: you can redistribute it and/or modify
diff --git a/src/runner.h b/src/runner.h
index 4bb83a460f..1ed2a5a4ee 100644
--- a/src/runner.h
+++ b/src/runner.h
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * This file is part of GadgetSMP.
+ * This file is part of SWIFT.
  * Coypright (c) 2012 Pedro Gonnet (pedro.gonnet@durham.ac.uk)
  * 
  * This program is free software: you can redistribute it and/or modify
diff --git a/src/runner_doiact.h b/src/runner_doiact.h
index 7372c23277..b2490bccc8 100644
--- a/src/runner_doiact.h
+++ b/src/runner_doiact.h
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * This file is part of GadgetSMP.
+ * This file is part of SWIFT.
  * Coypright (c) 2012 Pedro Gonnet (pedro.gonnet@durham.ac.uk)
  * 
  * This program is free software: you can redistribute it and/or modify
diff --git a/src/runner_iact.h b/src/runner_iact.h
index fff1382fc0..514234558d 100644
--- a/src/runner_iact.h
+++ b/src/runner_iact.h
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * This file is part of GadgetSMP.
+ * This file is part of SWIFT.
  * Coypright (c) 2012 Pedro Gonnet (pedro.gonnet@durham.ac.uk)
  * 
  * This program is free software: you can redistribute it and/or modify
diff --git a/src/space.c b/src/space.c
index baedadd39b..91bde77893 100644
--- a/src/space.c
+++ b/src/space.c
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * This file is part of GadgetSMP.
+ * This file is part of SWIFT.
  * Coypright (c) 2012 Pedro Gonnet (pedro.gonnet@durham.ac.uk)
  * 
  * This program is free software: you can redistribute it and/or modify
diff --git a/src/space.h b/src/space.h
index 2dc0f8878f..7791174301 100644
--- a/src/space.h
+++ b/src/space.h
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * This file is part of GadgetSMP.
+ * This file is part of SWIFT.
  * Coypright (c) 2012 Pedro Gonnet (pedro.gonnet@durham.ac.uk)
  * 
  * This program is free software: you can redistribute it and/or modify
diff --git a/src/task.c b/src/task.c
index a4c3eb5fba..60eb196df1 100644
--- a/src/task.c
+++ b/src/task.c
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * This file is part of GadgetSMP.
+ * This file is part of SWIFT.
  * Coypright (c) 2012 Pedro Gonnet (pedro.gonnet@durham.ac.uk)
  * 
  * This program is free software: you can redistribute it and/or modify
diff --git a/src/task.h b/src/task.h
index 662d838dec..caabe12ab4 100644
--- a/src/task.h
+++ b/src/task.h
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * This file is part of GadgetSMP.
+ * This file is part of SWIFT.
  * Coypright (c) 2012 Pedro Gonnet (pedro.gonnet@durham.ac.uk)
  * 
  * This program is free software: you can redistribute it and/or modify
diff --git a/theory/paper_algs/paper.tex b/theory/paper_algs/paper.tex
index a539ab9e2f..95f4ce3cd7 100644
--- a/theory/paper_algs/paper.tex
+++ b/theory/paper_algs/paper.tex
@@ -875,7 +875,7 @@ void cell_unlocktree ( struct cell c ) {
         are shown in \fig{Results}.
         
     \item The new simulation code not only scales much better, e.g. achieving
-        a parallel efficiency of 63\% at 32 cores.
+        a parallel efficiency of 73\% at 32 cores.
 
 \end{itemize}
 
-- 
GitLab