@@ -319,17 +319,11 @@ function run_distributed_agfem(distribute,
319319 end
320320
321321 # "Creating" aggregate-conforming cell partition
322-
323- # RMK: Current distributed AgFEM is constructed on
324- # the local portion and assumes the root cells of
325- # all ghost cells are in the local portion.
326-
322+ # TO-DO: Jordi reviews if aggtrian can be created from aggmodel
323+ # See if swapping the cell_gids of the cutgeo for the new ones
327324 function active_aggregate_conforming_trian (model,cutgeo,agg_cell_indices)
328325 trians = map ( local_views (cutgeo),
329326 agg_cell_indices ) do cutgeo, agg_cell_indices
330- # # This works; all root of owned are known
331- # Triangulation(no_ghost,agg_cell_indices,cutgeo,ACTIVE)
332- # # This fails; root cell of ghost is not known
333327 Triangulation (with_ghost,agg_cell_indices,cutgeo,ACTIVE)
334328 end
335329 aggmodel = GridapDistributed. GenericDistributedDiscreteModel (
@@ -350,6 +344,7 @@ function run_distributed_agfem(distribute,
350344
351345 aggdof_to_fdof, aggdof_to_dofs, aggdof_to_coeffs = AgFEMSpace (V,lcell_to_lroot,agg_cell_indices)
352346
347+ # # Proper sanity check to use when full table of constraints computed
353348 # Vagg = AgFEMSpace(V,lcell_to_lroot,agg_cell_indices)
354349 # u(x) = x[1]+x[2]
355350 # uh = interpolate_everywhere(u,Vagg)
0 commit comments