ASPECT
boundary_strain_rate_residual_statistics.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) 2014-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 
17 #ifndef _aspect_postprocess_boundary_strain_rate_residual_statistics_h
18 #define _aspect_postprocess_boundary_strain_rate_residual_statistics_h
19 
22 #include <aspect/utilities.h>
23 
24 namespace aspect
25 {
26  namespace Postprocess
27  {
28 
37  template <int dim>
39  {
40  public:
44  void initialize () override;
45 
49  double
51 
56  std::pair<std::string,std::string>
57  execute (TableHandler &statistics) override;
58 
62  static
63  void
65 
69  void
70  parse_parameters (ParameterHandler &prm) override;
71 
72  private:
76  std::unique_ptr<Utilities::StructuredDataLookup<dim>> strain_rate_data_lookup;
77 
83  std::string data_directory;
84 
89  std::string data_file_name;
90 
99  double scale_factor;
100  };
101  }
102 }
103 
104 
105 #endif
std::unique_ptr< Utilities::StructuredDataLookup< dim > > strain_rate_data_lookup
std::pair< std::string, std::string > execute(TableHandler &statistics) override
double get_data_surface_strain_rate(const Point< dim > &p) const
static void declare_parameters(ParameterHandler &prm)
void parse_parameters(ParameterHandler &prm) override