Cleanup main model: Clean all includes and make some components to be forward declared#1142
Cleanup main model: Clean all includes and make some components to be forward declared#1142figueroa1395 merged 52 commits intomainfrom
Conversation
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
|
I like the cleanup. Now I wonder, should we move In addition, can we also include |
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
|
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
figueroa1395
left a comment
There was a problem hiding this comment.
One additional thing is that perhaps #1142 (comment) is still relevant. Also, maybe triggering Copilot for review might be useful since missing things for a human due to the nature of this PR is very easy.
Rest looks good, just minor questions.
power_grid_model_c/power_grid_model/include/power_grid_model/common/three_phase_tensor.hpp
Show resolved
Hide resolved
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
figueroa1395
left a comment
There was a problem hiding this comment.
Looks good to me. Just minor comments about clangd and the meta_data stuff handling. After that I think this can be merged.
power_grid_model_c/power_grid_model/include/power_grid_model/topology.hpp
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/auxiliary/meta_data_gen.hpp
Show resolved
Hide resolved
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Signed-off-by: Nitish Bharambe <nitish.bharambe@alliander.com>
Co-authored-by: Martijn Govers <martijn.govers@alliander.com> Signed-off-by: Nitish Bharambe <78108900+nitbharambe@users.noreply.github.com>
|



Idea is to make components forward declared to reduce coupling.
This draft PR is created for gathering thoughts and requirements as of now.
Changes proposed in this PR include:
We shall maintain include discipline from now. Include order would be:
For include / source files
For tests:
In general, use <> for external. "" for internal. Note: PGM includes in test are treated as external, hence they go as <>.