ASPECT
steady_rms_velocity.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_termination_criteria_steady_rms_velocity_h
17 #define _aspect_termination_criteria_steady_rms_velocity_h
18 
21 
22 namespace aspect
23 {
24  namespace TerminationCriteria
25  {
26 
33  template <int dim>
34  class SteadyRMSVelocity : public Interface<dim>, public SimulatorAccess<dim>
35  {
36  public:
43  bool
44  execute () override;
45 
49  static
50  void
52 
56  void
57  parse_parameters (ParameterHandler &prm) override;
58 
59  void
60  save (std::map<std::string, std::string> &status_strings) const override;
61 
62  void
63  load (const std::map<std::string, std::string> &status_strings) override;
64 
65  private:
70  double time_length;
71 
77 
83  std::list<std::pair<double, double>> time_rmsvel;
84  };
85  }
86 }
87 
88 #endif
void save(std::map< std::string, std::string > &status_strings) const override
std::list< std::pair< double, double > > time_rmsvel
void load(const std::map< std::string, std::string > &status_strings) override
void parse_parameters(ParameterHandler &prm) override
static void declare_parameters(ParameterHandler &prm)