-
Notifications
You must be signed in to change notification settings - Fork 13
C++ Class Diagrams #147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
DiegoDeGusem
wants to merge
15
commits into
dev
Choose a base branch
from
diagram
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
C++ Class Diagrams #147
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
a42c6cb
Website class diagrams
DiegoDeGusem 48888ee
More descriptive names
DiegoDeGusem 1692c5a
fix typo
DiegoDeGusem b186f3c
add descriptions
DiegoDeGusem 5e6ccab
Fix legend
DiegoDeGusem 6d7d4cc
add Cu classes
DiegoDeGusem b58c378
Remove outdated class diagram
DiegoDeGusem f285677
Add compile command
DiegoDeGusem f941bf8
Update environment
DiegoDeGusem ed4de0c
Fix clang bugs
DiegoDeGusem 2074a3c
Merge branch 'dev' into diagram
DiegoDeGusem 3f2e32b
Add clang-uml warnings and remove from env
DiegoDeGusem 720578c
add clang-uml to readme
DiegoDeGusem 4fb37cc
Fix module conflicts and make html errors
DiegoDeGusem 5e02539
Remove windows errors
DiegoDeGusem File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,285 @@ | ||
| compilation_database_dir: build | ||
| output_directory: docs/diagrams/puml | ||
| diagrams: | ||
| timeintegration: | ||
| type: class | ||
| generate_method_arguments: full | ||
| generate_packages: false | ||
| glob: | ||
| - core/**/*.cpp | ||
| - physics/**/*.cpp | ||
| relative_to: src | ||
| package_type: directory | ||
| include: | ||
| paths: | ||
| - core | ||
| - physics | ||
| elements: | ||
| - RKmethod | ||
| - ButcherTableau | ||
| - DynamicEquation | ||
| - RungeKuttaStepper | ||
| - "RungeKuttaStepper##RungeKuttaStageExecutor" | ||
| - Stepper | ||
| - TimeSolver | ||
| - Relaxer | ||
| exclude: | ||
| namespaces: | ||
| - std | ||
| plantuml: | ||
| before: | ||
| - '!theme vibrant' | ||
| - 'left to right direction' | ||
| - 'package Legend {' | ||
| - ' class Class' | ||
| - ' abstract class Abstract' | ||
| - ' enum Enum' | ||
| - ' class Visibility {' | ||
| - ' +public field' | ||
| - ' +public method()' | ||
| - ' -private field' | ||
| - ' -private method()' | ||
| - ' #protected field' | ||
| - ' }' | ||
| - ' Class -[hidden]-> Extension' | ||
| - ' Abstract -[hidden]-> Extension' | ||
| - ' Enum -[hidden]-> Extension' | ||
| - ' Visibility <|-- Extension : Extension' | ||
| - ' Visibility o-- Aggregation : Aggregation' | ||
| - ' Visibility +.. Nested : Nested' | ||
| - ' Visibility --> Dependency : Dependency' | ||
| - ' Visibility ..> WeakDependency : Weak dependency' | ||
| - '}' | ||
|
|
||
| magnetics: | ||
| type: class | ||
| generate_method_arguments: full | ||
| generate_packages: false | ||
| glob: | ||
| - core/**/*.cpp | ||
| - physics/**/*.cpp | ||
| relative_to: src | ||
| package_type: directory | ||
| include: | ||
| paths: | ||
| - core | ||
| - physics | ||
| elements: | ||
| - Altermagnet | ||
| - Antiferromagnet | ||
| - DmiTensor | ||
| - CuDmiTensor | ||
| - Ferromagnet | ||
| - HostMagnet | ||
| - Magnet | ||
| - Minimizer | ||
| - MumaxWorld | ||
| - NcAfm | ||
| - BoundaryTraction | ||
| - CuBoundaryTraction | ||
| exclude: | ||
| namespaces: | ||
| - std | ||
| plantuml: | ||
| before: | ||
| - '!theme vibrant' | ||
| - 'left to right direction' | ||
| - 'package Legend {' | ||
| - ' class Class' | ||
| - ' class Visibility {' | ||
| - ' +public field' | ||
| - ' +public method()' | ||
| - ' -private field' | ||
| - ' -private method()' | ||
| - ' }' | ||
| - ' Class -[hidden]-> Extension' | ||
| - ' Visibility <|-- Extension : Extension' | ||
| - ' Visibility o-- Aggregation : Aggregation' | ||
| - ' Visibility --> Dependency : Dependency' | ||
| - ' Visibility ..> WeakDependency : Weak dependency' | ||
| - '}' | ||
|
|
||
| quantities: | ||
| type: class | ||
| generate_method_arguments: full | ||
| generate_packages: false | ||
| glob: | ||
| - core/**/*.cpp | ||
| - physics/**/*.cpp | ||
| relative_to: src | ||
| package_type: directory | ||
| include: | ||
| paths: | ||
| - core | ||
| - physics | ||
| elements: | ||
| - "DynamicParameter<T>" | ||
| - Field | ||
| - CuField | ||
| - FieldQuantity | ||
| - InterParameter | ||
| - Parameter | ||
| - CuParameter | ||
| - VectorParameter | ||
| - CuVectorParameter | ||
| - ScalarQuantity | ||
| - Variable | ||
| - NormalizedVariable | ||
| - "ScalarQuantityEvaluator<T>" | ||
| - "FieldQuantityEvaluator<T>" | ||
| exclude: | ||
| namespaces: | ||
| - std | ||
| plantuml: | ||
| before: | ||
| - '!theme vibrant' | ||
| - 'left to right direction' | ||
| - 'package Legend {' | ||
| - ' class Class' | ||
| - ' abstract class Abstract' | ||
| - ' class Template <T>' | ||
| - ' class Visibility {' | ||
| - ' +public method()' | ||
| - ' -private field' | ||
| - ' -private method()' | ||
| - ' #protected field' | ||
| - ' #protected method()' | ||
| - ' }' | ||
| - ' Class -[hidden]-> Extension' | ||
| - ' Abstract -[hidden]-> Extension' | ||
| - ' Template -[hidden]-> Extension' | ||
| - ' Visibility <|-- Extension : Extension' | ||
| - ' Visibility o-- Aggregation : Aggregation' | ||
| - ' Visibility --> Dependency : Dependency' | ||
| - ' Visibility ..> WeakDependency : Weak dependency' | ||
| - '}' | ||
|
|
||
| strayfield: | ||
| type: class | ||
| generate_method_arguments: full | ||
| generate_packages: false | ||
| glob: | ||
| - physics/**/*.cpp | ||
| relative_to: src | ||
| package_type: directory | ||
| include: | ||
| paths: | ||
| - core | ||
| - physics | ||
| elements: | ||
| - StrayFieldExecutor | ||
| - StrayField | ||
| - StrayFieldBruteExecutor | ||
| - StrayFieldFFTExecutor | ||
| - StrayFieldKernel | ||
| exclude: | ||
| namespaces: | ||
| - std | ||
| plantuml: | ||
| before: | ||
| - '!theme vibrant' | ||
| - 'left to right direction' | ||
| - 'package Legend {' | ||
| - ' class Class' | ||
| - ' abstract class Abstract' | ||
| - ' class Visibility {' | ||
| - ' +public method()' | ||
| - ' -private field' | ||
| - ' #protected field' | ||
| - ' #protected method()' | ||
| - ' }' | ||
| - ' Class -[hidden]-> Extension' | ||
| - ' Abstract -[hidden]-> Extension' | ||
| - ' Visibility <|-- Extension : Extension' | ||
| - ' Visibility o-- Aggregation : Aggregation' | ||
| - '}' | ||
|
|
||
| domain: | ||
| type: class | ||
| generate_method_arguments: full | ||
| generate_packages: false | ||
| glob: | ||
| - core/**/*.cpp | ||
| - physics/**/*.cpp | ||
| relative_to: src | ||
| package_type: directory | ||
| include: | ||
| paths: | ||
| - core | ||
| - physics | ||
| elements: | ||
| - Grid | ||
| - System | ||
| - CuSystem | ||
| - World | ||
| exclude: | ||
| namespaces: | ||
| - std | ||
| plantuml: | ||
| before: | ||
| - '!theme vibrant' | ||
| - 'left to right direction' | ||
| - 'package Legend {' | ||
| - ' class Class' | ||
| - ' class Visibility {' | ||
| - ' +public method()' | ||
| - ' -private field' | ||
| - ' #protected field' | ||
| - ' }' | ||
| - ' Class -[hidden]-> Dependency' | ||
| - ' Visibility o-- Aggregation : Aggregation' | ||
| - ' Visibility --> Dependency : Dependency' | ||
| - '}' | ||
|
|
||
| utilities: | ||
| type: class | ||
| generate_method_arguments: full | ||
| generate_packages: false | ||
| glob: | ||
| - core/**/*.cpp | ||
| - physics/**/*.cpp | ||
| - linsolver/**/*.cpp | ||
| - bindings/wrap_mfm.cpp | ||
| relative_to: src | ||
| package_type: directory | ||
| include: | ||
| paths: | ||
| - core | ||
| - physics | ||
| - linsolver | ||
| elements: | ||
| - VoronoiTessellator | ||
| - Center | ||
| - Tile | ||
| - Int3Hash | ||
| - MFM | ||
| - PoissonSystem | ||
| - LinSolver | ||
| - "LinSolver##Stepper" | ||
| - LinearSystem | ||
| - "LinearSystem##CuData" | ||
| exclude: | ||
| namespaces: | ||
| - std | ||
| plantuml: | ||
| before: | ||
| - '!theme vibrant' | ||
| - 'left to right direction' | ||
| - 'package Legend {' | ||
| - ' class Class' | ||
| - ' abstract class Abstract' | ||
| - ' class Visibility {' | ||
| - ' +public field' | ||
| - ' +public method()' | ||
| - ' -private field' | ||
| - ' -private method()' | ||
| - ' #protected method()' | ||
| - ' }' | ||
| - ' Class -[hidden]-> WeakDependency' | ||
| - ' Abstract -[hidden]-> WeakDependency' | ||
| - ' Visibility o-- Aggregation : Aggregation' | ||
| - ' Visibility +.. Nested : Nested' | ||
| - ' Visibility --> Dependency : Dependency' | ||
| - ' Visibility ..> WeakDependency : Weak dependency' | ||
| - '}' | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,3 +15,4 @@ cu*_*.dll | |
| docs/_build/* | ||
| !docs/_build/html/ | ||
| !docs/_build/html/** | ||
| docs/diagrams/puml | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -145,7 +145,7 @@ It follows the [NumPy style guide](https://numpydoc.readthedocs.io/en/latest/for | |
| make html | ||
| ``` | ||
|
|
||
| The documentation can then be found at `docs/_build/html/index.html`. | ||
| The documentation can then be found at `docs/_build/html/index.html`. However, to generate the class diagrams you should be on a Linux device and first install [clang-uml](https://github.com/bkryza/clang-uml/tree/master) otherwise they will not be generated. | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why not Windows? |
||
|
|
||
| ## Examples | ||
|
|
||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just checking, these are generated files, but are themselves not needed by the website?