ryujin 2.5.0 revision 3a6c8d57210175dea14d8116e1fe878f349f8c1c
Loading...
Searching...
No Matches
equation.h
Go to the documentation of this file.
1//
2// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3// Copyright (C) 2026 by the ryujin authors
4//
5
6#pragma once
7
8#include <ryujin/base/compile_time_options.h>
10
11#include <deal.II/base/mpi.h>
12
13#include <string>
14
15namespace ryujin
16{
23 template <typename HyperbolicDescription,
24 typename ParabolicDescription,
25 typename Number = double>
26 class Equation final : public Interface::Equation
27 {
28 public:
32 Equation(const std::string &name)
33 : Interface::Equation(name)
34 {
35 }
36
37 void run(int dim,
38 const std::string &parameter_file,
39 const MPI_Comm &mpi_comm) const override;
40
41 void create_parameter_files() const override;
42
43 private:
48 template <int dim>
49 static void run_simulation(const std::string &parameter_file,
50 const MPI_Comm &mpi_comm);
51
55 template <int dim>
56 void create_parameter_file(bool write_detailed_description) const;
57 };
58} // namespace ryujin
void run(int dim, const std::string &parameter_file, const MPI_Comm &mpi_comm) const override
void create_parameter_files() const override
Equation(const std::string &name)
Definition equation.h:32