Skip to content

Commit ab5f632

Browse files
author
Documenter.jl
committed
build based on 51c870f
1 parent 055d1ce commit ab5f632

28 files changed

+4463
-1707
lines changed

julia-docs/dev/docstrings.html

Lines changed: 193 additions & 165 deletions
Large diffs are not rendered by default.

julia-docs/dev/docstrings/base.length-7ea31a421de7d258.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ <h2 class="anchored" data-anchor-id="tuple-medyan.cubicgrid--0971be2da0774049"><
223223
</div>
224224
<div class="callout-body-container">
225225
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb1"><pre class="sourceCode julia code-with-copy"><code class="sourceCode julia"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="bu">Base</span>.<span class="fu">length</span>(grid<span class="op">::</span><span class="dt">CubicGrid</span>)</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
226-
<p>Total number of compartments in the grid</p>
226+
<p>Total number of voxels in the grid</p>
227227
</div>
228228
</div>
229229
</div>

julia-docs/dev/docstrings/medyan.agentnames-948e6a24b4fb0cb5.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ <h2 class="anchored" data-anchor-id="union---b2cfd89fb0d1b9c6"><code data-shortc
180180
<li><code>membranediffusingspeciesnames::Vector{Symbol}</code></li>
181181
<li><code>fixedspeciesnames::Vector{Symbol}</code></li>
182182
<li><code>filamentnames::Vector{Tuple{Symbol, Vector{Symbol}}}</code></li>
183-
<li><code>vertexnames::Vector{Symbol}</code></li>
184183
</ul>
185184
</div>
186185
</div>

julia-docs/dev/docstrings/medyan.newmembrane--a714b4a1c87062be.html renamed to julia-docs/dev/docstrings/medyan.apply_chem_boundary--86fcf1aed37adaf6.html

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
88

99

10-
<title>medyan.newmembrane--a714b4a1c87062be – MEDYAN.jl</title>
10+
<title>medyan.apply_chem_boundary--86fcf1aed37adaf6 – MEDYAN.jl</title>
1111
<style>
1212
code{white-space: pre-wrap;}
1313
span.smallcaps{font-variant: small-caps;}
@@ -185,21 +185,21 @@
185185
<h2 id="toc-title">On this page</h2>
186186

187187
<ul>
188-
<li><a href="#medyan.newmembrane" id="toc-medyan.newmembrane" class="nav-link active" data-scroll-target="#medyan.newmembrane"><code>MEDYAN.newmembrane!</code></a>
188+
<li><a href="#medyan.apply_chem_boundary" id="toc-medyan.apply_chem_boundary" class="nav-link active" data-scroll-target="#medyan.apply_chem_boundary"><code>MEDYAN.apply_chem_boundary!</code></a>
189189
<ul class="collapse">
190190
<li><a href="#tuple-medyan.context--4896731d1a77eb1c" id="toc-tuple-medyan.context--4896731d1a77eb1c" class="nav-link" data-scroll-target="#tuple-medyan.context--4896731d1a77eb1c"><code data-shortcodes="false">Tuple{MEDYAN.Context}</code></a></li>
191191
</ul></li>
192192
</ul>
193-
<div class="toc-actions"><ul><li><a href="https://github.com/medyan-dev/MEDYAN.jl/edit/master/quartodocs/docstrings/medyan.newmembrane--a714b4a1c87062be.qmd" class="toc-action"><i class="bi bi-github"></i>Edit this page</a></li><li><a href="https://github.com/medyan-dev/MEDYAN.jl/issues/new" class="toc-action"><i class="bi empty"></i>Report an issue</a></li></ul></div></nav>
193+
<div class="toc-actions"><ul><li><a href="https://github.com/medyan-dev/MEDYAN.jl/edit/master/quartodocs/docstrings/medyan.apply_chem_boundary--86fcf1aed37adaf6.qmd" class="toc-action"><i class="bi bi-github"></i>Edit this page</a></li><li><a href="https://github.com/medyan-dev/MEDYAN.jl/issues/new" class="toc-action"><i class="bi empty"></i>Report an issue</a></li></ul></div></nav>
194194
</div>
195195
<!-- main -->
196196
<main class="content" id="quarto-document-content"><header id="title-block-header" class="quarto-title-block"></header>
197197

