svZeroDSolver
Loading...
Searching...
No Matches
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 */
15enum 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};
33
34/**
35 * @brief The classes/categories of blocks supported. Some classes require
36 * special handling (e.g. closed_loop).
37 */
38enum class BlockClass {
39 vessel = 0,
40 junction = 1,
41 boundary_condition = 2,
42 closed_loop = 3,
43 external = 4,
44 valve = 5,
45 chamber = 6
46};
47
48/**
49 * @brief The types of vessel blocks supported.
50 */
51enum class VesselType { inlet = 0, outlet = 1, both = 2, neither = 3 };
52
53#endif
BlockType
The types of blocks supported by the solver.
Definition BlockType.h:15
BlockClass
The classes/categories of blocks supported. Some classes require special handling (e....
Definition BlockType.h:38
VesselType
The types of vessel blocks supported.
Definition BlockType.h:51