Skip to content

ADC-394 Re-nest mesh into sub-families - #221

Merged
wolf75222 merged 1 commit into
masterfrom
adc-394-renest-mesh
Jun 22, 2026
Merged

ADC-394 Re-nest mesh into sub-families#221
wolf75222 merged 1 commit into
masterfrom
adc-394-renest-mesh

Conversation

@wolf75222

Copy link
Copy Markdown
Owner

Fixes ADC-394

Phase 3 of the include/adc reorganization. Stacked on #220 (ADC-393) — base is the ADC-393 branch.

What

Split the flat 14-header mesh/ directory into sub-families:

  • index/ (box2d, box_hash)
  • layout/ (box_array, patch_box, distribution_mapping, refinement)
  • storage/ (fab2d, multifab, mf_arith)
  • geometry/ (geometry)
  • boundary/ (physical_bc, halo_schedule, fill_boundary)
  • execution/ (for_each)

Every internal #include <adc/...> is repointed (also the one comment reference in root CMakeLists.txt).

Companion

adc_cases two_fluid_ap uses 8 of these mesh paths -> updated in adc_cases #50 (merge after this lands; the new mesh/* paths exist only then).

Validation

cmake --preset parallel (Kokkos OpenMP;Serial, AppleClang): all 365 targets compile and link, 0 errors. ctest running.

Next

Phase 4 (numerics: linalg/fv/spatial/time), then runtime + coupling finish.

@wolf75222
wolf75222 force-pushed the adc-394-renest-mesh branch from 91584d1 to 0d24113 Compare June 22, 2026 13:45
@wolf75222
wolf75222 force-pushed the adc-393-renest-core-physics-amr branch from 654c26f to 256d86e Compare June 22, 2026 14:23
Base automatically changed from adc-393-renest-core-physics-amr to master June 22, 2026 14:23
Phase 3 of the include/adc reorganization (follow-up of ADC-393). Split
the flat 14-header mesh/ directory so no directory mixes concerns:
index/ (box2d, box_hash), layout/ (box_array, patch_box,
distribution_mapping, refinement), storage/ (fab2d, multifab,
mf_arith), geometry/ (geometry), boundary/ (physical_bc, halo_schedule,
fill_boundary), execution/ (for_each).

Repoint every internal include AND the dsl.py adc_include() probe
(adc/mesh/multifab.hpp -> adc/mesh/storage/multifab.hpp, a non-#include
path check the family rewrite had missed -> broke the DSL test gate).
Public include-path break, stacked on ADC-393. Companion: adc_cases
two_fluid_ap mesh includes (adc_cases PR 50).

Validated: cmake --preset parallel (C++ 365 targets) + python suite
(test_dsl_compile_cache et al.) green.
@wolf75222
wolf75222 force-pushed the adc-394-renest-mesh branch from 0d24113 to 807a1bb Compare June 22, 2026 14:24
@wolf75222
wolf75222 merged commit fe08359 into master Jun 22, 2026
1 check passed
@wolf75222
wolf75222 deleted the adc-394-renest-mesh branch June 22, 2026 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant