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-2024 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_heat_flux_map_h
17 #define _aspect_postprocess_heat_flux_map_h
18 
21 
22 
23 namespace aspect
24 {
25  namespace Postprocess
26  {
27  namespace internal
28  {
54  template <int dim>
57 
73  template <int dim>
74  std::vector<std::vector<std::pair<double, double>>>
76  }
77 
83  template <int dim>
84  class HeatFluxMap : public Interface<dim>, public ::aspect::SimulatorAccess<dim>
85  {
86  public:
90  void
91  initialize() override;
92 
96  std::pair<std::string,std::string>
97  execute (TableHandler &statistics) override;
98 
99  private:
109  void output_to_file(const types::boundary_id boundary_id,
110  const std::vector<std::vector<std::pair<double, double>>> &heat_flux_and_area);
111  };
112  }
113 }
114 
115 
116 #endif
LinearAlgebra::BlockVector compute_dirichlet_boundary_heat_flux_solution_vector(const SimulatorAccess< dim > &simulator_access)
std::vector< std::vector< std::pair< double, double > > > compute_heat_flux_through_boundary_faces(const SimulatorAccess< dim > &simulator_access)