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