ASPECT
particle_count.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) 2016-2023 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_visualization_particle_count_h
17 #define _aspect_postprocess_visualization_particle_count_h
18 
21 
22 
23 namespace aspect
24 {
25  namespace Postprocess
26  {
27  namespace VisualizationPostprocessors
28  {
37  template <int dim>
39  : public CellDataVectorCreator<dim>,
40  public SimulatorAccess<dim>
41  {
42  public:
46  ParticleCount();
47 
51  std::pair<std::string, std::unique_ptr<Vector<float>>>
52  execute () const override;
53 
58  std::list<std::string>
59  required_other_postprocessors() const override;
60  };
61  }
62  }
63 }
64 
65 #endif
std::list< std::string > required_other_postprocessors() const override
std::pair< std::string, std::unique_ptr< Vector< float > > > execute() const override