ASPECT
boundary_velocity_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_velocity_residual_statistics_h
18 #define _aspect_postprocess_boundary_velocity_residual_statistics_h
19 
23 
24 
25 namespace aspect
26 {
27  namespace Postprocess
28  {
29 
37  template <int dim>
39  {
40  public:
45  void initialize () override;
46 
52  get_data_velocity (const Point<dim> &p) const;
53 
57  std::pair<std::string,std::string>
58  execute (TableHandler &statistics) override;
59 
63  static
64  void
66 
70  void
71  parse_parameters (ParameterHandler &prm) override;
72 
73  private:
82 
89 
93  std::unique_ptr<BoundaryVelocity::internal::GPlatesLookup<dim>> gplates_lookup;
94 
98  std::unique_ptr<Utilities::StructuredDataLookup<dim>> data_lookup;
99 
105  std::string data_directory;
106 
113  std::string data_file_name;
114 
123  double scale_factor;
124  };
125  }
126 }
127 
128 
129 #endif
void parse_parameters(ParameterHandler &prm) override
std::unique_ptr< BoundaryVelocity::internal::GPlatesLookup< dim > > gplates_lookup
static void declare_parameters(ParameterHandler &prm)
std::pair< std::string, std::string > execute(TableHandler &statistics) override
std::unique_ptr< Utilities::StructuredDataLookup< dim > > data_lookup
Tensor< 1, dim > get_data_velocity(const Point< dim > &p) const