svZeroDSolver
Toggle main menu visibility
Loading...
Searching...
No Matches
model
BlockType.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Stanford University, The Regents of the
2
// University of California, and others. SPDX-License-Identifier: BSD-3-Clause
3
/**
4
* @file BlockType.h
5
* @brief Specifies the types of blocks and their parameters
6
*/
7
#ifndef SVZERODSOLVER_MODEL_BLOCK_TYPE_HPP_
8
#define SVZERODSOLVER_MODEL_BLOCK_TYPE_HPP_
9
10
#include <string>
11
12
/**
13
* @brief The types of blocks supported by the solver
14
*/
15
enum class
BlockType
{
16
blood_vessel = 0,
17
junction = 1,
18
blood_vessel_junction = 2,
19
resistive_junction = 3,
20
flow_bc = 4,
21
pressure_bc = 5,
22
resistance_bc = 6,
23
windkessel_bc = 7,
24
open_loop_coronary_bc = 8,
25
closed_loop_coronary_left_bc = 9,
26
closed_loop_coronary_right_bc = 10,
27
closed_loop_rcr_bc = 11,
28
closed_loop_heart_pulmonary = 12,
29
valve_tanh = 13,
30
chamber_elastance_inductor = 14,
31
chamber_sphere = 15,
32
blood_vessel_CRL = 16,
33
piecewise_valve = 17,
34
linear_elastance_chamber = 18,
35
open_loop_coronary_var_res_bc = 19,
36
blood_vessel_rc = 20,
37
chamber_elastance_inductor_exponential = 21,
38
impedance_bc = 22
39
};
40
41
/**
42
* @brief The classes/categories of blocks supported. Some classes require
43
* special handling (e.g. closed_loop).
44
*/
45
enum class
BlockClass
{
46
vessel = 0,
47
junction = 1,
48
boundary_condition = 2,
49
closed_loop = 3,
50
external = 4,
51
valve = 5,
52
chamber = 6
53
};
54
55
/**
56
* @brief The types of vessel blocks supported.
57
*/
58
enum class
VesselType
{ inlet = 0, outlet = 1, both = 2, neither = 3 };
59
60
#endif
BlockType
BlockType
The types of blocks supported by the solver.
Definition
BlockType.h:15
BlockClass
BlockClass
The classes/categories of blocks supported. Some classes require special handling (e....
Definition
BlockType.h:45
VesselType
VesselType
The types of vessel blocks supported.
Definition
BlockType.h:58
Generated by
1.18.0