Commit 3d8e7719 authored by gsell's avatar gsell
Browse files

Header and added to unused files in ippl/src/Particle

parent 0b4aeaa2
//
// Class CellParticleCachingPolicy
//
// The Cell caching layout ensures that each node has all ghost particles
// for each external particle that is inside a neighboring cell.
//
// Please note: for the time being this class is *not* used! But since it
// might be used in future projects, we keep this file.
//
// Copyright (c) 2003 - 2020, Paul Scherrer Institut, Villigen PSI, Switzerland
// All rights reserved
//
// This file is part of OPAL.
//
// OPAL 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.
//
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
#ifndef CELL_PARTICLE_CACHING_POLICY #ifndef CELL_PARTICLE_CACHING_POLICY
#define CELL_PARTICLE_CACHING_POLICY #define CELL_PARTICLE_CACHING_POLICY
/*
*
* The Cell caching layout ensures that each node has all ghost particles
* for each external particle that is inside a neighboring cell.
*
*/
#include <Particle/BoxParticleCachingPolicy.h> #include <Particle/BoxParticleCachingPolicy.h>
template<class T, unsigned Dim, class Mesh> template<class T, unsigned Dim, class Mesh>
...@@ -56,4 +72,12 @@ private: ...@@ -56,4 +72,12 @@ private:
int cells[Dim]; int cells[Dim];
}; };
#endif #endif
\ No newline at end of file
// vi: set et ts=4 sw=4 sts=4:
// Local Variables:
// mode:c
// c-basic-offset: 4
// indent-tabs-mode: nil
// require-final-newline: nil
// End:
\ No newline at end of file
//
// Class NoParticleCachingPolicy
// Empty caching strategy that doesn't cache anything
//
// Please note: for the time being this class is *not* used! But since it
// might be used in future projects, we keep this file.
//
// Copyright (c) 2003 - 2020, Paul Scherrer Institut, Villigen PSI, Switzerland
// All rights reserved
//
// This file is part of OPAL.
//
// OPAL 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.
//
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
#ifndef NO_PARTICLE_CACHING_POLICY #ifndef NO_PARTICLE_CACHING_POLICY
#define NO_PARTICLE_CACHING_POLICY #define NO_PARTICLE_CACHING_POLICY
/*
*
* Empty caching strategy that doesn't cache anything
*
*/
template <class T, unsigned Dim, class Mesh, class CachingPolicy> class ParticleSpatialLayout; template <class T, unsigned Dim, class Mesh, class CachingPolicy> class ParticleSpatialLayout;
//basic policy that doesn't cache any particles //basic policy that doesn't cache any particles
...@@ -33,3 +48,11 @@ protected: ...@@ -33,3 +48,11 @@ protected:
}; };
#endif #endif
// vi: set et ts=4 sw=4 sts=4:
// Local Variables:
// mode:c
// c-basic-offset: 4
// indent-tabs-mode: nil
// require-final-newline: nil
// End:
// -*- C++ -*- //
/*************************************************************************** // Class ParticleCashedLayout
* // Please note: for the time being this class is *not* used! But since it
* The IPPL Framework // might be used in future projects, we keep this file.
* //
* // Copyright (c) 2003 - 2020, Paul Scherrer Institut, Villigen PSI, Switzerland
* Visit http://people.web.psi.ch/adelmann/ for more details // All rights reserved
* //
***************************************************************************/ // This file is part of OPAL.
//
// OPAL 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.
//
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
#ifndef PARTICLE_CASHED_LAYOUT_H #ifndef PARTICLE_CASHED_LAYOUT_H
#define PARTICLE_CASHED_LAYOUT_H #define PARTICLE_CASHED_LAYOUT_H
...@@ -178,10 +187,12 @@ private: ...@@ -178,10 +187,12 @@ private:
#include "Particle/ParticleCashedLayout.hpp" #include "Particle/ParticleCashedLayout.hpp"
#endif // PARTICLE_CASHED_LAYOUT_H #endif
/*************************************************************************** // vi: set et ts=4 sw=4 sts=4:
* $RCSfile: ParticleCashedLayout.h,v $ $Author: adelmann $ // Local Variables:
* $Revision: 1.1.1.1 $ $Date: 2003/01/23 07:40:29 $ // mode:c
* IPPL_VERSION_ID: $Id: ParticleCashedLayout.h,v 1.1.1.1 2003/01/23 07:40:29 adelmann Exp $ // c-basic-offset: 4
***************************************************************************/ // indent-tabs-mode: nil
// require-final-newline: nil
// End:
\ No newline at end of file
// -*- C++ -*- //
/*************************************************************************** // Class ParticleCashedLayout
* // Please note: for the time being this class is *not* used! But since it
* The IPPL Framework // might be used in future projects, we keep this file.
* //
***************************************************************************/ // Copyright (c) 2003 - 2020, Paul Scherrer Institut, Villigen PSI, Switzerland
// All rights reserved
//
// This file is part of OPAL.
//
// OPAL 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.
//
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
// include files
#include "Particle/ParticleCashedLayout.h" #include "Particle/ParticleCashedLayout.h"
#include "Particle/ParticleBConds.h" #include "Particle/ParticleBConds.h"
#include "Particle/IpplParticleBase.h" #include "Particle/IpplParticleBase.h"
...@@ -896,9 +907,10 @@ void ParticleCashedLayout<T,Dim,Mesh>::Repartition(UserList* userlist) { ...@@ -896,9 +907,10 @@ void ParticleCashedLayout<T,Dim,Mesh>::Repartition(UserList* userlist) {
} }
} }
// vi: set et ts=4 sw=4 sts=4:
/*************************************************************************** // Local Variables:
* $RCSfile: ParticleCashedLayout.cpp,v $ $Author: adelmann $ // mode:c
* $Revision: 1.1.1.1 $ $Date: 2003/01/23 07:40:29 $ // c-basic-offset: 4
* IPPL_VERSION_ID: $Id: ParticleCashedLayout.cpp,v 1.1.1.1 2003/01/23 07:40:29 adelmann Exp $ // indent-tabs-mode: nil
***************************************************************************/ // require-final-newline: nil
// End:
\ No newline at end of file
// -*- C++ -*- //
/*************************************************************************** // Class ParticleInteractLayout
* // Please note: for the time being this class is *not* used! But since it
* The IPPL Framework // might be used in future projects, we keep this file.
* //
***************************************************************************/ // Copyright (c) 2003 - 2020, Paul Scherrer Institut, Villigen PSI, Switzerland
// All rights reserved
//
// This file is part of OPAL.
//
// OPAL 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.
//
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
#ifndef PARTICLE_INTERACT_LAYOUT_H #ifndef PARTICLE_INTERACT_LAYOUT_H
#define PARTICLE_INTERACT_LAYOUT_H #define PARTICLE_INTERACT_LAYOUT_H
...@@ -205,10 +217,12 @@ private: ...@@ -205,10 +217,12 @@ private:
#include "Particle/ParticleInteractLayout.hpp" #include "Particle/ParticleInteractLayout.hpp"
#endif // PARTICLE_INTERACT_LAYOUT_H #endif
/*************************************************************************** // vi: set et ts=4 sw=4 sts=4:
* $RCSfile: ParticleInteractLayout.h,v $ $Author: adelmann $ // Local Variables:
* $Revision: 1.1.1.1 $ $Date: 2003/01/23 07:40:29 $ // mode:c
* IPPL_VERSION_ID: $Id: ParticleInteractLayout.h,v 1.1.1.1 2003/01/23 07:40:29 adelmann Exp $ // c-basic-offset: 4
***************************************************************************/ // indent-tabs-mode: nil
// require-final-newline: nil
// End:
// -*- C++ -*- //
/*************************************************************************** // Class ParticleInteractLayout
* // Please note: for the time being this class is *not* used! But since it
* The IPPL Framework // might be used in future projects, we keep this file.
* //
***************************************************************************/ // Copyright (c) 2003 - 2020, Paul Scherrer Institut, Villigen PSI, Switzerland
// All rights reserved
// include files //
// This file is part of OPAL.
//
// OPAL 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.
//
// You should have received a copy of the GNU General Public License
// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
//
#include "Particle/ParticleInteractLayout.h" #include "Particle/ParticleInteractLayout.h"
#include "Particle/ParticleBConds.h" #include "Particle/ParticleBConds.h"
#include "Particle/IpplParticleBase.h" #include "Particle/IpplParticleBase.h"
...@@ -15,7 +26,6 @@ ...@@ -15,7 +26,6 @@
#include "Message/Communicate.h" #include "Message/Communicate.h"
#include "Message/Message.h" #include "Message/Message.h"
#include <algorithm> #include <algorithm>
///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////
...@@ -978,3 +988,11 @@ void ParticleInteractLayout<T,Dim,Mesh>::Repartition(UserList* userlist) { ...@@ -978,3 +988,11 @@ void ParticleInteractLayout<T,Dim,Mesh>::Repartition(UserList* userlist) {
NeedGhostSwap = true; NeedGhostSwap = true;
} }
} }
// vi: set et ts=4 sw=4 sts=4:
// Local Variables:
// mode:c
// c-basic-offset: 4
// indent-tabs-mode: nil
// require-final-newline: nil
// End:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment