ASPECT
temperature_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_temperature_anomaly_h
17 #define _aspect_postprocess_visualization_temperature_anomaly_h
18 
21 
23 
24 
25 namespace aspect
26 {
27  namespace Postprocess
28  {
29  namespace VisualizationPostprocessors
30  {
35  template <int dim>
37  : public DataPostprocessorScalar<dim>,
38  public SimulatorAccess<dim>,
39  public Interface<dim>
40  {
41  public:
43 
44  void
46  std::vector<Vector<double>> &computed_quantities) const override;
47 
48  void
49  update () override;
50 
54  static
55  void
57 
61  void
62  parse_parameters (ParameterHandler &prm) override;
63 
64  private:
70  unsigned int n_slices;
71 
79 
84 
93  std::vector<double> padded_temperature_depth_average;
94  };
95  }
96  }
97 }
98 
99 #endif
void evaluate_vector_field(const DataPostprocessorInputs::Vector< dim > &input_data, std::vector< Vector< double >> &computed_quantities) const override