ASPECT
composition_gradient.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) 2015-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_mesh_refinement_composition_gradient_h
17 #define _aspect_mesh_refinement_composition_gradient_h
18 
21 
22 namespace aspect
23 {
24  namespace MeshRefinement
25  {
26 
33  template <int dim>
34  class CompositionGradient : public Interface<dim>,
35  public SimulatorAccess<dim>
36  {
37  public:
46  void
47  execute (Vector<float> &error_indicators) const override;
48 
52  static
53  void
55 
59  void
60  parse_parameters (ParameterHandler &prm) override;
61 
62  private:
69  std::vector<double> composition_scaling_factors;
70  };
71  }
72 }
73 
74 #endif
void execute(Vector< float > &error_indicators) const override
static void declare_parameters(ParameterHandler &prm)
void parse_parameters(ParameterHandler &prm) override