198198

199199

200200

201-
<section id="medyan.newmembrane" class="level1">
202-
<h1><code>MEDYAN.newmembrane!</code></h1>
201+
<section id="medyan.apply_chem_boundary" class="level1">
202+
<h1><code>MEDYAN.apply_chem_boundary!</code></h1>
203203
<section id="tuple-medyan.context--4896731d1a77eb1c" class="level2">
204204
<h2 class="anchored" data-anchor-id="tuple-medyan.context--4896731d1a77eb1c"><code data-shortcodes="false">Tuple{MEDYAN.Context}</code></h2>
205205
<div class="callout callout-style-simple callout-note no-icon">
@@ -208,16 +208,11 @@ <h2 class="anchored" data-anchor-id="tuple-medyan.context--4896731d1a77eb1c"><co
208208
<i class="callout-icon no-icon"></i>
209209
</div>
210210
<div class="callout-body-container">
211-
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb1"><pre class="sourceCode julia code-with-copy"><code class="sourceCode julia"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">newmembrane!</span>(c<span class="op">::</span><span class="dt">MEDYAN.Context</span>; <span class="kw">type</span>, meshinit, mechparams)</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
212-
<p>Add a new membrane to the system.</p>
213-
<section id="keyword-arguments" class="level1">
214-
<h1>Keyword Arguments</h1>
215-
<ul>
216-
<li><code>type::Int</code>: Membrane type index (must have corresponding entry in <code>c.membranemechparams</code>)</li>
217-
<li><code>meshinit</code>: Structure containing mesh shape initialization information, such as a named tuple <code>(vertlist, trilist)</code> containing vertex coordinates and triangle list, <code>MeshInitEllipsoid</code>, <code>MeshInitPlane</code> or a general <code>MeshInitSurfaceFunc</code>.</li>
218-
<li><code>mechparams::Union{Nothing, MembraneMechParams}=nothing</code>: Mechanical parameters for this membrane. If <code>nothing</code>, copies from <code>c.membranemechparams[type]</code>.</li>
219-
</ul>
220-
</section>
211+
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb1"><pre class="sourceCode julia code-with-copy"><code class="sourceCode julia"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">apply_chem_boundary!</span>(c<span class="op">::</span><span class="dt">Context</span>; oversampling_factor<span class="op">::</span><span class="dt">Int</span>=<span class="fl">16</span>)<span class="op">::</span><span class="dt">Nothing</span></span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
212+
<p>Update chem voxel volumes and diffusion rates.</p>
213+
<p>The chem boundary is the intersection of any boundary set by <a href="../docstrings/medyan.set_chem_boundary--8446b49a230e3146.html"><code>set_chem_boundary!</code></a> and membranes with <code>chem_boundary=true</code>.</p>
214+
<p><code>oversampling_factor</code> can be increased to improve the accuracy at the expense of increased memory use.</p>
215+
<p>Calling this will invalidate the chem cache.</p>
221216
</div>
222217
</div>
223218
</div>
@@ -632,4 +627,4 @@ <h1>Keyword Arguments</h1>
632627

633628

634629

635-
<footer class="footer"><div class="nav-footer"><div class="nav-footer-center"><div class="toc-actions d-sm-block d-md-none"><ul><li><a href="https://github.com/medyan-dev/MEDYAN.jl/edit/master/quartodocs/docstrings/medyan.newmembrane--a714b4a1c87062be.qmd" class="toc-action"><i class="bi bi-github"></i>Edit this page</a></li><li><a href="https://github.com/medyan-dev/MEDYAN.jl/issues/new" class="toc-action"><i class="bi empty"></i>Report an issue</a></li></ul></div></div></div></footer></body></html>
630+
<footer class="footer"><div class="nav-footer"><div class="nav-footer-center"><div class="toc-actions d-sm-block d-md-none"><ul><li><a href="https://github.com/medyan-dev/MEDYAN.jl/edit/master/quartodocs/docstrings/medyan.apply_chem_boundary--86fcf1aed37adaf6.qmd" class="toc-action"><i class="bi bi-github"></i>Edit this page</a></li><li><a href="https://github.com/medyan-dev/MEDYAN.jl/issues/new" class="toc-action"><i class="bi empty"></i>Report an issue</a></li></ul></div></div></div></footer></body></html>

