Skip to content

Commit

Permalink
Inclined contact test fix
Browse files Browse the repository at this point in the history
Inclined contact test fix
  • Loading branch information
brianphung authored Feb 19, 2025
2 parents da58a2b + cc51544 commit 6567b58
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ include("schwarz-overlap-static-cuboid-hex8.jl")
include("schwarz-nonoverlap-static-cuboid-hex8.jl")
include("transfer-operators.jl")
include("schwarz-contact-static-cubes.jl")
#include("schwarz-contact-dynamic-cubes.jl")
include("schwarz-contact-dynamic-cubes.jl")
include("solid-cube-inclined-support.jl")
include("opinf-schwarz-overlap-cuboid-hex8.jl")
include("adaptive-time-stepping.jl")
Expand Down
7 changes: 4 additions & 3 deletions test/schwarz-contact-dynamic-cubes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ end
input_file = "cubes-test$i.yaml"
params = YAML.load_file(input_file; dicttype=Dict{String,Any})
params["initial time"] = -1.0e-06
params["final time"] = 1.0e-3
params["time step"] = 1e-6
params["final time"] = 4e-6
sim = Norma.run(params, input_file)
subsim_temp = sim.subsims
model_fine_temp = subsim_temp[1].model.current
Expand Down Expand Up @@ -111,8 +112,8 @@ end
model_coarse_rotated[:, i] = local_rotation_matrix * model_coarse_temp[:, i]
end

@test model_fine_rotated model_fine rtol=2e-4
@test model_coarse_rotated model_coarse rtol=2e-4
@test model_fine_rotated model_fine rtol=1e-5
@test model_coarse_rotated model_coarse rtol=1e-5
end
end

Expand Down

0 comments on commit 6567b58

Please sign in to comment.