ASPECT
density.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) 2015-2021 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_fluid_pressure_density_h
17 #define _aspect_boundary_fluid_pressure_density_h
18 
21 
22 
23 namespace aspect
24 {
25  namespace BoundaryFluidPressure
26  {
37  template <int dim>
38  class Density : public Interface<dim>, public SimulatorAccess<dim>
39  {
40  public:
45  const types::boundary_id boundary_indicator,
46  const MaterialModel::MaterialModelInputs<dim> &material_model_inputs,
47  const MaterialModel::MaterialModelOutputs<dim> &material_model_outputs,
48  const std::vector<Tensor<1,dim>> &normal_vectors,
49  std::vector<double> &fluid_pressure_gradient_outputs
50  ) const override;
51 
55  static
56  void
58 
62  void
63  parse_parameters (ParameterHandler &prm) override;
64 
65  private:
71  {
72  enum Kind
73  {
77  };
78  };
79 
81  };
82  }
83 }
84 
85 
86 #endif
DensityFormulation::Kind density_formulation
Definition: density.h:80
static void declare_parameters(ParameterHandler &prm)
void parse_parameters(ParameterHandler &prm) override
void fluid_pressure_gradient(const types::boundary_id boundary_indicator, const MaterialModel::MaterialModelInputs< dim > &material_model_inputs, const MaterialModel::MaterialModelOutputs< dim > &material_model_outputs, const std::vector< Tensor< 1, dim >> &normal_vectors, std::vector< double > &fluid_pressure_gradient_outputs) const override