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

v0.7.2 #11

Merged
merged 8 commits into from
Jan 3, 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
33 changes: 33 additions & 0 deletions .github/workflows/TagBot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: TagBot
on:
issue_comment:
types:
- created
workflow_dispatch:
inputs:
lookback:
default: 3
permissions:
actions: read
checks: read
contents: write
deployments: read
issues: read
discussions: read
packages: read
pages: read
pull-requests: read
repository-projects: read
security-events: read
statuses: read
jobs:
TagBot:
if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
runs-on: ubuntu-latest
steps:
- uses: JuliaRegistries/TagBot@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
# Edit the following line to reflect the actual name of the GitHub Secret containing your private key
ssh: ${{ secrets.DOCUMENTER_KEY }}
# ssh: ${{ secrets.NAME_OF_MY_SSH_PRIVATE_KEY_SECRET }}
3 changes: 1 addition & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,11 @@ jobs:
- uses: julia-actions/setup-julia@v1
with:
version: '1'
- name: Add General and DanielIngrahamRegistry
- name: Add General
shell: julia --color=yes {0}
run: |
using Pkg
Pkg.Registry.add(RegistrySpec(url="https://github.com/JuliaRegistries/General"))
Pkg.Registry.add(RegistrySpec(url="https://github.com/dingraha/DanielIngrahamRegistry"))
env:
JULIA_PKG_USE_CLI_GIT: 'true'
- name: Install dependencies
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ jobs:
matrix:
version:
- '1' # Leave this line unchanged. '1' will automatically expand to the latest stable 1.x release of Julia.
- 'nightly'
os:
- ubuntu-latest
arch:
Expand All @@ -28,12 +27,11 @@ jobs:
with:
version: ${{ matrix.version }}
arch: ${{ matrix.arch }}
- name: Add General and DanielIngrahamRegistry
- name: Add General
shell: julia --color=yes {0}
run: |
using Pkg
Pkg.Registry.add(RegistrySpec(url="https://github.com/JuliaRegistries/General"))
Pkg.Registry.add(RegistrySpec(url="https://github.com/dingraha/DanielIngrahamRegistry"))
env:
JULIA_PKG_USE_CLI_GIT: 'true'
- uses: julia-actions/julia-runtest@v1
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "AcousticAnalogies"
uuid = "e71b3392-1e0c-4536-b366-2bd1fce6fba0"
authors = ["Ingraham, Daniel James (GRC-LTV0) <[email protected]>"]
version = "0.7.1"
version = "0.7.2"

[deps]
AcousticMetrics = "046f749b-9c1e-43ca-86bc-6902340f753e"
Expand Down
2 changes: 1 addition & 1 deletion docs/src/guided_example.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ one for which the fluid medium (air) appears to be stationary. This involves
just setting the position and loading components of each `CompactSourceElement`
to the correct values (`y0dot` through `y3dot` and `f0dot` and `f1dot`). This
could be done manually, but it's easier to use the
[KinematicCoordinateTransformations.jl](https://github.com/dingraha/KinematicCoordinateTransformations.jl)
[KinematicCoordinateTransformations.jl](https://github.com/OpenMDAO/KinematicCoordinateTransformations.jl)
package.

The first transformation we need to perform is a steady rotation around the x
Expand Down
2 changes: 1 addition & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ CurrentModule = AADocs
* Thoroughly tested: unit tests for everything, and multiple comparisons of the entire
calculation to equivalent methods in NASA's ANOPP2 code.
* Convenient, fast coordinate system transformations through
[KinematicCoordinateTransformations.jl](https://github.com/dingraha/KinematicCoordinateTransformations.jl).
[KinematicCoordinateTransformations.jl](https://github.com/OpenMDAO/KinematicCoordinateTransformations.jl).
* Written in pure Julia, and compatible with automatic differentiation (AD)
tools like [ForwardDiff.jl](https://github.com/JuliaDiff/ForwardDiff.jl).
* Comprehensive docs (TODO).
Expand Down
4 changes: 2 additions & 2 deletions src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ Assume the interfaces between elements are midway between adjacent element's mid
function get_dradii(radii, Rhub, Rtip)
# How do I get the radial spacing? Well, for the inner elements, I'll just
# assume that the interfaces are midway in between the centers.
r_interface = 0.5.*(radii[1:end-1] .+ radii[2:end])
r_interface = 0.5.*(radii[begin:end-1] .+ radii[begin+1:end])
# Then just say that the blade begins at Rhub, and ends at Rtip.
r_interface = vcat([Rhub], r_interface, [Rtip])
# And now the distance between interfaces is the spacing.
dradii = r_interface[2:end] .- r_interface[1:end-1]
dradii = r_interface[begin+1:end] .- r_interface[begin:end-1]
return dradii
end
Loading