Skip to content

Commit

Permalink
Catch up to supported features in JutulDarcy
Browse files Browse the repository at this point in the history
  • Loading branch information
moyner committed Apr 16, 2024
1 parent ad493d5 commit 66ae663
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion src/InputParser/keywords/props.jl
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ function parse_keyword!(data, outer_data, units, cfg, f, ::Val{:ZCRIT})
end

function parse_keyword!(data, outer_data, units, cfg, f, ::Val{:SSHIFT})
parser_message(cfg, outer_data, "SSHIFT", PARSER_JUTULDARCY_MISSING_SUPPORT)
data["SSHIFT"] = parse_compositional_helper!(f, outer_data, data, "SSHIFT")
end

Expand Down
1 change: 0 additions & 1 deletion src/InputParser/keywords/runspec.jl
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ end

function parse_keyword!(data, outer_data, units, cfg, f, ::Val{:ENDSCALE})
rec = read_record(f)
parser_message(cfg, outer_data, "ENDSCALE", PARSER_JUTULDARCY_PARTIAL_SUPPORT)
tdims = ["NODIR", "REVERS", 1, 20, 0];
props = get_section(outer_data, :PROPS, set_current = false)
if !haskey(props, "SCALECRS")
Expand Down
2 changes: 1 addition & 1 deletion src/InputParser/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ function unit_type(x::Symbol)
end

function unit_type(::Val{k}) where k
if !(k in (:FIPNUM, :EQLNUM, :PVTNUM, :SATNUM, :EQLNUM))
if !(k in (:FIPNUM, :EQLNUM, :PVTNUM, :SATNUM, :EQLNUM, :KRW, :KRO, :KRG))
@warn "Unit type not defined for $k."
end
return :id
Expand Down

0 comments on commit 66ae663

Please sign in to comment.