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