Skip to content

Commit

Permalink
[GALAHAD.jl] Test SCU
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Feb 14, 2024
1 parent f7b90be commit 52d8f7b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions GALAHAD.jl/src/wrappers/scu.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,22 @@ struct scu_inform_type
inertia::NTuple{3,Cint}
end

export scu_initialize_s

function scu_initialize_s(data, control, status)
@ccall libgalahad_single.scu_initialize_s(data::Ptr{Ptr{Cvoid}},
control::Ptr{scu_control_type},
status::Ptr{Cint})::Cvoid
end

export scu_initialize

function scu_initialize(data, control, status)
@ccall libgalahad_double.scu_initialize(data::Ptr{Ptr{Cvoid}},
control::Ptr{scu_control_type},
status::Ptr{Cint})::Cvoid
end

export scu_information_s

function scu_information_s(data, inform, status)
Expand Down
2 changes: 1 addition & 1 deletion GALAHAD.jl/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ include("test_roots.jl")
include("test_rpd.jl")
include("test_rqs.jl")
include("test_sbls.jl")
## include("test_scu.jl")
include("test_scu.jl")
include("test_sec.jl")
include("test_sha.jl")
include("test_sils.jl")
Expand Down

0 comments on commit 52d8f7b

Please sign in to comment.