julia-docs/dev/docstrings/medyan.context-736368ed32b08894.html

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -213,17 +213,22 @@ <h2 class="anchored" data-anchor-id="union---b2cfd89fb0d1b9c6"><code data-shortc
213213
<li><p><code>agent_names::MEDYAN.AgentNames</code></p></li>
214214
<li><p><code>sys_def::MEDYAN.SysDef</code></p></li>
215215
<li><p><code>compartments::Vector{MEDYAN.Compartment}</code></p></li>
216-
<li><p><code>grid::Any</code></p></li>
216+
<li><p><code>grid::MEDYAN.CubicGrid</code></p></li>
217217
<li><p><code>time::Ref{Float64}</code>: time (s)</p></li>
218218
<li><p><code>stats::MEDYAN.PerformanceStats</code></p></li>
219219
<li><p><code>β::Float64</code>: inverse kT (1/(nm*pN))</p></li>
220220
<li><p><code>base_diffusion_coeffs::Vector{Float64}</code>: Diffusion coefficients indexed by diffusing species id (nm²/s)</p></li>
221221
<li><p><code>membrane_species_params::StaticArraysCore.SVector{NUM_MEMBRANEDIFFUSINGSPECIES, MEDYAN.MembraneSpeciesParams} where NUM_MEMBRANEDIFFUSINGSPECIES</code>: Membrane species parameters indexed by membrane diffusing species id.</p></li>
222-
<li><p><code>min_compartment_volume_ratio::Float64</code>: Smallest volume a compartment can have before being deactivated as a ratio to a full compartment volume.</p></li>
222+
<li><p><code>min_chem_voxel_volume_ratio::Float64</code>: Smallest volume a chem voxel can have before being deactivated as a ratio to a full chem voxel volume.</p></li>
223223
<li><p><code>chemistryengine::MEDYAN.RDMESampler</code>: The reaction diffusion master equation sampler, contains the diffusing and regular fixed species state</p></li>
224+
<li><p><code>chem_voxel_volumes::Array{Float64, 3}</code>: Volume of each chemical voxel</p></li>
225+
<li><p><code>chem_voxel_areas::Array{Float64, 4}</code>: Areas of (-x, -y, -z) faces of each chemical voxel</p></li>
224226
<li><p><code>chem_cylinders::Vector{MEDYAN.ChemCylinders}</code>: Data about filament cylinders, indexed by filament type id</p></li>
225227
<li><p><code>balls::StructArrays.StructVector{MEDYAN.Ball, @NamedTuple{position::Vector{StaticArraysCore.SVector{3, Float64}}, radius::Vector{Float32}, stiffness::Vector{Float32}, state::Vector{StaticArraysCore.SVector{3, Int64}}}, Int64}</code></p></li>
226228
<li><p><code>membranes::Vector</code>: All membrane meshes.</p></li>
229+
<li><p><code>next_membid::Ref{MEDYAN.MembId}</code>: Next memb id</p></li>
230+
<li><p><code>membid2membidx::Dict{MEDYAN.MembId, UInt32}</code>: map from memb id to index memb indexes can change whenever a memb is removed, but id’s are stable</p></li>
231+
<li><p><code>membidx2membid::Vector{MEDYAN.MembId}</code>: map from memb index to id</p></li>
227232
<li><p><code>link_manager::MEDYAN.LinkManager</code></p></li>
228233
<li><p><code>decimated_2mon_site_managers::Vector{MEDYAN.AbstractDecimated2MonSiteManager}</code>: Site managers, indexed by site id</p></li>
229234
<li><p><code>filamentsites::Tuple{Vararg{Tuple{Vararg{MEDYAN.SiteData}}}}</code>: The filament site definitions, indexed by filament type id, filament site id to get a SiteData with fields of id, site, fxsid</p></li>
@@ -251,16 +256,9 @@ <h2 class="anchored" data-anchor-id="union---b2cfd89fb0d1b9c6"><code data-shortc
251256
<li><p><code>collision_skin::Float64</code>: Extra collision neighbor list cutoff radius in nm. The neighbor lists are reset after something moves over this amount</p></li>
252257
<li><p><code>collision_switchover_scale_unitless::Float32</code>: Smoothing scale to avoid sharp forces when two cylinders are collinear</p></li>
253258
<li><p><code>filamentmechparams::Vector{MEDYAN.FilamentMechParams}</code>: The filament mechanical parameters, indexed by filament type id</p></li>
254-
<li><p><code>membranemechparams::Vector{MEDYAN.MembraneMechParams}</code>: Membrane mechanical parameters, indexed by membrane type id.</p></li>
255259
<li><p><code>func_membranespeciespotentialenergy::Any</code>: Membrane species potential energy function. See docs on default function for more info.</p></li>
256260
<li><p><code>external_energy_forces!::Any</code>: External energy/force expressions. This should be a mutating function taking a <code>(fc::MEDYAN.ForceContext, vectorized_x)</code>, which adds to <code>fc.forces, fc.energies, and fc.energy</code>. The energy and force must be consistent, and this is not checked. This can be used as ad-hoc solutions to experiment with uncommon forces, such as specifically designed attachments, etc. If this variable is used often, consider moving it into MEDYAN.</p></li>
257261
<li><p><code>chemboundary::MEDYAN.Boundary</code>: chemical boundary, updates compartment volumes and diffusion rates</p></li>
258-
<li><p><code>meshindex_as_chemboundary::Ref{Int64}</code>: The membrane index used as chemical boundary. If values other than 0 is used, the actual interior region of the chemical boundary is the intersection between</p>
259-
<ul>
260-
<li>the interior of <code>chemboundary</code>, and</li>
261-
<li>the interior of the membrane mesh at this index.</li>
262-
</ul>
263-
<p>Note: Since the membrane may change its shape often, <code>set_chemboundary!</code> might need to be called often accordingly to update volumes of compartments.</p></li>
264262
<li><p><code>mechboundary::MEDYAN.Boundary</code>: mechanical boundary</p></li>
265263
<li><p><code>sharedtypedconfigs::MEDYAN.SharedTypedConfigs</code>: Shared configurations stored in type parameters.</p></li>
266264
<li><p><code>validflags::MEDYAN.ValidFlags</code>: Interval system consistency validation flags.</p></li>

