ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
core/observables/PidProfileObservable.hpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2010-2022 The ESPResSo project
3
*
4
* This file is part of ESPResSo.
5
*
6
* ESPResSo is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation, either version 3 of the License, or
9
* (at your option) any later version.
10
*
11
* ESPResSo is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with this program. If not, see <http://www.gnu.org/licenses/>.
18
*/
19
#ifndef OBSERVABLES_PIDPROFILEOBSERVABLE_HPP
20
#define OBSERVABLES_PIDPROFILEOBSERVABLE_HPP
21
22
#include "
PidObservable.hpp
"
23
#include "
ProfileObservable.hpp
"
24
25
#include <vector>
26
27
namespace
Observables
{
28
29
// Observable which acts on a given list of particle ids
30
class
PidProfileObservable
:
public
PidObservable
,
public
ProfileObservable
{
31
public
:
32
PidProfileObservable
(std::vector<int>
const
&
ids
,
int
n_x_bins,
int
n_y_bins,
33
int
n_z_bins,
double
min_x,
double
max_x,
double
min_y,
34
double
max_y,
double
min_z,
double
max_z)
35
:
PidObservable
(
ids
),
36
ProfileObservable
(n_x_bins, n_y_bins, n_z_bins, min_x, max_x, min_y,
37
max_y, min_z, max_z) {}
38
};
39
40
}
// Namespace Observables
41
#endif
Observables::PidObservable
Particle-based observable.
Definition
core/observables/PidObservable.hpp:54
Observables::PidObservable::ids
std::vector< int > const & ids() const
Definition
core/observables/PidObservable.hpp:67
Observables::PidProfileObservable
Definition
core/observables/PidProfileObservable.hpp:30
Observables::PidProfileObservable::PidProfileObservable
PidProfileObservable(std::vector< int > const &ids, int n_x_bins, int n_y_bins, int n_z_bins, double min_x, double max_x, double min_y, double max_y, double min_z, double max_z)
Definition
core/observables/PidProfileObservable.hpp:32
Observables::ProfileObservable
Cartesian profile observable.
Definition
core/observables/ProfileObservable.hpp:36
Observables
Definition
BondAngles.hpp:36
PidObservable.hpp
ProfileObservable.hpp
src
core
observables
PidProfileObservable.hpp
Generated on Fri Nov 22 2024 02:13:54 for ESPResSo by
1.9.8