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_prescribed_stokes_solution_ascii_data_h
17 #define _aspect_prescribed_stokes_solution_ascii_data_h
18 
21 #include <aspect/utilities.h>
22 
23 
24 namespace aspect
25 {
26  namespace PrescribedStokesSolution
27  {
34  template <int dim>
35  class AsciiData : public Utilities::AsciiDataInitial<dim>, public Interface<dim>
36  {
37  public:
41  AsciiData ();
42 
47  void
48  initialize () override;
49 
50  // avoid -Woverloaded-virtual:
52 
57  void
58  stokes_solution (const Point<dim> &position, Vector<double> &value) const override;
59 
63  static
64  void
66 
70  void
71  parse_parameters (ParameterHandler &prm) override;
72  };
73  }
74 }
75 
76 
77 #endif
void stokes_solution(const Point< dim > &position, Vector< double > &value) const override
void parse_parameters(ParameterHandler &prm) override
static void declare_parameters(ParameterHandler &prm)