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_prescribed_stokes_solution_function_h
17 #define _aspect_prescribed_stokes_solution_function_h
18 
21 #include <aspect/utilities.h>
22 
24 
25 namespace aspect
26 {
27  namespace PrescribedStokesSolution
28  {
35  template <int dim>
36  class Function : public Interface<dim>, public SimulatorAccess<dim>
37  {
38  public:
42  Function ();
43 
47  void
48  stokes_solution (const Point<dim> &position, Vector<double> &value) const override;
49 
56  void
57  update () override;
58 
62  static
63  void
65 
69  void
70  parse_parameters (ParameterHandler &prm) override;
71 
72  private:
98  };
99  }
100 }
101 
102 
103 #endif
Functions::ParsedFunction< dim > prescribed_compaction_pressure_function
Definition: function.h:88
static void declare_parameters(ParameterHandler &prm)
Functions::ParsedFunction< dim > prescribed_fluid_velocity_function
Definition: function.h:92
Utilities::Coordinates::CoordinateSystem coordinate_system
Definition: function.h:97
Functions::ParsedFunction< dim > prescribed_pressure_function
Definition: function.h:80
void stokes_solution(const Point< dim > &position, Vector< double > &value) const override
void parse_parameters(ParameterHandler &prm) override
Functions::ParsedFunction< dim > prescribed_velocity_function
Definition: function.h:76
Functions::ParsedFunction< dim > prescribed_fluid_pressure_function
Definition: function.h:84