Skip to content
Permalink
Browse files

Fixed missing (c) headers, CMake

  • Loading branch information
fweik committed Mar 24, 2020
1 parent a7451e3 commit 0dbb0c83aec73bc873391ab9ce631a09775d612a
Showing with 44 additions and 13 deletions.
  1. +2 −1 src/core/CMakeLists.txt
  2. +21 −0 src/core/CellStructure.cpp
  3. +21 −0 src/core/CellStructure.hpp
  4. +0 −6 src/core/particle_data.cpp
  5. +0 −6 src/core/particle_data.hpp
@@ -41,7 +41,8 @@ set(EspressoCore_SRC
thermostat.cpp
tuning.cpp
virtual_sites.cpp
exclusions.cpp CellStructure.cpp CellStructure.hpp)
exclusions.cpp
CellStructure.cpp)

if(CUDA)
set(EspressoCuda_SRC
@@ -1,3 +1,24 @@
/*
* Copyright (C) 2010-2020 The ESPResSo project
* Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009,2010
* Max-Planck-Institute for Polymer Research, Theory Group
*
* This file is part of ESPResSo.
*
* ESPResSo is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ESPResSo is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include "CellStructure.hpp"

#include "bonded_interactions/bonded_interaction_data.hpp"
@@ -1,3 +1,24 @@
/*
* Copyright (C) 2010-2020 The ESPResSo project
* Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009,2010
* Max-Planck-Institute for Polymer Research, Theory Group
*
* This file is part of ESPResSo.
*
* ESPResSo is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* ESPResSo is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef ESPRESSO_CELLSTRUCTURE_HPP
#define ESPRESSO_CELLSTRUCTURE_HPP

@@ -391,12 +391,6 @@ void add_exclusion(Particle *part, int part2);

void auto_exclusion(int distance);

/************************************************
* particle initialization functions
************************************************/

void free_particle(Particle *part) { part->~Particle(); }

void mpi_who_has_slave(int, int) {
static std::vector<int> sendbuf;
int n_part;
@@ -75,12 +75,6 @@ enum {
* Functions
************************************************/

/* Functions acting on Particles */
/************************************************/

/** Deallocate the dynamic storage of a particle. */
void free_particle(Particle *part);

/* Other Functions */
/************************************************/

0 comments on commit 0dbb0c8

Please sign in to comment.
You can’t perform that action at this time.