ASPECT
boundary.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-2019 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_mesh_refinement_boundary_h
17 #define _aspect_mesh_refinement_boundary_h
18 
21 
22 namespace aspect
23 {
24  namespace MeshRefinement
25  {
26 
36  template <int dim>
37  class Boundary : public Interface<dim>,
38  public SimulatorAccess<dim>
39  {
40  public:
41 
50  void
51  execute (Vector<float> &error_indicators) const override;
52 
56  static
57  void
59 
63  void
64  parse_parameters (ParameterHandler &prm) override;
65 
66  private:
70  std::set<types::boundary_id> boundary_refinement_indicators;
71  };
72  }
73 }
74 
75 #endif
std::set< types::boundary_id > boundary_refinement_indicators
Definition: boundary.h:70
static void declare_parameters(ParameterHandler &prm)
void parse_parameters(ParameterHandler &prm) override
void execute(Vector< float > &error_indicators) const override