ASPECT
density_anomaly.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) 2011-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_visualization_density_anomaly_h
17 #define _aspect_postprocess_visualization_density_anomaly_h
18 
21 
22 
23 namespace aspect
24 {
25  namespace Postprocess
26  {
27  namespace VisualizationPostprocessors
28  {
33  template <int dim>
35  :
36  public CellDataVectorCreator<dim>,
37  public SimulatorAccess<dim>
38  {
39  public:
40  DensityAnomaly ();
41 
45  std::pair<std::string, std::unique_ptr<Vector<float>>>
46  execute () const override;
47 
51  static
52  void
54 
58  void
59  parse_parameters (ParameterHandler &prm) override;
60 
61  private:
62 
71  {
75 
81  unsigned int n_slices;
82 
83 
84  };
85  }
86  }
87 }
88 
89 #endif
enum aspect::Postprocess::VisualizationPostprocessors::DensityAnomaly::DensityScheme average_density_scheme
std::pair< std::string, std::unique_ptr< Vector< float > > > execute() const override