|
| 1 | +using Oceananigans.AbstractOperations: AbstractOperation, compute_computed_field! |
1 | 2 | using Oceananigans.BoundaryConditions: default_auxiliary_bc |
2 | 3 | using Oceananigans.Fields: FunctionField, data_summary, AbstractField, instantiated_location |
3 | | -using Oceananigans.AbstractOperations: AbstractOperation, compute_computed_field! |
4 | 4 | using Oceananigans.Operators: assumed_field_location |
5 | 5 | using Oceananigans.OutputWriters: output_indices |
6 | 6 |
|
7 | 7 | using Base: @propagate_inbounds |
8 | 8 |
|
9 | | -import Oceananigans.DistributedComputations: reconstruct_global_field, CommunicationBuffers |
10 | 9 | import Oceananigans.BoundaryConditions: regularize_field_boundary_conditions |
11 | | -import Oceananigans.Grids: xnodes, ynodes |
12 | | -import Oceananigans.Fields: set!, compute!, compute_at!, interior, validate_field_data, validate_boundary_conditions |
13 | | -import Oceananigans.Fields: validate_indices, communication_buffers |
14 | 10 | import Oceananigans.Diagnostics: hasnan |
| 11 | +import Oceananigans.DistributedComputations: reconstruct_global_field, CommunicationBuffers |
| 12 | +import Oceananigans.Fields: set!, compute!, compute_at!, interior, communication_buffers, |
| 13 | + validate_field_data, validate_boundary_conditions, validate_indices |
| 14 | +import Oceananigans.Grids: xnodes, ynodes |
15 | 15 |
|
16 | 16 | import Base: fill!, axes |
17 | 17 |
|
@@ -193,9 +193,6 @@ function inject_regional_bcs(grid, connectivity, loc, indices; |
193 | 193 | return FieldBoundaryConditions(indices, west, east, south, north, bottom, top, immersed) |
194 | 194 | end |
195 | 195 |
|
196 | | -FieldBoundaryConditions(mrg::MultiRegionGrids, loc, indices; kwargs...) = |
197 | | - construct_regionally(inject_regional_bcs, mrg, mrg.connectivity, Reference(loc), indices; kwargs...) |
198 | | - |
199 | 196 | function Base.show(io::IO, field::MultiRegionField) |
200 | 197 | bcs = getregion(field, 1).boundary_conditions |
201 | 198 |
|
|
0 commit comments