Skip to content

Commit 050e88b

Browse files
committed
Update figure embedding, caption style, anchors
1 parent c3c35d2 commit 050e88b

1 file changed

Lines changed: 17 additions & 28 deletions

File tree

_research/05-code-comparison.md

Lines changed: 17 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -30,64 +30,53 @@ Further details on the structure and contents of submission data can be found in
3030

3131

3232
### Problem BA
33+
From Baronett et al. (in preparation)
3334

3435

3536
#### Fiducial Grid Resolution
3637

37-
![](/assets/images/research/code-comparison/si/BA-512_snapshots.png)
38-
**Figure 1.1.** Dust density snapshots for Problem BA at a grid resolution of 512².
38+
{% include figure image_path='/assets/images/research/code-comparison/si/BA-512_snapshots.png' caption='**Figure 1.1.** Dust density snapshots for Problem BA at a grid resolution of 512².
3939
Each row shows the code labeled along the left margin.
4040
In alphabetical order from top to bottom, the upper group implements an average of one (1) Lagrangian particle per grid cell, and the lower group implements a pressureless dust fluid.
4141
Each column shows the simulation time in local orbital periods $$T$$ labeled along the top margin.
42-
The color scale in the bottom right shows the dust density $$\rho_\mathrm{d}$$ relative to the initially uniform gas density $$\rho_\mathrm{g,0}$$ and applies to all snapshots.
43-
Radial $$x$$ and vertical $$z$$ coordinates are in units of the vertical gas scale height $$H_\mathrm{g}$$.
42+
The color scale at the bottom right shows the dust density $$\rho_\mathrm{d}$$ relative to the initially uniform gas density $$\rho_\mathrm{g,0}$$ and applies to all snapshots.
43+
Radial $$x$$ and vertical $$z$$ coordinates are in units of the vertical gas scale height $$H_\mathrm{g}$$.' %}
4444

45-
![](/assets/images/research/code-comparison/si/BA-512_time_series.png)
46-
**Figure 1.2.** Maximum dust densities $$\max(\rho_\mathrm{d})$$ as a function of time for Problem BA at a grid resolution of 512².
45+
{% include figure image_path='/assets/images/research/code-comparison/si/BA-512_time_series.png' caption='**Figure 1.2.** Maximum dust densities $$\max(\rho_\mathrm{d})$$ as a function of time for Problem BA at a grid resolution of 512².
4746
The units for density and time are the initially uniform gas density $$\rho_\mathrm{g,0}$$ and the local orbital period $$T$$, respectively.
4847
The top panel uses a similar cadence for each time series.
4948
The bottom panel shows the simple moving average $$\mathrm{SMA}$$ with a sampling window of $$10T$$.
50-
Dotted lines show codes that implement an average of $$n_\mathrm{p} = 1$$ Lagrangian particle per grid cell, solid lines show codes with pressureless dust fluids, and line colors show different codes.
49+
Dotted lines show codes that implement an average of $$n_\mathrm{p} = 1$$ Lagrangian particle per grid cell, solid lines show codes with pressureless dust fluids, and line colors show different codes.' %}
5150

52-
![](/assets/images/research/code-comparison/si/BA-512_CDF.png)
53-
**Figure 1.3.** Cumulative distribution functions of the dust density for Problem BA at a grid resolution of 512².
51+
{% include figure image_path='/assets/images/research/code-comparison/si/BA-512_CDF.png' caption='**Figure 1.3.** Cumulative distribution functions of the dust density for Problem BA at a grid resolution of 512².
5452
In the upper panel, lines show densities time-averaged over the saturation state $$\overline{\rho_\mathrm{d}}$$, line colors different codes, and shaded areas the $$1\sigma$$ time variability.
5553
In the lower panel, lines and shaded areas show the meta-average $$\overline{\overline{\rho_\mathrm{d}}}$$ and standard deviation, respectively, of $$\overline{\rho_\mathrm{d}}$$ in the upper panel for each dust implementation.
5654
Dust densities are relative to the initially uniform gas density $$\rho_\mathrm{g,0}$$.
57-
Dotted lines show codes that implement an average of $$n_\mathrm{p} = 1$$ Lagrangian particle per grid cell and solid lines codes with pressureless dust fluids.
55+
Dotted lines show codes that implement an average of $$n_\mathrm{p} = 1$$ Lagrangian particle per grid cell and solid lines codes with pressureless dust fluids.' %}
5856

5957

6058
##### Additional Particles
6159

62-
![](/assets/images/research/code-comparison/si/BA-512-np9_snapshots.png)
63-
**Figure 1.4.** Similar to Figure [1](#higher-particle-resolution:~:text=Permalink-,Figure%201.,-Dust%20density%20snapshots) except for only codes that implement an average of $$n_\mathrm{p} = 9$$ Lagrangian particles per grid cell.
60+
{% include figure image_path='/assets/images/research/code-comparison/si/BA-512-np9_snapshots.png' caption='**Figure 1.4.** Similar to Figure [1.1](#higher-particle-resolution:~:text=Permalink-,Figure%201.1.,-Dust%20density%20snapshots) except for only codes that implement an average of $$n_\mathrm{p} = 9$$ Lagrangian particles per grid cell.' %}
6461

65-
![](/assets/images/research/code-comparison/si/BA-512-np9_time_series.png)
66-
**Figure 1.5.** Similar to Figure [2](#higher-particle-resolution:~:text=.-,Figure%202.,-Maximum%20dust%20densities) except comparing only Lagrangian-particle implementations with dashed lines showing an average of $$n_\mathrm{p} = 9$$ particles per grid cell.
62+
{% include figure image_path='/assets/images/research/code-comparison/si/BA-512-np9_time_series.png' caption='**Figure 1.5.** Similar to Figure [1.2](#higher-particle-resolution:~:text=.-,Figure%201.2.,-Maximum%20dust%20densities) except comparing only Lagrangian-particle implementations with dashed lines showing an average of $$n_\mathrm{p} = 9$$ particles per grid cell.' %}
6763

68-
![](/assets/images/research/code-comparison/si/BA-512-np9_CDF.png)
69-
**Figure 1.6.** Similar to Figure [3](#higher-particle-resolution:~:text=show%20different%20codes.-,Figure%203.,-Time%2Daveraged%20cumulative) except comparing only Lagrangian-particle implementations with dashed lines showing an average of $$n_\mathrm{p} = 9$$ particles per grid cell.
64+
{% include figure image_path='/assets/images/research/code-comparison/si/BA-512-np9_CDF.png' caption='**Figure 1.6.** Similar to Figure [1.3](#higher-particle-resolution:~:text=show%20different%20codes.-,Figure%201.3.,-Cumulative%20distribution%20functions) except comparing only Lagrangian-particle implementations with dashed lines showing an average of $$n_\mathrm{p} = 9$$ particles per grid cell.' %}
7065

7166

7267
#### Higher Grid Resolution
7368

74-
![](/assets/images/research/code-comparison/si/BA-1024_snapshots.png)
75-
**Figure 1.7.** Similar to Figure [1](#higher-particle-resolution:~:text=Permalink-,Figure%201.,-Dust%20density%20snapshots) except at a grid resolution of 1024².
69+
{% include figure image_path='/assets/images/research/code-comparison/si/BA-1024_snapshots.png' caption='**Figure 1.7.** Similar to Figure [1.1](#higher-particle-resolution:~:text=Permalink-,Figure%201.1.,-Dust%20density%20snapshots) except at a grid resolution of 1024².' %}
7670

77-
![](/assets/images/research/code-comparison/si/BA-1024_time_series.png)
78-
**Figure 1.8.** Similar to Figure [2](#higher-particle-resolution:~:text=.-,Figure%202.,-Maximum%20dust%20densities) except with dashed lines showing grid resolutions of 1024².
71+
{% include figure image_path='/assets/images/research/code-comparison/si/BA-1024_time_series.png' caption='**Figure 1.8.** Similar to Figure [1.2](#higher-particle-resolution:~:text=.-,Figure%201.2.,-Maximum%20dust%20densities) except with dashed lines showing grid resolutions of 1024².' %}
7972

80-
![](/assets/images/research/code-comparison/si/BA-1024_CDF.png)
81-
**Figure 1.9.** Similar to Figure [3](#higher-particle-resolution:~:text=show%20different%20codes.-,Figure%203.,-Time%2Daveraged%20cumulative), except grid resolutions at 1024² appear as dashed and darker lines in the upper and lower panels, respectively.
73+
{% include figure image_path='/assets/images/research/code-comparison/si/BA-1024_CDF.png' caption='**Figure 1.9.** Similar to Figure [1.3](#higher-particle-resolution:~:text=show%20different%20codes.-,Figure%201.3.,-Cumulative%20distribution%20functions), except grid resolutions at 1024² appear as dashed and darker lines in the upper and lower panels, respectively.' %}
8274

8375

8476
### Problem AB
8577

86-
![](/assets/images/research/code-comparison/si/AB-1024_snapshots.png)
87-
**Figure 2.1.** Similar to Figure [1](#higher-particle-resolution:~:text=Permalink-,Figure%201.,-Dust%20density%20snapshots) except for Problem AB at a grid resolution of 1024².
78+
{% include figure image_path='/assets/images/research/code-comparison/si/AB-1024_snapshots.png' caption='**Figure 2.1.** Similar to Figure [1.1](#higher-particle-resolution:~:text=Permalink-,Figure%201.1.,-Dust%20density%20snapshots) except for Problem AB at a grid resolution of 1024².' %}
8879

89-
![](/assets/images/research/code-comparison/si/AB-1024_time_series.png)
90-
**Figure 2.2.** Similar to Figure [2](#higher-particle-resolution:~:text=.-,Figure%202.,-Maximum%20dust%20densities) except for Problem AB at a grid resolutions of 1024².
80+
{% include figure image_path='/assets/images/research/code-comparison/si/AB-1024_time_series.png' caption='**Figure 2.2.** Similar to Figure [1.2](#higher-particle-resolution:~:text=.-,Figure%201.2.,-Maximum%20dust%20densities) except for Problem AB at a grid resolutions of 1024².' %}
9181

92-
![](/assets/images/research/code-comparison/si/AB-1024_CDF.png)
93-
**Figure 2.3.** Similar to Figure [3](#higher-particle-resolution:~:text=show%20different%20codes.-,Figure%203.,-Time%2Daveraged%20cumulative), except for Problem AB at a grid resolutions of 1024².
82+
{% include figure image_path='/assets/images/research/code-comparison/si/AB-1024_CDF.png' caption='**Figure 2.3.** Similar to Figure [1.3](#higher-particle-resolution:~:text=show%20different%20codes.-,Figure%201.3.,-Cumulative%20distribution%20functions), except for Problem AB at a grid resolutions of 1024².' %}

0 commit comments

Comments
 (0)