julia-docs/dev/docstrings/medyan.cubicgrid-fe4b7cc2dceb0431.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,10 @@ <h2 class="anchored" data-anchor-id="union---b2cfd89fb0d1b9c6"><code data-shortc
208208
<i class="callout-icon no-icon"></i>
209209
</div>
210210
<div class="callout-body-container">
211-
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb1"><pre class="sourceCode julia code-with-copy"><code class="sourceCode julia"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">CubicGrid</span>(num_voxels<span class="op">::</span><span class="dt">SVector{3,Int}</span>, compartmentsize<span class="op">::</span><span class="dt">Float64</span>)</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
211+
<div class="code-copy-outer-scaffold"><div class="sourceCode" id="cb1"><pre class="sourceCode julia code-with-copy"><code class="sourceCode julia"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="fu">CubicGrid</span>(num_voxels<span class="op">::</span><span class="dt">SVector{3,Int}</span>, spacing<span class="op">::</span><span class="dt">Float64</span>)</span></code></pre></div><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></div>
212212
<ul>
213213
<li><code>n::StaticArraysCore.SVector{3, Int64}</code></li>
214-
<li><code>compartmentsize::Float64</code></li>
214+
<li><code>spacing::Float64</code></li>
215215
</ul>
216216
</div>
217217
</div>

0 commit comments

Comments
 (0)