From 64ecbd8aefa30ff662745fafdd723bff80e0bf61 Mon Sep 17 00:00:00 2001 From: Malmahrouqi3 Date: Sun, 9 Nov 2025 21:49:35 -0500 Subject: [PATCH 1/3] migrating things from features-mapping branch --- docs/documentation/case.md | 227 +++++++++++++++++++++++++++++++++++++ 1 file changed, 227 insertions(+) diff --git a/docs/documentation/case.md b/docs/documentation/case.md index 9e0536f913..afa63f9645 100644 --- a/docs/documentation/case.md +++ b/docs/documentation/case.md @@ -65,6 +65,233 @@ For example, to run the `scaling` case in "weak-scaling" mode: ```shell ./mfc.sh run examples/scaling/case.py -t pre_process -j 8 -- --scaling weak ``` +## Features +The following diagram displays feature-mapping hierarchy. To properly setup, ensure there is a direct correlation from parent feature to sub-features. + +\dot +digraph MFC_features +{ + newrank=true + compound=true; + fontsize="10"; + fontname="Open Sans"; + + node [shape=plaintext, fontsize="10", fontname="Open Sans"] + + Bootstrap [label= "Bootstrap" shape= "box" color="black" penwidth=2]; + + //--- ALib Camps --- +// Application [label= Application shape= "component" style="bold" color="chocolate"]; + ALox [label= ALox shape= "component" style="bold" color="chocolate"]; + Camp [label= Camp shape= "component" style="bold" color="chocolate4"]; + CLI [label= CLI shape= "component" style="bold" color="chocolate"]; + Expressions [label= Expressions shape= "component" style="bold" color="chocolate"]; + Files [label= Files shape= "component" style="bold" color="chocolate"]; + + Bootstrap -> { ALox CLI Expressions Files } [ color="gray69" style=dotted, penwidth=2 ]; + + //--- Below Camp --- + Format [label= Format shape= "box" color="dodgerblue4" ]; + Exceptions [label= Exceptions shape= "box" color="dodgerblue4" ]; + Resources [label= Resources shape= "box" color="dodgerblue4" ]; + System [label= System shape= "box" color="dodgerblue4" ]; + Variables [label= Variables shape= "box" color="dodgerblue4" ]; + + + //Application -> { CLI ALox } [ color="midnightblue" ]; + //Application -> { Files Expressions ThreadModel } [ color="gray69" style=dotted, penwidth=2 ]; + Files -> { Expressions ALox } [ color="gray69" style=dotted, penwidth=2 ]; + Files -> { Camp } [ color="midnightblue" ]; + CLI -> { Camp } [ color="midnightblue" ]; + Expressions -> { Camp } [ color="midnightblue" ]; + ALox -> { Camp } [ color="midnightblue" ]; + + Variables -> { System Monomem Containers } [ color="gray15" ]; + Camp -> { Format Variables } [ color="gray15" ]; + Format -> { Exceptions } [ color="gray15" ]; + Exceptions -> { Resources Boxing EnumRecords } [ color="gray15" ]; + System -> { Boxing EnumRecords } [ color="gray15" ]; + Resources -> { Strings Containers Monomem } [ color="gray15" ]; + + + ThreadModel [label= ThreadModel shape= "box" color="dodgerblue4" style="bold" ]; + BitBuffer [label= BitBuffer shape= "box" color="dodgerblue4" style="bold" ]; + + Boxing [label= Boxing shape= "box" color="dodgerblue4" ]; + Containers [label= Containers shape= "box" color="dodgerblue4" ]; + EnumRecords [label= EnumRecords shape= "box" color="dodgerblue4" ]; + Monomem [label= Monomem shape= "box" color="dodgerblue4" ]; + Singletons [label= Singletons shape= "box" color="dodgerblue4" ]; + Strings [label= Strings shape= "box" color="dodgerblue4" ]; + + subgraph Modules2 { rank="same" ALox CLI Expressions color="dodgerblue4" } + //subgraph Modules3 { rank="same" Monomem Strings color="dodgerblue4" } + + //--- dependencies base module -> base module + BitBuffer -> { Monomem Containers } [ color="gray15" ]; + ThreadModel -> { Boxing Containers Monomem } [ color="gray15" ]; + + + //--- dependencies base module -> base module + Boxing -> { Singletons } [ color="gray15" ]; + EnumRecords -> { Singletons Strings } [ color="gray15" ]; + + + // optional dependencies + Singletons -> { Monomem Containers } [ color="gray69" style=dotted, penwidth=2 ]; + Boxing -> { Monomem Containers Strings} [ color="gray69" style=dotted, penwidth=2 ]; + Containers -> { Strings } [ color="gray69" style=dotted, penwidth=2 ]; + Strings -> { Monomem } [ color="gray69" style=dotted, penwidth=2 ]; + EnumRecords -> { Monomem Containers Boxing } [ color="gray69" style=dotted, penwidth=2 ]; + Containers -> { Monomem } [ color="gray69" style=dotted, penwidth=2 ]; + BitBuffer -> { EnumRecords } [ color="gray69" style=dotted, penwidth=2 ]; + Resources -> { EnumRecords } [ color="gray69" style=dotted, penwidth=2 ]; + ThreadModel -> { EnumRecords Strings } [ color="gray69" style=dotted, penwidth=2 ]; + System -> { Monomem Exceptions } [ color="gray69" style=dotted, penwidth=2 ]; +} +\enddot + + +\htmlonly +
+
+ +
+ +
+
+ + + + + +\endhtmlonly + + ## Parameters From 1d74866b937ecfb3955cc685872bfb89cebcbf22 Mon Sep 17 00:00:00 2001 From: Malmahrouqi3 Date: Sun, 9 Nov 2025 22:51:46 -0500 Subject: [PATCH 2/3] added matrix --- docs/documentation/case.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/documentation/case.md b/docs/documentation/case.md index afa63f9645..f1906bca1c 100644 --- a/docs/documentation/case.md +++ b/docs/documentation/case.md @@ -68,6 +68,15 @@ For example, to run the `scaling` case in "weak-scaling" mode: ## Features The following diagram displays feature-mapping hierarchy. To properly setup, ensure there is a direct correlation from parent feature to sub-features. +| Feature A | Feature B | Feature C | Feature D | Feature E | Feature F | +| ---: | :----: | :----: | :----: | :----: | :--- | +Feature A | .. | .. | .. | .. | .. | .. | +Feature B | .. | .. | .. | .. | .. | .. | +Feature C | .. | .. | .. | .. | .. | .. | +Feature D | .. | .. | .. | .. | .. | .. | +Feature E | .. | .. | .. | .. | .. | .. | +Feature F | .. | .. | .. | .. | .. | .. | + \dot digraph MFC_features { From 4aa0a2974bb06dddf648a1f450f15503956e2bfd Mon Sep 17 00:00:00 2001 From: Malmahrouqi3 Date: Sun, 9 Nov 2025 23:32:49 -0500 Subject: [PATCH 3/3] fixed matrix format --- docs/documentation/case.md | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/documentation/case.md b/docs/documentation/case.md index f1906bca1c..3f7606f829 100644 --- a/docs/documentation/case.md +++ b/docs/documentation/case.md @@ -69,13 +69,14 @@ For example, to run the `scaling` case in "weak-scaling" mode: The following diagram displays feature-mapping hierarchy. To properly setup, ensure there is a direct correlation from parent feature to sub-features. | Feature A | Feature B | Feature C | Feature D | Feature E | Feature F | -| ---: | :----: | :----: | :----: | :----: | :--- | -Feature A | .. | .. | .. | .. | .. | .. | -Feature B | .. | .. | .. | .. | .. | .. | -Feature C | .. | .. | .. | .. | .. | .. | -Feature D | .. | .. | .. | .. | .. | .. | -Feature E | .. | .. | .. | .. | .. | .. | -Feature F | .. | .. | .. | .. | .. | .. | +| ---: | :----: | :----: | :----: | :----: | :--- | +| Feature A | .. | .. | .. | .. | .. | +| Feature B | .. | .. | .. | .. | .. | +| Feature C | .. | .. | .. | .. | .. | +| Feature D | .. | .. | .. | .. | .. | +| Feature E | .. | .. | .. | .. | .. | +| Feature F | .. | .. | .. | .. | .. | + \dot digraph MFC_features