svZeroDSolver
Toggle main menu visibility
Loading...
Searching...
No Matches
model
ClosedLoopCoronaryRightBC.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 ClosedLoopCoronaryRightBC.h
5
* @brief Right side of ClosedLoopCoronaryBC
6
*/
7
#ifndef SVZERODSOLVER_MODEL_CLOSEDLOOPCORONARYRIGHTBC_HPP_
8
#define SVZERODSOLVER_MODEL_CLOSEDLOOPCORONARYRIGHTBC_HPP_
9
10
#include "
ClosedLoopCoronaryBC.h
"
11
12
/**
13
* @brief Right side of closed loop coronary boundary condition
14
* ClosedLoopCoronaryBC.
15
*
16
* ### Usage in json configuration file
17
*
18
* "boundary_conditions": [
19
* {
20
* "bc_name": "RCA",
21
* "bc_type": "ClosedLoopCoronaryRight",
22
* "bc_values": {
23
* "Ra": 5.757416349,
24
* "Ram": 9.355801566,
25
* "Rv": 20.580381989,
26
* "Cim": 0.003463134,
27
* "Ca": 0.001055957
28
* }
29
* }
30
* ]
31
*/
32
class
ClosedLoopCoronaryRightBC
:
public
ClosedLoopCoronaryBC
{
33
public
:
34
/**
35
* @brief Construct a new ClosedLoopCoronaryRightBC object
36
*
37
* @param id Global ID of the block
38
* @param model The model to which the block belongs
39
*/
40
ClosedLoopCoronaryRightBC
(
int
id
,
Model
*
model
)
41
:
ClosedLoopCoronaryBC
(
id
,
model
,
42
BlockType
::closed_loop_coronary_right_bc) {}
43
44
/**
45
* @brief Setup parameters that depend on the model
46
*
47
*/
48
void
setup_model_dependent_params
()
override
;
49
};
50
51
#endif
// SVZERODSOLVER_MODEL_CLOSEDLOOPCORONARYRIGHTBC_HPP_
BlockType
BlockType
The types of blocks supported by the solver.
Definition
BlockType.h:15
ClosedLoopCoronaryBC.h
model::ClosedLoopCoronaryBC source file
Block::id
const int id
Global ID of the block.
Definition
Block.h:78
Block::model
const Model * model
The model to which the block belongs.
Definition
Block.h:79
ClosedLoopCoronaryBC::ClosedLoopCoronaryBC
ClosedLoopCoronaryBC(int id, Model *model, BlockType block_type)
Construct a ClosedLoopCoronaryBC object.
Definition
ClosedLoopCoronaryBC.h:106
ClosedLoopCoronaryRightBC::ClosedLoopCoronaryRightBC
ClosedLoopCoronaryRightBC(int id, Model *model)
Construct a new ClosedLoopCoronaryRightBC object.
Definition
ClosedLoopCoronaryRightBC.h:40
ClosedLoopCoronaryRightBC::setup_model_dependent_params
void setup_model_dependent_params() override
Setup parameters that depend on the model.
Definition
ClosedLoopCoronaryRightBC.cpp:7
Model
Model of 0D elements.
Definition
Model.h:55
Generated by
1.17.0