ASPECT
user_request.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_user_request_h
17 #define _aspect_termination_criteria_user_request_h
18 
21 
22 namespace aspect
23 {
24  namespace TerminationCriteria
25  {
26 
34  template <int dim>
35  class UserRequest : public Interface<dim>, public SimulatorAccess<dim>
36  {
37  public:
44  bool
45  execute () override;
46 
50  static
51  void
53 
57  void
58  parse_parameters (ParameterHandler &prm) override;
59 
60  private:
65  std::string filename_to_test;
66  };
67  }
68 }
69 
70 #endif
static void declare_parameters(ParameterHandler &prm)
void parse_parameters(ParameterHandler &prm) override