ASPECT
heat_flux_map.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_heat_flux_map_h
17 #define _aspect_postprocess_visualization_heat_flux_map_h
18 
21 
22 
23 namespace aspect
24 {
25  namespace Postprocess
26  {
27  namespace VisualizationPostprocessors
28  {
34  template <int dim>
36  : public DataPostprocessorScalar<dim>,
37  public SimulatorAccess<dim>,
38  public Interface<dim>
39  {
40  public:
44  HeatFluxMap();
45 
49  void
50  initialize() override;
51 
58  void update() override;
59 
65  void
67  std::vector<Vector<double>> &computed_quantities) const override;
68 
72  static
73  void
75 
79  void
80  parse_parameters (ParameterHandler &prm) override;
81 
82  private:
90 
100 
109  std::vector<std::vector<std::pair<double, double>>> heat_flux_and_area;
110  };
111  }
112  }
113 }
114 
115 
116 #endif
std::vector< std::vector< std::pair< double, double > > > heat_flux_and_area
void evaluate_vector_field(const DataPostprocessorInputs::Vector< dim > &input_data, std::vector< Vector< double >> &computed_quantities) const override
void parse_parameters(ParameterHandler &prm) override