ASPECT
entropy_advection.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) 2016-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 #ifndef _aspect_simulator_assemblers_entropy_advection_h
16 #define _aspect_simulator_assemblers_entropy_advection_h
17 
18 
21 
22 namespace aspect
23 {
24  namespace Assemblers
25  {
32  template <int dim>
34  public SimulatorAccess<dim>
35  {
36  public:
37  void
40 
41  std::vector<double>
43 
44  std::vector<double>
46 
47  std::vector<double>
49  };
50 
56  template <int dim>
57  void set_assemblers_entropy_advection(const SimulatorAccess<dim> &simulator_access,
58  Assemblers::Manager<dim> &assemblers);
59  }
60 }
61 
62 
63 #endif
std::vector< index_type > data
std::vector< double > advection_prefactors(internal::Assembly::Scratch::ScratchBase< dim > &scratch_base) const override
void execute(internal::Assembly::Scratch::ScratchBase< dim > &scratch, internal::Assembly::CopyData::CopyDataBase< dim > &data) const override
std::vector< double > diffusion_prefactors(internal::Assembly::Scratch::ScratchBase< dim > &scratch_base) const override
std::vector< double > compute_residual(internal::Assembly::Scratch::ScratchBase< dim > &scratch) const override
void set_assemblers_entropy_advection(const SimulatorAccess< dim > &simulator_access, Assemblers::Manager< dim > &assemblers)