ASPECT
function.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_function_h
17 #define _aspect_boundary_traction_function_h
18 
21 #include <aspect/utilities.h>
22 
24 
25 namespace aspect
26 {
27  namespace BoundaryTraction
28  {
35  template <int dim>
36  class Function : public Interface<dim>, public SimulatorAccess<dim>
37  {
38  public:
42  Function ();
43 
50  boundary_traction (const types::boundary_id boundary_indicator,
51  const Point<dim> &position,
52  const Tensor<1,dim> &normal_vector) const override;
53 
60  void
61  update () override;
62 
66  static
67  void
69 
73  void
74  parse_parameters (ParameterHandler &prm) override;
75 
76  private:
81 
89 
97  };
98  }
99 }
100 
101 
102 #endif
Functions::ParsedFunction< dim > boundary_traction_function
Definition: function.h:80
static void declare_parameters(ParameterHandler &prm)
Utilities::Coordinates::CoordinateSystem coordinate_system
Definition: function.h:88
Tensor< 1, dim > boundary_traction(const types::boundary_id boundary_indicator, const Point< dim > &position, const Tensor< 1, dim > &normal_vector) const override
void parse_parameters(ParameterHandler &prm) override