BioCMAMC-ST
mixture.hpp
1#ifndef __SIMULATION_MIXTURE_HPP__
2#define __SIMULATION_MIXTURE_HPP__
3#include <optional>
4#include <string>
5
6namespace Simulation
7{
8
9 struct Phase
10 {
11 std::string name_phase_1;
12 double rho;
13 };
14
15 class Mixture
16 {
18 std::optional<Phase> dispersed;
19
21 static Mixture new_tpf();
23 static Mixture new_mf();
24
25 double alpha();
26 double rho();
27
28 private:
29 Mixture() = default;
30 };
31
32} // namespace Simulation
33
34#endif //__SIMULATION_MIXTURE_HPP__
Definition mixture.hpp:16
static Mixture new_mf()
New momophasic mixture.
static Mixture new_tpf()
New two phase flow mixture.
std::optional< Phase > dispersed
Definition mixture.hpp:18
Phase continuous
Definition mixture.hpp:17
Namespace that contains classes and structures related to simulation handling.
Definition host_specific.hpp:12
Definition mixture.hpp:10
double rho
Definition mixture.hpp:12
std::string name_phase_1
Definition mixture.hpp:11