ASPECT
maximum_refinement_function.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_mesh_refinement_maximum_refinement_function_h
18 #define _aspect_mesh_refinement_maximum_refinement_function_h
19 
22 #include <aspect/utilities.h>
24 
25 namespace aspect
26 {
27  namespace MeshRefinement
28  {
29 
36  template <int dim>
37  class MaximumRefinementFunction : public Interface<dim>,
38  public SimulatorAccess<dim>
39  {
40  public:
45  void
46  update () override;
47 
53  void
54  tag_additional_cells () const override;
55 
59  static
60  void
62 
66  void
67  parse_parameters (ParameterHandler &prm) override;
68 
69  private:
77 
85 
86  };
87  }
88 }
89 
90 #endif
void parse_parameters(ParameterHandler &prm) override
static void declare_parameters(ParameterHandler &prm)
Utilities::Coordinates::CoordinateSystem coordinate_system