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_heat_flux_function_h
17 #define _aspect_boundary_heat_flux_function_h
18 
21 #include <aspect/utilities.h>
22 
24 
25 namespace aspect
26 {
27  namespace BoundaryHeatFlux
28  {
35  template <int dim>
36  class Function : public Interface<dim>, public SimulatorAccess<dim>
37  {
38  public:
42  std::vector<Tensor<1,dim>>
43  heat_flux (const types::boundary_id boundary_indicator,
44  const MaterialModel::MaterialModelInputs<dim> &material_model_inputs,
45  const MaterialModel::MaterialModelOutputs<dim> &material_model_outputs,
46  const std::vector<Tensor<1,dim>> &normal_vectors) const override;
47 
54  void update () override;
55 
59  static
60  void
62 
66  void
67  parse_parameters (ParameterHandler &prm) override;
68 
69  private:
74 
82  };
83  }
84 }
85 
86 
87 #endif
Functions::ParsedFunction< dim > boundary_heat_flux_function
Definition: function.h:73
std::vector< Tensor< 1, dim > > heat_flux(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) const override
void parse_parameters(ParameterHandler &prm) override
static void declare_parameters(ParameterHandler &prm)
Utilities::Coordinates::CoordinateSystem coordinate_system
Definition: function.h:81