Skip to content

Commit

Permalink
Add some missing trivial keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
moyner committed Mar 7, 2024
1 parent 1d4f3d3 commit 0190f60
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/InputParser/keywords/grid.jl
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function parse_keyword!(data, outer_data, units, cfg, f, v::Union{Val{:POELCOEF}
data["$k"] = vals
end

function parse_keyword!(data, outer_data, units, cfg, f, v::Union{Val{:FIPNUM}, Val{:PVTNUM}, Val{:SATNUM}, Val{:EQLNUM}, Val{:ROCKNUM}, Val{:IMBNUM}})
function parse_keyword!(data, outer_data, units, cfg, f, v::Union{Val{:FIPNUM}, Val{:PVTNUM}, Val{:SATNUM}, Val{:EQLNUM}, Val{:ROCKNUM}, Val{:IMBNUM}, Val{:MULTNUM}})
k = unpack_val(v)
parse_and_set_grid_data!(data, outer_data, units, cfg, f, k, T = Int)
end
Expand Down
10 changes: 9 additions & 1 deletion src/InputParser/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -417,13 +417,20 @@ function parse_keyword!(data, outer_data, units, cfg, f, v::Val{T}) where T

skip_kw!(:MULTOUT, 0)
skip_kw!(:NOSIM, 0)
skip_kw!(:NOINSPEC, 0)
skip_kw!(:NORSSPEC, 0)
skip_kw!(:NOWARN, 0)
skip_kw!(:NOWARNEP, 0)
skip_kw!(:NOHYKR, 0)
skip_kw!(:NOMIX, 0)
skip_kw!(:NPROCX, 0)
skip_kw!(:NPROCY, 0)
skip_kw!(:NONNC, 0)
skip_kw!(:NEWTRAN, 0)
skip_kw!(:CO2STORE, 0, PARSER_JUTULDARCY_MISSING_SUPPORT)
skip_kw!(:CO2STOR, 0, PARSER_JUTULDARCY_MISSING_SUPPORT)
skip_kw!(:DIFFUSE, 0, PARSER_JUTULDARCY_MISSING_SUPPORT)
skip_kw!(:UNIFSAVE, 0)

skip_kw!(:SATOPTS, 1, PARSER_MISSING_SUPPORT)
skip_kw!(:EQLOPTS, 1, PARSER_MISSING_SUPPORT)
skip_kw!(:TRACERS, 1, PARSER_MISSING_SUPPORT)
Expand All @@ -436,6 +443,7 @@ function parse_keyword!(data, outer_data, units, cfg, f, v::Val{T}) where T
skip_kw!(:DRSDT, 1, PARSER_MISSING_SUPPORT)
skip_kw!(:WPAVE, 1, PARSER_MISSING_SUPPORT)
skip_kw!(:VAPPARS, 1, PARSER_MISSING_SUPPORT)
skip_kw!(:RESTART, 1, PARSER_MISSING_SUPPORT)
skip_kw!(:NETBALAN, 1, PARSER_MISSING_SUPPORT)
skip_kw!(:JFUNC, 1, PARSER_MISSING_SUPPORT)

Expand Down

0 comments on commit 0190f60

Please sign in to comment.