mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
sci-physics/lammps: remove unused patches
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/15730 Signed-off-by: Aaron Bauman <bman@gentoo.org>
This commit is contained in:
committed by
Aaron Bauman
parent
b570b5a8ff
commit
30f69e8496
@@ -1,11 +0,0 @@
|
||||
--- lammps-30Jul16-original/lib/meam/fm_exp.c 2016-04-18 14:00:58.000000000 +0000
|
||||
+++ lammps-30Jul16/lib/meam/fm_exp.c 2016-10-06 03:15:55.631053526 +0000
|
||||
@@ -112,7 +112,7 @@
|
||||
return epart.f*x;
|
||||
}
|
||||
|
||||
-double fm_exp_(double *x)
|
||||
+extern "C" double fm_exp_(double *x)
|
||||
{
|
||||
#if defined(__BYTE_ORDER__)
|
||||
#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
|
||||
@@ -1,11 +0,0 @@
|
||||
--- lammps-7Apr16-orig/lib/atc/Vector.h 2014-11-20 11:59:03.000000000 -0700
|
||||
+++ lammps-7Apr16/lib/atc/Vector.h 2016-10-13 06:04:44.328977960 -0600
|
||||
@@ -119,7 +119,7 @@
|
||||
{
|
||||
DenseVector<T> r(v);
|
||||
r*=(1.0/s); // for integer types this may be worthless
|
||||
- return ;
|
||||
+ return r;
|
||||
}
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
//* Operator for Vector-Vector sum
|
||||
@@ -1,11 +0,0 @@
|
||||
--- lammps-4Sep15-orig/python/lammps.py 2015-09-02 14:41:38.000000000 -0600
|
||||
+++ lammps-4Sep15/python/lammps.py 2015-09-08 05:59:16.000000000 -0600
|
||||
@@ -33,7 +33,7 @@
|
||||
except:
|
||||
type,value,tb = sys.exc_info()
|
||||
traceback.print_exception(type,value,tb)
|
||||
- raise OSError,"Could not load LAMMPS dynamic library from %s" % modpath
|
||||
+ raise OSError("Could not load LAMMPS dynamic library from %s" % modpath)
|
||||
|
||||
# if no ptr provided, create an instance of LAMMPS
|
||||
# don't know how to pass an MPI communicator from PyPar
|
||||
@@ -1,11 +0,0 @@
|
||||
--- lammps-23Mar16/python/lammps.py (original)
|
||||
+++ lammps-23Mar16/python/lammps.py (refactored)
|
||||
@@ -208,7 +208,7 @@
|
||||
result = (c_double*nlocal)()
|
||||
self.lib.lammps_extract_variable.restype = POINTER(c_double)
|
||||
ptr = self.lib.lammps_extract_variable(self.lmp,name,group)
|
||||
- for i in xrange(nlocal): result[i] = ptr[i]
|
||||
+ for i in range(nlocal): result[i] = ptr[i]
|
||||
self.lib.lammps_free(ptr)
|
||||
return result
|
||||
return None
|
||||
@@ -1,11 +0,0 @@
|
||||
--- lammps-11Apr15/python/lammps.py 2015-03-13 16:06:20.000000000 -0600
|
||||
+++ lammps-11Apr15-new/python/lammps.py 2015-04-13 09:40:43.000000000 -0600
|
||||
@@ -28,7 +28,7 @@
|
||||
except:
|
||||
type,value,tb = sys.exc_info()
|
||||
traceback.print_exception(type,value,tb)
|
||||
- raise OSError,"Could not load LAMMPS dynamic library"
|
||||
+ raise OSError("Could not load LAMMPS dynamic library")
|
||||
|
||||
# if no ptr provided, create an instance of LAMMPS
|
||||
# don't know how to pass an MPI communicator from PyPar
|
||||
@@ -1,7 +0,0 @@
|
||||
--- lammps-25Mar15/python/lammps.py 2015-03-13 16:06:20.000000000 -0600
|
||||
+++ lammps-25Mar15-new/python/lammps.py 2015-04-10 15:31:14.000000000 -0600
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!/usr/bin/env python
|
||||
# ----------------------------------------------------------------------
|
||||
# LAMMPS - Large-scale Atomic/Molecular Massively Parallel Simulator
|
||||
# http://lammps.sandia.gov, Sandia National Laboratories
|
||||
Reference in New Issue
Block a user