ASPECT
interface.h
Go to the documentation of this file.
1 // ------------------------------------------------------
2 //
3 // SPDX-License-Identifier: GPL-2.0-or-later
4 //
5 // SPDX-FileCopyrightText: Copyright (C) 2015-2026 by the ASPECT authors.
6 //
7 // This file is part of ASPECT.
8 //
9 // Detailed license information governing the source code and
10 // contributions can be found in the folder LICENSES and in
11 // LICENSE and CONTRIBUTING.md at the top level directory.
12 //
13 // ------------------------------------------------------
14 
15 #ifndef _aspect_particle_interface_h
16 #define _aspect_particle_interface_h
17 
18 #include <aspect/plugins.h>
19 
20 namespace aspect
21 {
22  namespace Particle
23  {
32  {
33  public:
38 
44  void set_particle_manager_index(const unsigned int particle_manager_index);
45 
49  unsigned int get_particle_manager_index() const;
50 
51  private:
55  unsigned int particle_manager_index;
56  };
57 
58  }
59 }
60 
61 
62 #endif
void set_particle_manager_index(const unsigned int particle_manager_index)
Set which particle manager the plugin belongs to.
unsigned int get_particle_manager_index() const
Gets which particle manager the plugin belong to.