summarylogtreecommitdiffstats
path: root/globals_apbs.patch
diff options
context:
space:
mode:
authorKherim Willems2022-10-25 14:06:16 +0200
committerKherim Willems2022-10-25 14:06:16 +0200
commit42287961288703a8bbe00182a4e270d3a36a324b (patch)
treed618e0804dd91236e6fb7ac054409d399dfb4238 /globals_apbs.patch
parent263bc044dc33c1db8a0ff205cb6c08e738e2892f (diff)
parentc8d01fd49c7ec295c38e6964b287f576b495bb68 (diff)
downloadaur-42287961288703a8bbe00182a4e270d3a36a324b.tar.gz
Merge branch 'release/v3.4.1-1'
Diffstat (limited to 'globals_apbs.patch')
-rw-r--r--globals_apbs.patch69
1 files changed, 0 insertions, 69 deletions
diff --git a/globals_apbs.patch b/globals_apbs.patch
deleted file mode 100644
index b5756c7747a2..000000000000
--- a/globals_apbs.patch
+++ /dev/null
@@ -1,69 +0,0 @@
---- src/pmgc/mgsubd.c 2020-05-30 04:47:30.000000000 +0300
-+++ src/pmgc/mgsubd.c 2020-08-19 13:08:27.503698756 +0300
-@@ -52,10 +52,12 @@
- * @endverbatim
- */
-
- #include "mgsubd.h"
-
-+double bf, oh, cputme;
-+
- VPUBLIC void Vbuildops(
- int *nx, int *ny, int *nz,
- int *nlev, int *ipkey, int *iinfo,
- int *ido, int *iz,
- int *mgprol, int *mgcoar, int *mgsolv, int *mgdisc, int *ipc,
---- src/pmgc/mgsubd.h 2020-05-30 04:47:30.000000000 +0300
-+++ src/pmgc/mgsubd.h 2020-08-19 13:08:54.266813098 +0300
-@@ -253,11 +253,11 @@
- int n3 ///< The third grid size
- );
-
-
- /// @todo Get rid of these globals in refactor
--double bf, oh, cputme;
-+extern double bf, oh, cputme;
-
- /** @brief This routine prints out some info and such from inside multigrid.
- * @author Tucker Beck [C Translation], Michael Holst [Original]
- * @note Replaces prtstp from mgsubd.f
- */
---- src/pmgc/mypdec.c 2020-05-30 04:47:30.000000000 +0300
-+++ src/pmgc/mypdec.c 2020-08-19 13:09:34.939813105 +0300
-@@ -52,10 +52,15 @@
- * @endverbatim
- */
-
- #include "mypdec.h"
-
-+double v1, v2, v3, conc1, conc2, conc3, vol, relSize;
-+int nion;
-+double charge[MAXIONS];
-+double sconc[MAXIONS];
-+
- VPUBLIC void Vmypdefinitlpbe(int *tnion, double *tcharge, double *tsconc) {
-
- int i;
-
- nion = *tnion;
---- src/pmgc/mypdec.h 2020-05-30 04:47:30.000000000 +0300
-+++ src/pmgc/mypdec.h 2020-08-19 13:09:56.172972195 +0300
-@@ -65,14 +65,14 @@
- #define ZLARGE 1.0e20
- #define SINH_MIN -85.0
- #define SINH_MAX 85.0
-
- /// @todo Remove dependencies on global variables
--double v1, v2, v3, conc1, conc2, conc3, vol, relSize;
--int nion;
--double charge[MAXIONS];
--double sconc[MAXIONS];
-+extern double v1, v2, v3, conc1, conc2, conc3, vol, relSize;
-+extern int nion;
-+extern double charge[MAXIONS];
-+extern double sconc[MAXIONS];
-
- #define Na 6.022045000e-04
-
- /** @brief Set up the ionic species to be used in later calculations. This
- * must be called before any other of the routines in this file.