Skip to content

Commit

Permalink
Need to check for mirrors as well
Browse files Browse the repository at this point in the history
  • Loading branch information
pchakraborty committed Oct 14, 2024
1 parent 060293a commit ddd8b26
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions generic3g/specs/FieldSpec.F90
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,6 @@ logical function can_connect_to(this, src_spec, rc)
select type(src_spec)
class is (FieldSpec)
can_convert_units = can_connect_units(this%units, src_spec%units, _RC)

can_connect_to = all ([ &
can_match(this%geom,src_spec%geom), &
can_match(this%vertical_grid, src_spec%vertical_grid), &
Expand Down Expand Up @@ -901,8 +900,6 @@ logical function adapter_match_vertical_grid(this, spec) result(match)
class(VerticalGridAdapter), intent(in) :: this
class(StateItemSpec), intent(in) :: spec

logical :: match_grid, match_dim_spec

match = .false.
select type (spec)
type is (FieldSpec)
Expand Down Expand Up @@ -966,7 +963,7 @@ logical function adapter_match_vertical_dim_spec(this, spec) result(match)
match = .false.
select type (spec)
type is (FieldSpec)
match = (spec%vertical_dim_spec == this%vertical_dim_spec)
match = match_vertical_dim_spec(spec%vertical_dim_spec, this%vertical_dim_spec)
end select
end function adapter_match_vertical_dim_spec

Expand Down

0 comments on commit ddd8b26

Please sign in to comment.