ASPECT
mesh_deformation.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) 2013-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_boundary_composition_mesh_deformation_h
17 #define _aspect_boundary_composition_mesh_deformation_h
18 
22 
23 
24 namespace aspect
25 {
26  namespace BoundaryComposition
27  {
35  template <int dim>
36  class MeshDeformation : public Interface<dim>, public SimulatorAccess<dim>
37  {
38  public:
43  void
44  initialize () override;
45 
51  double boundary_composition (const types::boundary_id boundary_indicator,
52  const Point<dim> &position,
53  const unsigned int compositional_field) const override;
54  };
55  }
56 }
57 
58 
59 #endif
double boundary_composition(const types::boundary_id boundary_indicator, const Point< dim > &position, const unsigned int compositional_field) const override