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-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_traction_ascii_data_h
17 #define _aspect_boundary_traction_ascii_data_h
18 
21 #include <aspect/utilities.h>
22 
23 namespace aspect
24 {
25  namespace BoundaryTraction
26  {
53  template <int dim>
54  class AsciiData : public Utilities::AsciiDataBoundary<dim>, public Interface<dim>
55  {
56  public:
60  AsciiData ();
61 
66  void
67  initialize () override;
68 
69  // avoid -Woverloaded-virtual:
71 
78  boundary_traction (const types::boundary_id boundary_indicator,
79  const Point<dim> &position,
80  const Tensor<1,dim> &normal_vector) const override;
81 
88  void
89  update () override;
90 
94  static
95  void
97 
101  void
102  parse_parameters (ParameterHandler &prm) override;
103 
104  private:
105  std::set<types::boundary_id> boundary_ids;
106 
114 
122 
123  };
124  }
125 }
126 
127 
128 #endif
std::set< types::boundary_id > boundary_ids
Definition: ascii_data.h:105
static void declare_parameters(ParameterHandler &prm)
void parse_parameters(ParameterHandler &prm) override
Tensor< 1, dim > boundary_traction(const types::boundary_id boundary_indicator, const Point< dim > &position, const Tensor< 1, dim > &normal_vector) const override