Skip to content

Commit bac9f2a

Browse files
author
zeptodoctor
committed
build based on c5ea6d7
1 parent 8d22684 commit bac9f2a

File tree

29 files changed

+47
-47
lines changed

29 files changed

+47
-47
lines changed

dev/basics/AbstractSystem/index.html

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

dev/basics/Composition/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,4 +105,4 @@
105105
tspan = (0.0,40.0)
106106
prob = ODEProblem(sireqn_simple,u0,tspan,p,jac=true)
107107
sol = solve(prob,Tsit5())
108-
sol[reqn.R]</code></pre><p>However, one can similarly simplify this process of inheritance by using <code>combine</code> which concatenates all of the vectors within the systems. For example, we could equivalently have done:</p><pre><code class="language-julia">@named sir = combine([seqn,ieqn,reqn])</code></pre><h2 id="Tearing-Problem-Construction-1"><a class="docs-heading-anchor" href="#Tearing-Problem-Construction-1">Tearing Problem Construction</a><a class="docs-heading-anchor-permalink" href="#Tearing-Problem-Construction-1" title="Permalink"></a></h2><p>Some system types, specifically <code>ODESystem</code> and <code>NonlinearSystem</code>, can be further reduced if <code>structural_simplify</code> has already been applied to them. This is done by using the alternative problem constructors, <code>ODAEProblem</code> and <code>BlockNonlinearProblem</code> respectively. In these cases, the constructor uses the knowledge of the strongly connected components calculated during the process of simplification as the basis for building pre-simplified nonlinear systems in the implicit solving. In summary: these problems are structurally modified, but could be more efficient and more stable.</p><h2 id="Automatic-Model-Promotion-(TODO)-1"><a class="docs-heading-anchor" href="#Automatic-Model-Promotion-(TODO)-1">Automatic Model Promotion (TODO)</a><a class="docs-heading-anchor-permalink" href="#Automatic-Model-Promotion-(TODO)-1" title="Permalink"></a></h2><p>In many cases one might want to compose models of different types. For example, one may want to include a <code>NonlinearSystem</code> as a set of algebraic equations within an <code>ODESystem</code>, or one may want to use an <code>ODESystem</code> as a subsystem of an <code>SDESystem</code>. In these cases, the compostion works automatically by promoting the model via <code>promote_system</code>. System promotions exist in the cases where a mathematically-trivial definition of the promotion exists.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../ContextualVariables/">« Contextual Variable Types</a><a class="docs-footer-nextpage" href="../Validation/">Model Validation and Units »</a></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Thursday 22 April 2021 06:31">Thursday 22 April 2021</span>. Using Julia version 1.6.0.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
108+
sol[reqn.R]</code></pre><p>However, one can similarly simplify this process of inheritance by using <code>combine</code> which concatenates all of the vectors within the systems. For example, we could equivalently have done:</p><pre><code class="language-julia">@named sir = combine([seqn,ieqn,reqn])</code></pre><h2 id="Tearing-Problem-Construction-1"><a class="docs-heading-anchor" href="#Tearing-Problem-Construction-1">Tearing Problem Construction</a><a class="docs-heading-anchor-permalink" href="#Tearing-Problem-Construction-1" title="Permalink"></a></h2><p>Some system types, specifically <code>ODESystem</code> and <code>NonlinearSystem</code>, can be further reduced if <code>structural_simplify</code> has already been applied to them. This is done by using the alternative problem constructors, <code>ODAEProblem</code> and <code>BlockNonlinearProblem</code> respectively. In these cases, the constructor uses the knowledge of the strongly connected components calculated during the process of simplification as the basis for building pre-simplified nonlinear systems in the implicit solving. In summary: these problems are structurally modified, but could be more efficient and more stable.</p><h2 id="Automatic-Model-Promotion-(TODO)-1"><a class="docs-heading-anchor" href="#Automatic-Model-Promotion-(TODO)-1">Automatic Model Promotion (TODO)</a><a class="docs-heading-anchor-permalink" href="#Automatic-Model-Promotion-(TODO)-1" title="Permalink"></a></h2><p>In many cases one might want to compose models of different types. For example, one may want to include a <code>NonlinearSystem</code> as a set of algebraic equations within an <code>ODESystem</code>, or one may want to use an <code>ODESystem</code> as a subsystem of an <code>SDESystem</code>. In these cases, the compostion works automatically by promoting the model via <code>promote_system</code>. System promotions exist in the cases where a mathematically-trivial definition of the promotion exists.</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../ContextualVariables/">« Contextual Variable Types</a><a class="docs-footer-nextpage" href="../Validation/">Model Validation and Units »</a></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Thursday 22 April 2021 06:32">Thursday 22 April 2021</span>. Using Julia version 1.6.0.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>

dev/basics/ContextualVariables/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)