3.2 KiB
3.2 KiB
Step 21: Domain Mapper Modules
과거 개발 계획이다. 아래 작업·상태·예시는 현재 실행 지시가 아니다. 현재 구현과 검증 한계는 기능 요약을 따른다.
읽어야 할 파일
/AGENTS.md../../docs/solver-core/README.md../../docs/solver-core/README.md../../docs/solver-core/README.md../../docs/linear-static-3d-euler-beam/README.md../../docs/linear-static-mitc4-shell/README.md../../docs/cpp-object-oriented-modular-refactoring/README.md- Step 11 SourceTargetResolver
- Step 12–14 semantic hierarchy/Domain files
- Step 18–19 Load and BoundaryCondition files
/include/fesa/io/abaqus/domain_mapper.h/src/fesa/io/abaqus/domain_mapper.cpp/tests/unit/io/abaqus/domain_mapper_test.cpp/src/fesa/CMakeLists.txt,/tests/CMakeLists.txt/phases/cpp-object-oriented-modular-refactoring/index.json/phases/cpp-object-oriented-modular-refactoring/step21.md
작업
Requirement R-MODULE-001의 mapper split을 구현한다.
/tests/unit/io/abaqus/domain_mapping_components_test.cpp를 먼저 추가한다.C-MODULE-001exercises component seams with valid and invalid syntax records and verifies topology, material/property, step/load/BC candidate content plus exact stable diagnostic order.- Missing private component headers causes RED compile failure.
- Keep public facade
Result<Domain> AbaqusDomainMapper::Map(const ParsedInput& input) constindomain_mapper.h. Candidate private modules under/src/fesa/io/abaqus/:
domain_mapping_context.h shared candidate state, source locations and diagnostics
topology_mapper.h/.cpp nodes, elements, sets, identity instances
material_property_mapper.h/.cpp current isotropic material and beam/shell section assignments
step_definition_mapper.h/.cpp one STATIC step, concentrated loads, prescribed displacement
domain_builder.h/.cpp final cross-reference validation and atomic Domain construction
- Private methods consume syntax/semantic candidate references and return
Status; no component commits to public Domain before final validation. - Preserve allowlist warnings, B31 rejection, S4/S4R common FESA-MITC4 mapping, set namespace, source identity, declaration order and every existing diagnostic code/message/source location.
- Reduce
domain_mapper.cppto orchestration. Do not add a registry or public parser plugin API.
Acceptance Criteria
과거 도구 실행·출력 지시는 정리했으며, 현재 검증 방법은 기능 요약을 따른다.
검증 및 상태 갱신
- RED missing components, component/facade diagnostics, facade wiring and full CTest를 summary에 기록한다.
- Diagnostic/order/semantic mapping regression is
error. - 성공 시 현재 Step만
completed로 갱신한다. - timestamp, retry, commit, advancement는 Executor 소유다.
금지사항
- Abaqus keyword subset or unsupported behavior를 넓히지 마라.
- Failed candidate를 partial Domain에 commit하지 마라.
- Reference input을 mapper refactor에 맞춰 변경하지 마라.
- 직접 commit하거나 hook script를 수동 실행하지 마라.