ASPECT
particle_distribution_score.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) 2025-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 
16 #ifndef _aspect_postprocess_particle_distribution_score_h
17 #define _aspect_postprocess_particle_distribution_score_h
18 
21 
22 #include <deal.II/base/table.h>
23 
24 #include <vector>
25 
26 namespace aspect
27 {
28  namespace Postprocess
29  {
30 
38  template <int dim>
40  {
41  public:
45  std::pair<std::string,std::string>
46  execute (TableHandler &statistics) override;
47 
52  std::list<std::string>
53  required_other_postprocessors() const override;
54 
58  static
59  void
61 
65  void
66  parse_parameters (ParameterHandler &prm) override;
67 
68  private:
77  unsigned int granularity;
78 
88  const unsigned int particle_manager_index,
89  const double bucket_width) const;
90  };
91  }
92 }
93 
94 
95 #endif
std::pair< std::string, std::string > execute(TableHandler &statistics) override
static void declare_parameters(ParameterHandler &prm)
void parse_parameters(ParameterHandler &prm) override
std::list< std::string > required_other_postprocessors() const override
Table< dim, unsigned int > sort_particles_into_buckets(const typename Triangulation< dim >::active_cell_iterator &cell, const unsigned int particle_manager_index, const double bucket_width) const