Skip to content

Commit

Permalink
Fix to MULTIPLY on TRAN*
Browse files Browse the repository at this point in the history
  • Loading branch information
moyner committed May 21, 2024
1 parent 8215169 commit 849f588
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/InputParser/keywords/special.jl
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,8 @@ function parse_keyword!(data, outer_data, units, cfg, f, ::Val{:MULTIPLY})
# TODO: Bit of a hack
target = grid["PORO"]
elseif dst in ("TRANX", "TRANY", "TRANZ")
parser_message(cfg, outer_data, "MULTIPLY", "MULTIPLY on $dst is not currently supported in solvers.", important = true)
dir = dst[end]
push_and_create!(data, "MULTRAN$dir", (i = Ibox, j = Jbox, k = Kbox, factor = factor))
push_and_create!(data, "MULTRAN$dir", [(i = Ibox, j = Jbox, k = Kbox, factor = factor)])
do_apply = false
else
throw(ArgumentError("Unable to apply MULTIPLY to non-declared field $dst"))
Expand Down

0 comments on commit 849f588

Please sign in to comment.