ASPECT
seismic_anomalies.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_seismic_anomalies_h
17 #define _aspect_postprocess_visualization_seismic_anomalies_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:
44 
48  std::pair<std::string, std::unique_ptr<Vector<float>>>
49  execute () const override;
50 
54  static
55  void
57 
61  void
62  parse_parameters (ParameterHandler &prm) override;
63 
64  private:
65 
74  {
78 
86  unsigned int n_slices;
87  };
88 
89 
90 
95  template <int dim>
97  :
98  public CellDataVectorCreator<dim>,
99  public SimulatorAccess<dim>
100  {
101  public:
106 
110  std::pair<std::string, std::unique_ptr<Vector<float>>>
111  execute () const override;
112 
116  static
117  void
119 
123  void
124  parse_parameters (ParameterHandler &prm) override;
125 
126  private:
127 
136  {
140 
148  unsigned int n_slices;
149  };
150  }
151  }
152 }
153 
154 #endif
std::pair< std::string, std::unique_ptr< Vector< float > > > execute() const override
enum aspect::Postprocess::VisualizationPostprocessors::SeismicVsAnomaly::VelocityScheme average_velocity_scheme