Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add spellchecking #11

Merged
merged 2 commits into from
Jan 5, 2024
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: 13 additions & 0 deletions .github/workflows/SpellCheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Spell Check

on: [pull_request]

jobs:
typos-check:
name: Spell Check with Typos
runs-on: ubuntu-latest
steps:
- name: Checkout Actions Repository
uses: actions/checkout@v3
- name: Check spelling
uses: crate-ci/[email protected]
2 changes: 2 additions & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[files]
extend-exclude = ["*.toml"]
6 changes: 3 additions & 3 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ see [Stress States](@ref Stress-states).
If these do not converge, a [`NoStressConvergence`](@ref) exception is thrown.

The package also contains the exception [`NoLocalConvergence`](@ref),
which shouldbe thrown from inside implemented material routines to signal
which should be thrown from inside implemented material routines to signal
that something didn't converge and that the caller should consider
to e.g. reduce the time step or handel the issue in some other way.
to e.g. reduce the time step or handle the issue in some other way.

## Implementing material models
To implement a material model, at minimum, it is necessary to
Expand Down Expand Up @@ -88,7 +88,7 @@ see [Differentation of a material](@ref).

### `material_response`
The main function is the `material_response` function that
primarly dispatches on the `AbstractMaterial` input type.
primarily dispatches on the `AbstractMaterial` input type.
Two variants can be called, where the latter allows a reduced
stress state, see [Stress States](@ref Stress-states) for further details.
```@docs
Expand Down
2 changes: 1 addition & 1 deletion src/stressiterations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ The optional keyword arguments are forwarded to [`IterationSettings`](@ref).
"""
mutable struct GeneralStressState{Nσ,TS,TI,TC,T} <: AbstractStressState
σ::TS
# Reduced mandel indicies
# Reduced mandel indices
const σm_inds::NTuple{Nσ,Tuple{Int,Int}} # tensor -> mandel: m -> (i,j)
const σ_minds::TI # mandel -> tensor: (i,j)->m
const σ_ctrl::TC
Expand Down
Loading