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