Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ updates:
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
ignore:
- dependency-name: "crate-ci/typos"
update-types: ["version-update:semver-patch", "version-update:semver-minor"]
- package-ecosystem: "julia"
directories:
- "/"
- "/docs"
schedule:
interval: "daily"
groups:
all-julia-packages:
patterns:
- "*"
26 changes: 0 additions & 26 deletions .github/workflows/CompatHelper.yml

This file was deleted.

23 changes: 6 additions & 17 deletions .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,11 @@ on:
pull_request:
schedule:
- cron: '9 16 * * 3'

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: julia-actions/setup-julia@latest
with:
version: '1.11' # Pinned due to Julia 1.12 compatibility issues in upstream packages
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
run: julia --project=docs/ --code-coverage=user docs/make.jl
- uses: julia-actions/julia-processcoverage@v1
- uses: codecov/codecov-action@v5
with:
files: lcov.info
name: "Documentation"
uses: "SciML/.github/.github/workflows/documentation.yml@v1"
with:
julia-version: "1.11" # Pinned due to Julia 1.12 compatibility issues in upstream packages
secrets: "inherit"
24 changes: 24 additions & 0 deletions .github/workflows/Downgrade.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Downgrade

on:
pull_request:
branches:
- main
paths-ignore:
- 'docs/**'
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

jobs:
downgrade:
name: "Downgrade"
uses: "SciML/.github/.github/workflows/downgrade.yml@v1"
with:
julia-version: "lts"
skip: "Pkg,TOML"
secrets: "inherit"
9 changes: 3 additions & 6 deletions .github/workflows/FormatCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ on:

jobs:
runic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: fredrikekre/runic-action@v1
with:
version: '1'
name: "Runic"
uses: "SciML/.github/.github/workflows/runic.yml@v1"
secrets: "inherit"
10 changes: 3 additions & 7 deletions .github/workflows/SpellCheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ on: [pull_request]

jobs:
typos-check:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v6
- name: Check spelling
uses: crate-ci/typos@v1.16.23
name: "Spell Check with Typos"
uses: "SciML/.github/.github/workflows/spellcheck.yml@v1"
secrets: "inherit"
21 changes: 21 additions & 0 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Tests"

on:
pull_request:
branches:
- main
paths-ignore:
- 'docs/**'
push:
branches:
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

jobs:
tests:
name: "Tests"
uses: "SciML/.github/.github/workflows/tests.yml@v1"
secrets: "inherit"
3 changes: 3 additions & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[default.extend-identifiers]
# ModelingToolkit / BipartiteGraphs type name, not a typo of "COM"
DiCMOBiGraph = "DiCMOBiGraph"
2 changes: 1 addition & 1 deletion docs/src/lectures/lecture1.md
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ There's a couple things we can do now to ensure the system is correct. First, w
full_equations(sys)
```

The first equation (after re-aranging) it can be seen is the classic *mass-spring-damper* equation.
The first equation (after re-arranging) it can be seen is the classic *mass-spring-damper* equation.

```math
m \cdot \ddot{x} + d \cdot \dot{x} + k \cdot x = f
Expand Down
2 changes: 1 addition & 1 deletion docs/src/lectures/lecture3.md
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ The simplest way to choose ``h`` is to make it proportional to the current error
q = \frac{LTE}{TOL}
```

* If ``q < 1``, then ``TOL > LTE`` and therefore we should not accept this step as doing so will make a step beyond the user's tolerance. And note that this would void our warrenty on the global error being bounded, since we need the LTE is "bounded" (at least approximately) at every step to then have any statement about the global error. Thus the calculation with the current $h$ is rejected, the $h$ is changed to $qh$ and the step is recomputed with this smaller time step.
* If ``q < 1``, then ``TOL > LTE`` and therefore we should not accept this step as doing so will make a step beyond the user's tolerance. And note that this would void our warranty on the global error being bounded, since we need the LTE is "bounded" (at least approximately) at every step to then have any statement about the global error. Thus the calculation with the current $h$ is rejected, the $h$ is changed to $qh$ and the step is recomputed with this smaller time step.
* If ``q \geq 1``, then ``TOL \leq LTE`` and thus the step is good. Therefore we accept the step and grow ``h``, for example making the new ``h`` equal to ``qh``.

Importantly, this means that rejection is way more expensive than acceptance, and therefore it's always good to be a little conservative with step growth. Thus generally the changes are done with a factor, ``Cqh``, where this ``C = 0.9`` or 0.8 or similar.
Expand Down
Loading