SEC.ColumnStructure#
Stochastic.ColumnStructure.py
Copyright (c) 2024-2025, Molass Community
- plot_column_structure(ax, xmin, xmax, ymin, ymax, num_pores, rs)#
Plot the column structure with grains on the given axes.
- Parameters:
ax (matplotlib.axes.Axes) – The axes on which to plot the column structure.
xmin (float) – The minimum x value of the column.
xmax (float) – The maximum x value of the column.
ymin (float) – The minimum y value of the column.
ymax (float) – The maximum y value of the column.
num_pores (int) – The number of pores in each grain.
rs (float) – The radius of each grain.
- Returns:
grains – The list of grains created in the column structure.
- Return type:
list of NewGrain