Skip to content

Commit

Permalink
Trigger Codecov (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
luraess authored Mar 1, 2024
2 parents 8e05d70 + 94701c7 commit a41c132
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/src/lib/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ Modules = [Chmy.BoundaryConditions]
Order = [:type, :function]
```

## Kernel launcher

```@autodocs
Modules = [Chmy.KernelLaunch]
Order = [:type, :function]
```

## Distributed

```@autodocs
Expand Down
1 change: 1 addition & 0 deletions test/test_fields.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ using Chmy.Grids

for backend in backends
@testset "$(basename(@__FILE__)) (backend: $backend)" begin
# test setup
arch = Arch(backend)
grid = UniformGrid(arch; origin=(0.0, 0.0, 0.0), extent=(1.0, 1.0, 1.0), dims=(2, 2, 2))
loc = (Center(), Vertex(), Center())
Expand Down
1 change: 1 addition & 0 deletions test/test_grids.jl
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ using Chmy.Architectures
end

@testset "shortcut coords" begin
# short coords
@test vertex(grid, Dim(1), 1) == vertex(grid, Dim(1), 1, 1) == coord(grid, Vertex(), Dim(1), 1)
@test vertex(grid, Dim(2), 1) == vertex(grid, Dim(2), 1, 1) == coord(grid, Vertex(), Dim(2), 1)
@test center(grid, Dim(1), 1) == center(grid, Dim(1), 1, 1) == coord(grid, Center(), Dim(1), 1)
Expand Down

0 comments on commit a41c132

Please sign in to comment.