ASPECT
ascii_data.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-2025 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_ascii_data_h
17 #define _aspect_boundary_composition_ascii_data_h
18 
20 
22 #include <aspect/utilities.h>
23 
24 
25 namespace aspect
26 {
27  namespace BoundaryComposition
28  {
35  template <int dim>
36  class AsciiData : public Utilities::AsciiDataBoundary<dim>, public Interface<dim>
37  {
38  public:
42  AsciiData ();
43 
48  void
49  initialize () override;
50 
51  // avoid -Woverloaded-virtual:
53 
60  void
61  update () override;
62 
69  double
70  boundary_composition (const types::boundary_id boundary_indicator,
71  const Point<dim> &position,
72  const unsigned int compositional_field) const override;
73 
77  static
78  void
80 
84  void
85  parse_parameters (ParameterHandler &prm) override;
86  };
87  }
88 }
89 
90 
91 #endif
void parse_parameters(ParameterHandler &prm) override
static void declare_parameters(ParameterHandler &prm)
double boundary_composition(const types::boundary_id boundary_indicator, const Point< dim > &position, const unsigned int compositional_field) const override