1
0
python3-espressomd/boost-1.74.patch
Matej Cepl efe8c56fdf - Update to 4.2.0:
This is a feature release, i.e., new functionality is added
    to ESPResSo.  New thermostats, cell systems and boundary
    conditions have been introduced to simulate systems with
    Stokesian Dynamics, Brownian Dynamics, strongly inhomogeneous
    particle sizes or translation-invariant shear flow. The
    interface underwent (non-silent) changes, therefore scripts
    will have to be slightly adapted. Most notably, particle
    access by id and particle slices have a new syntax, and
    electrostatic/magnetostatic layer correction and reaction
    methods have a different setup. All errors are also now
    emitted as Python exceptions and are recoverable with minimal
    effort.  An additional focus of this release is the
    simplification of both the C++ core and the Python script
    interface to facilitate future extensions of ESPResSo.  The
    testing of ESPResSo's functionality has been extended
    considerably. We recommend that this release be used for all
    production simulations. No further bug fix releases will be
    provided for the 4.1 line, and not all fixes are present in
    ESPResSo 4.1.4.
   Added functionality
   -------------------
   
   * `P3MGPU` now supports energy and pressure calculation via
     the CPU kernels (#4506).
   * `ELC` now works with `P3MGPU` (#4506).
   * The LB grid now supports slicing operations (#4195) and LB
     slices are equality comparable (#4268).
   * Lees-Edwards boundary conditions can be used for
     particle-based simulations (#4457). Lattice-Boltzmann

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python3-espressomd?expand=0&rev=32
2022-07-20 18:34:52 +00:00

35 lines
1.4 KiB
Diff

From a392907978506408482d0bdd388534455ba8dfba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jean-No=C3=ABl=20Grad?= <jgrad@icp.uni-stuttgart.de>
Date: Wed, 28 Oct 2020 21:22:39 +0100
Subject: [PATCH] core: Add guard for boost 1.74.0
This <boost/serialization/version.hpp> include guards against an issue
in boost::serialization from boost 1.74.0 that leads to compiler error
"explicit specialization of undeclared template struct 'version'" when
including <boost/serialization/optional.hpp>. More details in tickets:
https://github.com/boostorg/serialization/issues/210
https://github.com/boostorg/serialization/issues/217
---
src/core/grid_based_algorithms/lb_particle_coupling.hpp | 9 +++++++++
1 file changed, 9 insertions(+)
--- a/src/core/grid_based_algorithms/lb_particle_coupling.hpp
+++ b/src/core/grid_based_algorithms/lb_particle_coupling.hpp
@@ -25,6 +25,15 @@
#include <boost/serialization/access.hpp>
+/* This <boost/serialization/version.hpp> include guards against an issue
+ * in boost::serialization from boost 1.74.0 that leads to compiler error
+ * "explicit specialization of undeclared template struct 'version'" when
+ * including <boost/serialization/optional.hpp>. More details in tickets:
+ * https://github.com/boostorg/serialization/issues/210
+ * https://github.com/boostorg/serialization/issues/217
+ */
+#include <boost/serialization/version.hpp>
+
#include <cstdint>
#include <unordered_set>