ASPECT
advection.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2017 - 2023 by the authors of the ASPECT code.
3 
4  This file is part of ASPECT.
5 
6  ASPECT is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2, or (at your option)
9  any later version.
10 
11  ASPECT is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with ASPECT; see the file doc/COPYING. If not see
18  <http://www.gnu.org/licenses/>.
19 */
20 
21 #ifndef _aspect_simulator_assemblers_advection_h
22 #define _aspect_simulator_assemblers_advection_h
23 
24 
27 
28 namespace aspect
29 {
30  namespace Assemblers
31  {
36  template <int dim>
38  public SimulatorAccess<dim>
39  {
40  public:
41  void
43  internal::Assembly::CopyData::CopyDataBase<dim> &data_base) const override;
44 
45  std::vector<double>
47  };
48 
49  template <int dim>
51  public SimulatorAccess<dim>
52  {
53  public:
54  void
56  internal::Assembly::CopyData::CopyDataBase<dim> &data_base) const override;
57 
58  std::vector<double>
60 
61  void
63  };
64 
69  template <int dim>
71  public SimulatorAccess<dim>
72  {
73  public:
74  void
76  internal::Assembly::CopyData::CopyDataBase<dim> &data_base) const override;
77 
78  std::vector<double>
80 
81  virtual
82  std::vector<double>
84 
85  virtual
86  std::vector<double>
88  };
89 
95  template <int dim>
97  public SimulatorAccess<dim>
98  {
99  public:
100  void
102  internal::Assembly::CopyData::CopyDataBase<dim> &data_base) const override;
103  };
104 
109  template <int dim>
111  public SimulatorAccess<dim>
112  {
113  public:
114  void
116  internal::Assembly::CopyData::CopyDataBase<dim> &data_base) const override;
117  };
118 
123  template <int dim>
125  public SimulatorAccess<dim>
126  {
127  public:
128  void
130  internal::Assembly::CopyData::CopyDataBase<dim> &data_base) const override;
131  };
132  }
133 }
134 
135 
136 #endif
std::vector< double > compute_residual(internal::Assembly::Scratch::ScratchBase< dim > &scratch_base) const override
virtual std::vector< double > diffusion_prefactors(internal::Assembly::Scratch::ScratchBase< dim > &scratch_base) const
virtual void create_additional_material_model_outputs(MaterialModel::MaterialModelOutputs< dim > &) const
Definition: compat.h:59
virtual std::vector< double > advection_prefactors(internal::Assembly::Scratch::ScratchBase< dim > &scratch_base) const
void execute(internal::Assembly::Scratch::ScratchBase< dim > &scratch_base, internal::Assembly::CopyData::CopyDataBase< dim > &data_base) const override