diff --git a/docs/pages/main.md b/docs/pages/main.md
index 21e916bfe..2ca954dfc 100644
--- a/docs/pages/main.md
+++ b/docs/pages/main.md
@@ -34,12 +34,19 @@ reflect the hemodynamics and physiology of different cardiovascular
anatomies. These 0D models are governed by differential algebraic equations
(DAEs).
-For more background information on 0D models, have a look at SimVascular's
-[ROM Simulation Guide](http://simvascular.github.io/docsROMSimulation.html).
+For more background information on 0D models, have a look at the detailed documentation:
+- System of equations: SparseSystem
+- Time integration: Integrator
+- Overview of available 0D elements (blocks): Block
-* Source
-repository
-* About SimVascular
+You can find more details about governing equations in individual blocks, for example:
+- BloodVessel
+- BloodVesselJunction
+- WindkesselBC
+
+For implementation details, have a look at the [source code](https://github.com/StanfordCBCL/svZeroDPlus).
+
+[About SimVascular](https://simvascular.github.io)
# Installation
diff --git a/docs/png/blood_vessel.png b/docs/png/blood_vessel.png
new file mode 100644
index 000000000..5f3fded9d
Binary files /dev/null and b/docs/png/blood_vessel.png differ
diff --git a/docs/png/blood_vessel_dark.png b/docs/png/blood_vessel_dark.png
new file mode 100644
index 000000000..2553be69a
Binary files /dev/null and b/docs/png/blood_vessel_dark.png differ
diff --git a/docs/png/blood_vessel_junction.png b/docs/png/blood_vessel_junction.png
new file mode 100644
index 000000000..714b3be6e
Binary files /dev/null and b/docs/png/blood_vessel_junction.png differ
diff --git a/docs/png/blood_vessel_junction_dark.png b/docs/png/blood_vessel_junction_dark.png
new file mode 100644
index 000000000..40d69670f
Binary files /dev/null and b/docs/png/blood_vessel_junction_dark.png differ
diff --git a/docs/png/blood_vessel_junction_individual.png b/docs/png/blood_vessel_junction_individual.png
new file mode 100644
index 000000000..7d4daa63c
Binary files /dev/null and b/docs/png/blood_vessel_junction_individual.png differ
diff --git a/docs/png/blood_vessel_junction_individual_dark.png b/docs/png/blood_vessel_junction_individual_dark.png
new file mode 100644
index 000000000..923a3f5f1
Binary files /dev/null and b/docs/png/blood_vessel_junction_individual_dark.png differ
diff --git a/docs/png/closed_loop_coronary_b_c.png b/docs/png/closed_loop_coronary_b_c.png
new file mode 100644
index 000000000..67698c810
Binary files /dev/null and b/docs/png/closed_loop_coronary_b_c.png differ
diff --git a/docs/png/closed_loop_coronary_b_c_dark.png b/docs/png/closed_loop_coronary_b_c_dark.png
new file mode 100644
index 000000000..34b7f4522
Binary files /dev/null and b/docs/png/closed_loop_coronary_b_c_dark.png differ
diff --git a/docs/png/closed_loop_r_c_r_b_c.png b/docs/png/closed_loop_r_c_r_b_c.png
new file mode 100644
index 000000000..cf7e97c5d
Binary files /dev/null and b/docs/png/closed_loop_r_c_r_b_c.png differ
diff --git a/docs/png/closed_loop_r_c_r_b_c_dark.png b/docs/png/closed_loop_r_c_r_b_c_dark.png
new file mode 100644
index 000000000..8df7f7224
Binary files /dev/null and b/docs/png/closed_loop_r_c_r_b_c_dark.png differ
diff --git a/docs/png/flow_reference_b_c.png b/docs/png/flow_reference_b_c.png
new file mode 100644
index 000000000..56c32f754
Binary files /dev/null and b/docs/png/flow_reference_b_c.png differ
diff --git a/docs/png/flow_reference_b_c_dark.png b/docs/png/flow_reference_b_c_dark.png
new file mode 100644
index 000000000..adbd6944c
Binary files /dev/null and b/docs/png/flow_reference_b_c_dark.png differ
diff --git a/docs/png/junction.png b/docs/png/junction.png
new file mode 100644
index 000000000..0faab6bd4
Binary files /dev/null and b/docs/png/junction.png differ
diff --git a/docs/png/junction_dark.png b/docs/png/junction_dark.png
new file mode 100644
index 000000000..94a8032ef
Binary files /dev/null and b/docs/png/junction_dark.png differ
diff --git a/docs/png/open_loop_coronary_b_c.png b/docs/png/open_loop_coronary_b_c.png
new file mode 100644
index 000000000..46bb1993b
Binary files /dev/null and b/docs/png/open_loop_coronary_b_c.png differ
diff --git a/docs/png/open_loop_coronary_b_c_dark.png b/docs/png/open_loop_coronary_b_c_dark.png
new file mode 100644
index 000000000..a39edaf8a
Binary files /dev/null and b/docs/png/open_loop_coronary_b_c_dark.png differ
diff --git a/docs/png/pressure_reference_b_c.png b/docs/png/pressure_reference_b_c.png
new file mode 100644
index 000000000..2678b82f4
Binary files /dev/null and b/docs/png/pressure_reference_b_c.png differ
diff --git a/docs/png/pressure_reference_b_c_dark.png b/docs/png/pressure_reference_b_c_dark.png
new file mode 100644
index 000000000..aa1922b03
Binary files /dev/null and b/docs/png/pressure_reference_b_c_dark.png differ
diff --git a/docs/png/resistance_b_c.png b/docs/png/resistance_b_c.png
new file mode 100644
index 000000000..33900fe14
Binary files /dev/null and b/docs/png/resistance_b_c.png differ
diff --git a/docs/png/resistance_b_c_dark.png b/docs/png/resistance_b_c_dark.png
new file mode 100644
index 000000000..eff07ccce
Binary files /dev/null and b/docs/png/resistance_b_c_dark.png differ
diff --git a/docs/png/resistive_junction.png b/docs/png/resistive_junction.png
new file mode 100644
index 000000000..2603fa692
Binary files /dev/null and b/docs/png/resistive_junction.png differ
diff --git a/docs/png/resistive_junction_dark.png b/docs/png/resistive_junction_dark.png
new file mode 100644
index 000000000..8fa7ead27
Binary files /dev/null and b/docs/png/resistive_junction_dark.png differ
diff --git a/docs/png/windkessel_b_c.png b/docs/png/windkessel_b_c.png
new file mode 100644
index 000000000..358b18755
Binary files /dev/null and b/docs/png/windkessel_b_c.png differ
diff --git a/docs/png/windkessel_b_c_dark.png b/docs/png/windkessel_b_c_dark.png
new file mode 100644
index 000000000..0e0bfca7d
Binary files /dev/null and b/docs/png/windkessel_b_c_dark.png differ
diff --git a/src/model/BloodVessel.h b/src/model/BloodVessel.h
index 210dfedd7..7b8d1f456 100644
--- a/src/model/BloodVessel.h
+++ b/src/model/BloodVessel.h
@@ -44,19 +44,7 @@
*
* Models the mechanical behavior of a bloodvessel with optional stenosis.
*
- * \f[
- * \begin{circuitikz} \draw
- * node[left] {$Q_{in}$} [-latex] (0,0) -- (0.8,0);
- * \draw (1,0) node[anchor=south]{$P_{in}$}
- * to [R, l=$R$, *-] (3,0)
- * to [R, l=$S$, -] (5,0)
- * (5,0) to [L, l=$L$, -*] (7,0)
- * node[anchor=south]{$P_{out}$}
- * (5,0) to [C, l=$C$, -] (5,-1.5)
- * node[ground]{};
- * \draw [-latex] (7.2,0) -- (8,0) node[right] {$Q_{out}$};
- * \end{circuitikz}
- * \f]
+ * \image html blood_vessel_dark.png
*
* ### Governing equations
*
@@ -141,6 +129,19 @@
* * `3` Stenosis coefficient
*
*/
+// * \f[
+// * \begin{circuitikz} \draw
+// * node[left] {$Q_{in}$} [-latex] (0,0) -- (0.8,0);
+// * \draw (1,0) node[anchor=south]{$P_{in}$}
+// * to [R, l=$R$, *-] (3,0)
+// * to [R, l=$S$, -] (5,0)
+// * (5,0) to [L, l=$L$, -*] (7,0)
+// * node[anchor=south]{$P_{out}$}
+// * (5,0) to [C, l=$C$, -] (5,-1.5)
+// * node[ground]{};
+// * \draw [-latex] (7.2,0) -- (8,0) node[right] {$Q_{out}$};
+// * \end{circuitikz}
+// * \f]
class BloodVessel : public Block {
public:
/**
diff --git a/src/model/BloodVesselJunction.h b/src/model/BloodVesselJunction.h
index f30a9e6ba..41a201acf 100644
--- a/src/model/BloodVesselJunction.h
+++ b/src/model/BloodVesselJunction.h
@@ -40,39 +40,16 @@
#include "SparseSystem.h"
/**
- * @brief BloodVesselJunction
+ * @brief Junction between blood vessels
*
* Models a junction with one inlet and arbitrary outlets using
* modified blood vessel elements between each inlet and outlet pair.
*
- * \f[
- * \begin{circuitikz}
- * \draw node[left] {$Q_\text{in}$} [-latex] (0,0) -- (0.8,0);
- * \draw (1,0.1) node[anchor=south]{$P_\text{in}$};
- * \draw (1,0) to [short, *-] (2.5,0.75);
- * \draw (1,0) to [short, *-] (2.5,-0.75);
- * \draw (2.5,0.75) node[anchor=south]{} to [generic, l_=$BV_{1}$, -*]
- * (4.5,0.75); \draw (2.4,0.75) node[anchor=south]{}; \draw (4.6,0.75)
- * node[anchor=south] {$P_{out,1}$}; \draw (2.5,-0.75) node[anchor=south]{} to
- * [generic, l^=$BV_{2}$, -*] (4.5,-0.75); \draw (2.4,-0.75)
- * node[anchor=north]{}; \draw (4.6,-0.75) node[anchor=north]
- * {$P_{out,2}$}; \draw [-latex] (4.7,0.75) -- (5.5,0.75) node[right]
- * {$Q_{out,1}$}; \draw [-latex] (4.7,-0.75) -- (5.5,-0.75) node[right]
- * {$Q_{out,2}$}; \end{circuitikz} \f]
+ * \image html blood_vessel_junction_dark.png
*
* Each blood vessel is modelled as:
*
- * \f[
- * \begin{circuitikz} \draw
- * node[left] {$Q_\text{in}$} [-latex] (0,0) -- (0.8,0);
- * \draw (1,0) node[anchor=south]{$P_\text{in}$}
- * to [R, l=$R$, *-] (3,0)
- * to [R, l=$S$, -] (5,0)
- * (5,0) to [L, l=$L$, -*] (7,0)
- * node[anchor=south]{$P_\text{out}$};
- * \draw [-latex] (7.2,0) -- (8,0) node[right] {$Q_\text{out}$};
- * \end{circuitikz}
- * \f]
+ * \image html blood_vessel_junction_individual_dark.png
*
* ### Governing equations
*
@@ -140,6 +117,33 @@
* * `i+2*num_outlets` Stenosis coefficient for inner blood vessel `i`
*
*/
+// * \f[
+// * \begin{circuitikz}
+// * \draw node[left] {$Q_\text{in}$} [-latex] (0,0) -- (0.8,0);
+// * \draw (1,0.1) node[anchor=south]{$P_\text{in}$};
+// * \draw (1,0) to [short, *-] (2.5,0.75);
+// * \draw (1,0) to [short, *-] (2.5,-0.75);
+// * \draw (2.5,0.75) node[anchor=south]{} to [generic, l_=$BV_{1}$, -*]
+// * (4.5,0.75); \draw (2.4,0.75) node[anchor=south]{}; \draw (4.6,0.75)
+// * node[anchor=south] {$P_{out,1}$}; \draw (2.5,-0.75) node[anchor=south]{} to
+// * [generic, l^=$BV_{2}$, -*] (4.5,-0.75); \draw (2.4,-0.75)
+// * node[anchor=north]{}; \draw (4.6,-0.75) node[anchor=north]
+// * {$P_{out,2}$}; \draw [-latex] (4.7,0.75) -- (5.5,0.75) node[right]
+// * {$Q_{out,1}$}; \draw [-latex] (4.7,-0.75) -- (5.5,-0.75) node[right]
+// * {$Q_{out,2}$}; \end{circuitikz}
+// * \f]
+//
+// * \f[
+// * \begin{circuitikz} \draw
+// * node[left] {$Q_\text{in}$} [-latex] (0,0) -- (0.8,0);
+// * \draw (1,0) node[anchor=south]{$P_\text{in}$}
+// * to [R, l=$R$, *-] (3,0)
+// * to [R, l=$S$, -] (5,0)
+// * (5,0) to [L, l=$L$, -*] (7,0)
+// * node[anchor=south]{$P_\text{out}$};
+// * \draw [-latex] (7.2,0) -- (8,0) node[right] {$Q_\text{out}$};
+// * \end{circuitikz}
+// * \f]
class BloodVesselJunction : public Block {
public:
// Inherit constructors
diff --git a/src/model/ClosedLoopCoronaryBC.h b/src/model/ClosedLoopCoronaryBC.h
index 7924b2f50..76506d395 100644
--- a/src/model/ClosedLoopCoronaryBC.h
+++ b/src/model/ClosedLoopCoronaryBC.h
@@ -44,21 +44,7 @@ enum class Side { LEFT, RIGHT, NONE };
* @brief Closed loop coronary boundary condition (connected to other blocks on
* both sides).
*
- * \f[
- * \begin{circuitikz} \draw
- * node[left] {$Q_{in}$} [-latex] (0,0) -- (0.8,0);
- * \draw (1,0) node[anchor=south]{$P_{in}$}
- * to [R, l=$R_a$, *-] (3,0)
- * to [R, l=$R_{am}$, -] (5,0)
- * to [R, l=$R_v$, *-*] (7,0)
- * node[anchor=south]{$P_{out}$}
- * (5,0) to [C, l=$C_{im} \;V_{im}$, -*] (5,-1.5)
- * node[left]{$P_{im}$}
- * (3,0) to [C, l=$C_a$, -*] (3,-1.5)
- * node[left]{$P_a$};
- * \draw [-latex] (7.2,0) -- (8.0,0) node[right] {$Q_{out}$};
- * \end{circuitikz}
- * \f]
+ * \image html closed_loop_coronary_b_c_dark.png
*
* ### Governing equations
*
@@ -116,6 +102,21 @@ enum class Side { LEFT, RIGHT, NONE };
* * `4` Cim
*
*/
+// * \f[
+// * \begin{circuitikz} \draw
+// * node[left] {$Q_{in}$} [-latex] (0,0) -- (0.8,0);
+// * \draw (1,0) node[anchor=south]{$P_{in}$}
+// * to [R, l=$R_a$, *-] (3,0)
+// * to [R, l=$R_{am}$, -] (5,0)
+// * to [R, l=$R_v$, *-*] (7,0)
+// * node[anchor=south]{$P_{out}$}
+// * (5,0) to [C, l=$C_{im} \;V_{im}$, -*] (5,-1.5)
+// * node[left]{$P_{im}$}
+// * (3,0) to [C, l=$C_a$, -*] (3,-1.5)
+// * node[left]{$P_a$};
+// * \draw [-latex] (7.2,0) -- (8.0,0) node[right] {$Q_{out}$};
+// * \end{circuitikz}
+// * \f]
class ClosedLoopCoronaryBC : public Block {
public:
explicit ClosedLoopCoronaryBC(int id, const std::vector ¶m_ids,
diff --git a/src/model/ClosedLoopRCRBC.h b/src/model/ClosedLoopRCRBC.h
index cc0f405ce..32189d96c 100644
--- a/src/model/ClosedLoopRCRBC.h
+++ b/src/model/ClosedLoopRCRBC.h
@@ -43,18 +43,7 @@
* Models the mechanical behavior of a Windkessel boundary condition that is
* connected to other blocks on both sides.
*
- * \f[
- * \begin{circuitikz} \draw
- * node[left] {$Q_{in}$} [-latex] (0,0) -- (0.8,0);
- * \draw (1,0) node[anchor=south]{$P_{in}$}
- * to [R, l=$R_p$, *-] (3,0)
- * to [R, l=$R_d$, *-*] (5,0)
- * node[anchor=south]{$P_{out}$}
- * (3,0) to [C, l=$C$, *-] (3,-1.5)
- * node[ground]{$P_{C}$};
- * \draw [-latex] (5.2,0) -- (6.0,0) node[right] {$Q_{out}$} ;
- * \end{circuitikz}
- * \f]
+ * \image html closed_loop_r_c_r_b_c_dark.png
*
* ### Governing equations
*
@@ -108,6 +97,18 @@
* * `2` Distal resistance
*
*/
+// * \f[
+// * \begin{circuitikz} \draw
+// * node[left] {$Q_{in}$} [-latex] (0,0) -- (0.8,0);
+// * \draw (1,0) node[anchor=south]{$P_{in}$}
+// * to [R, l=$R_p$, *-] (3,0)
+// * to [R, l=$R_d$, *-*] (5,0)
+// * node[anchor=south]{$P_{out}$}
+// * (3,0) to [C, l=$C$, *-] (3,-1.5)
+// * node[ground]{$P_{C}$};
+// * \draw [-latex] (5.2,0) -- (6.0,0) node[right] {$Q_{out}$} ;
+// * \end{circuitikz}
+// * \f]
class ClosedLoopRCRBC : public Block {
public:
// Inherit constructors
diff --git a/src/model/FlowReferenceBC.h b/src/model/FlowReferenceBC.h
index a955e3ab4..5a0b0a617 100644
--- a/src/model/FlowReferenceBC.h
+++ b/src/model/FlowReferenceBC.h
@@ -43,13 +43,7 @@
*
* Applies a prescribed flow to a boundary.
*
- * \f[
- * \begin{circuitikz} \draw
- * node[left] {$\hat{Q}$} [-latex] (0,0) -- (0.8,0);
- * \draw (1,0) node[anchor=south]{$P$} to [short, *-] (1.2,0) ;
- * \draw [-latex] (1.4,0) -- (2.2,0) node[right] {$Q$};
- * \end{circuitikz}
- * \f]
+ * \image html flow_reference_b_c_dark.png
*
* ### Governing equations
*
@@ -78,6 +72,13 @@
* * `0` Flow
*
*/
+// * \f[
+// * \begin{circuitikz} \draw
+// * node[left] {$\hat{Q}$} [-latex] (0,0) -- (0.8,0);
+// * \draw (1,0) node[anchor=south]{$P$} to [short, *-] (1.2,0) ;
+// * \draw [-latex] (1.4,0) -- (2.2,0) node[right] {$Q$};
+// * \end{circuitikz}
+// * \f]
class FlowReferenceBC : public Block {
public:
// Inherit constructors
diff --git a/src/model/Junction.h b/src/model/Junction.h
index ff6c24464..8efe4939b 100644
--- a/src/model/Junction.h
+++ b/src/model/Junction.h
@@ -43,18 +43,7 @@
* Models a junction with arbitrary inlets and outlets. Across all inlets and
* outlets of the junction, mass is conserved and pressure is continuous.
*
- * \f[
- * \begin{circuitikz}
- * \draw node[left] {$Q_{in}$} [-latex] (0,0) -- (0.8,0);
- * \draw (1,0) node[anchor=south]{$P_{in}$} to [short, *-*] (3.0,0);
- * \draw (3,0) node[anchor=south]{} to [short, -*] (4.5,1.0);
- * \draw (4.3,1.1) node[anchor=south] {$P_{out,1}$};
- * \draw (3,0) node[anchor=south]{} to [short, -*] (4.5,-1.0);
- * \draw (4.3,-1.1) node[anchor=north] {$P_{out,2}$};
- * \draw [-latex] (4.65,1.1) -- (5.25,1.5) node[right] {$Q_{out,1}$};
- * \draw [-latex] (4.65,-1.1) -- (5.25,-1.5) node[right] {$Q_{out,2}$};
- * \end{circuitikz}
- * \f]
+ * \image html junction_dark.png
*
* ### Governing equations
*
@@ -85,6 +74,18 @@
* \quad \mathrm{with} \quad i \neq j \f]
*
*/
+// * \f[
+// * \begin{circuitikz}
+// * \draw node[left] {$Q_{in}$} [-latex] (0,0) -- (0.8,0);
+// * \draw (1,0) node[anchor=south]{$P_{in}$} to [short, *-*] (3.0,0);
+// * \draw (3,0) node[anchor=south]{} to [short, -*] (4.5,1.0);
+// * \draw (4.3,1.1) node[anchor=south] {$P_{out,1}$};
+// * \draw (3,0) node[anchor=south]{} to [short, -*] (4.5,-1.0);
+// * \draw (4.3,-1.1) node[anchor=north] {$P_{out,2}$};
+// * \draw [-latex] (4.65,1.1) -- (5.25,1.5) node[right] {$Q_{out,1}$};
+// * \draw [-latex] (4.65,-1.1) -- (5.25,-1.5) node[right] {$Q_{out,2}$};
+// * \end{circuitikz}
+// * \f]
class Junction : public Block {
public:
using Block::Block;
diff --git a/src/model/OpenLoopCoronaryBC.h b/src/model/OpenLoopCoronaryBC.h
index 2c0f69c80..e72a9765e 100644
--- a/src/model/OpenLoopCoronaryBC.h
+++ b/src/model/OpenLoopCoronaryBC.h
@@ -41,20 +41,7 @@
/**
* @brief Open loop coronary boundary condition based on \cite kim_coronary.
*
- * \f[
- * \begin{circuitikz} \draw
- * node[left] {$Q_{in}$} [-latex] (0,0) -- (0.8,0);
- * \draw (1,0) node[anchor=south]{$P_{in}$}
- * to [R, l=$R_a$, *-] (3,0)
- * to [R, l=$R_{am}$, -] (5,0)
- * to [R, l=$R_v$, *-*] (7,0)
- * node[anchor=south]{$P_{v}$}
- * (5,0) to [C, l=$C_{im} \;V_{im}$, -*] (5,-1.5)
- * node[left]{$P_{im}$}
- * (3,0) to [C, l=$C_a$, -*] (3,-1.5)
- * node[left]{$P_a$};
- * \end{circuitikz}
- * \f]
+ * \image html open_loop_coronary_b_c_dark.png
*
* ### Governing equations
*
@@ -104,6 +91,20 @@
* * `6` Pv
*
*/
+// * \f[
+// * \begin{circuitikz} \draw
+// * node[left] {$Q_{in}$} [-latex] (0,0) -- (0.8,0);
+// * \draw (1,0) node[anchor=south]{$P_{in}$}
+// * to [R, l=$R_a$, *-] (3,0)
+// * to [R, l=$R_{am}$, -] (5,0)
+// * to [R, l=$R_v$, *-*] (7,0)
+// * node[anchor=south]{$P_{v}$}
+// * (5,0) to [C, l=$C_{im} \;V_{im}$, -*] (5,-1.5)
+// * node[left]{$P_{im}$}
+// * (3,0) to [C, l=$C_a$, -*] (3,-1.5)
+// * node[left]{$P_a$};
+// * \end{circuitikz}
+// * \f]
class OpenLoopCoronaryBC : public Block {
public:
// Inherit constructors
diff --git a/src/model/PressureReferenceBC.h b/src/model/PressureReferenceBC.h
index 92515b01c..5d4e2984c 100644
--- a/src/model/PressureReferenceBC.h
+++ b/src/model/PressureReferenceBC.h
@@ -43,14 +43,7 @@
*
* Applies a predefined pressure at a boundary.
*
- * \f[
- * \begin{circuitikz}
- * \draw (1,0) node[anchor=south]{$P$} to [short, *-] (1.2,0) ;
- * \draw [-latex] (1.4,0) -- (2.2,0) node[right] {$Q$};
- * \draw (1,0) to [short, l=, *-] (1,-1)
- * node[ground]{$\hat{P}$};
- * \end{circuitikz}
- * \f]
+ * \image html pressure_reference_b_c_dark.png
*
* ### Governing equations
*
@@ -79,6 +72,14 @@
* * `0` Pressure
*
*/
+// * \f[
+// * \begin{circuitikz}
+// * \draw (1,0) node[anchor=south]{$P$} to [short, *-] (1.2,0) ;
+// * \draw [-latex] (1.4,0) -- (2.2,0) node[right] {$Q$};
+// * \draw (1,0) to [short, l=, *-] (1,-1)
+// * node[ground]{$\hat{P}$};
+// * \end{circuitikz}
+// * \f]
class PressureReferenceBC : public Block {
public:
// Inherit constructors
diff --git a/src/model/ResistanceBC.h b/src/model/ResistanceBC.h
index 3f5cfa93e..566e44cff 100644
--- a/src/model/ResistanceBC.h
+++ b/src/model/ResistanceBC.h
@@ -41,13 +41,7 @@
/**
* @brief Resistance boundary condition.
*
- * \f[
- * \begin{circuitikz} \draw
- * node[left] {$Q_{in}$} [-latex] (0,0) -- (0.8,0);
- * \draw (1.0,0) to [R, l=$R$, *-*] (3,0)
- * node[anchor=south]{$P_{d}$};
- * \end{circuitikz}
- * \f]
+ * \image html resistance_b_c_dark.png
*
* ### Governing equations
*
@@ -77,6 +71,13 @@
* * `1` Distal pressure
*
*/
+// * \f[
+// * \begin{circuitikz} \draw
+// * node[left] {$Q_{in}$} [-latex] (0,0) -- (0.8,0);
+// * \draw (1.0,0) to [R, l=$R$, *-*] (3,0)
+// * node[anchor=south]{$P_{d}$};
+// * \end{circuitikz}
+// * \f]
class ResistanceBC : public Block {
public:
// Inherit constructors
diff --git a/src/model/ResistiveJunction.h b/src/model/ResistiveJunction.h
index 89d8291fd..a656d147a 100644
--- a/src/model/ResistiveJunction.h
+++ b/src/model/ResistiveJunction.h
@@ -43,19 +43,7 @@
* Models a junction with arbitrary resistive inlets and outlets. Across all
* inlets and outlets of the junction, mass is conserved.
*
- * \f[
- * \begin{circuitikz}
- * \draw [-latex] (0.25,1.4) node[left] {$Q_{in,1}$} -- (0.85,1.1);
- * \draw [-latex] (0.25,-1.4) node[left] {$Q_{in,1}$} -- (0.85,-1.1);
- * \draw (1,1.0) node[anchor=south]{$P_{in,1}$} to [R, , l=$R_{in,1}$, *-*]
- * (3.0,0) node[anchor=north] {$P_{C}$}; \draw (1,-1.0)
- * node[anchor=north]{$P_{in, 2}$} to [R, , l=$R_{in,2}$, *-*] (3.0,0); \draw
- * (3,0) node[anchor=south]{} to [R, l=$R_{out,1}$, -*] (5,1.0); \draw (4.3,1.1)
- * node[anchor=south] {$P_{out,1}$}; \draw (3,0) node[anchor=south]{} to [R,
- * l=$R_{out,2}$, -*] (5,-1.0); \draw (4.3,-1.1) node[anchor=north]
- * {$P_{out,2}$}; \draw [-latex] (5.15,1.1) -- (5.75,1.4) node[right]
- * {$Q_{out,1}$}; \draw [-latex] (5.15,-1.1) -- (5.75,-1.4) node[right]
- * {$Q_{out,2}$}; \end{circuitikz} \f]
+ * \image html resistive_junction_dark.png
*
* ### Governing equations
*
@@ -100,6 +88,20 @@
* * `i` Poiseuille resistance for inner blood vessel `i`
*
*/
+// * \f[
+// * \begin{circuitikz}
+// * \draw [-latex] (0.25,1.4) node[left] {$Q_{in,1}$} -- (0.85,1.1);
+// * \draw [-latex] (0.25,-1.4) node[left] {$Q_{in,1}$} -- (0.85,-1.1);
+// * \draw (1,1.0) node[anchor=south]{$P_{in,1}$} to [R, , l=$R_{in,1}$, *-*]
+// * (3.0,0) node[anchor=north] {$P_{C}$}; \draw (1,-1.0)
+// * node[anchor=north]{$P_{in, 2}$} to [R, , l=$R_{in,2}$, *-*] (3.0,0); \draw
+// * (3,0) node[anchor=south]{} to [R, l=$R_{out,1}$, -*] (5,1.0); \draw (4.3,1.1)
+// * node[anchor=south] {$P_{out,1}$}; \draw (3,0) node[anchor=south]{} to [R,
+// * l=$R_{out,2}$, -*] (5,-1.0); \draw (4.3,-1.1) node[anchor=north]
+// * {$P_{out,2}$}; \draw [-latex] (5.15,1.1) -- (5.75,1.4) node[right]
+// * {$Q_{out,1}$}; \draw [-latex] (5.15,-1.1) -- (5.75,-1.4) node[right]
+// * {$Q_{out,2}$}; \end{circuitikz}
+// * \f]
class ResistiveJunction : public Block {
public:
// Inherit constructors
diff --git a/src/model/WindkesselBC.h b/src/model/WindkesselBC.h
index ce7938006..bd4687ad1 100644
--- a/src/model/WindkesselBC.h
+++ b/src/model/WindkesselBC.h
@@ -42,17 +42,7 @@
*
* Models the mechanical behavior of a Windkessel boundary condition.
*
- * \f[
- * \begin{circuitikz} \draw
- * node[left] {$Q_{in}$} [-latex] (0,0) -- (0.8,0);
- * \draw (1,0) node[anchor=south]{$P_{in}$}
- * to [R, l=$R_p$, *-] (3,0)
- * to [R, l=$R_d$, *-*] (5,0)
- * node[anchor=south]{$P_{ref}$}
- * (3,0) to [C, l=$C$, *-] (3,-1.5)
- * node[ground]{$P_{C}$};
- * \end{circuitikz}
- * \f]
+ * \image html windkessel_b_c_dark.png
*
* ### Governing equations
*
@@ -103,6 +93,17 @@
* * `3` Distal pressure
*
*/
+// * \f[
+// * \begin{circuitikz} \draw
+// * node[left] {$Q_{in}$} [-latex] (0,0) -- (0.8,0);
+// * \draw (1,0) node[anchor=south]{$P_{in}$}
+// * to [R, l=$R_p$, *-] (3,0)
+// * to [R, l=$R_d$, *-*] (5,0)
+// * node[anchor=south]{$P_{ref}$}
+// * (3,0) to [C, l=$C$, *-] (3,-1.5)
+// * node[ground]{$P_{C}$};
+// * \end{circuitikz}
+// * \f]
class WindkesselBC : public Block {
public:
// Inherit constructors