ASPECT
radial_with_tidal_potential.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) 2014-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_gravity_model_radial_with_tidal_potential_h
17 #define _aspect_gravity_model_radial_with_tidal_potential_h
18 
22 
23 namespace aspect
24 {
25  namespace GravityModel
26  {
44  template <int dim>
45  class RadialWithTidalPotential : public Interface<dim>, public SimulatorAccess<dim>
46  {
47  public:
51  Tensor<1,dim> gravity_vector (const Point<dim> &position) const override;
52 
56  static
57  void
59 
63  void
64  parse_parameters (ParameterHandler &prm) override;
65 
66  private:
71 
76  double M_p;
77 
82  double a_s;
83 
88  double P;
89  };
90  }
91 }
92 
93 #endif
Tensor< 1, dim > gravity_vector(const Point< dim > &position) const override
void parse_parameters(ParameterHandler &prm) override
static void declare_parameters(ParameterHandler &prm)