Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
amrueda committed Jul 26, 2024
1 parent eb768d9 commit ca44965
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/solvers/dgsem_p4est/dg.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Extract contravariant vector Ja^i (i = index) as SVector
# This function dispatches on the type of contravariant_vectors
static2val(::Trixi.StaticInt{N}) where {N} = Val{N}()
@inline function get_contravariant_vector(index, contravariant_vectors::PtrArray, indices...)
@inline function get_contravariant_vector(index, contravariant_vectors::PtrArray,

Check warning on line 4 in src/solvers/dgsem_p4est/dg.jl

View check run for this annotation

Codecov / codecov/patch

src/solvers/dgsem_p4est/dg.jl#L3-L4

Added lines #L3 - L4 were not covered by tests
indices...)
SVector(ntuple(@inline(dim->contravariant_vectors[dim, index, indices...]),

Check warning on line 6 in src/solvers/dgsem_p4est/dg.jl

View check run for this annotation

Codecov / codecov/patch

src/solvers/dgsem_p4est/dg.jl#L6

Added line #L6 was not covered by tests
static2val(static_size(contravariant_vectors, Trixi.StaticInt(1)))))
end
end
2 changes: 1 addition & 1 deletion src/solvers/solvers.jl
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
include("dgsem_p4est/dg.jl")
include("dgsem_p4est/containers_2d_manifold_in_3d.jl")
include("dgsem_p4est/containers_2d_manifold_in_3d.jl")

0 comments on commit ca44965

Please sign in to comment.