-
Notifications
You must be signed in to change notification settings - Fork 30
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
Optional ID structural refactor #828
Conversation
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
power_grid_model_c/power_grid_model/include/power_grid_model/main_model_impl.hpp
Outdated
Show resolved
Hide resolved
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
…refactor-part2 Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
I just realized that |
power_grid_model_c/power_grid_model/include/power_grid_model/main_model_impl.hpp
Outdated
Show resolved
Hide resolved
This is self contradictory statement. |
which part? |
power_grid_model_c/power_grid_model/include/power_grid_model/main_core/core_utils.hpp
Outdated
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/main_core/update.hpp
Outdated
Show resolved
Hide resolved
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
"anything new that pops up can be moved to a follow-up (even if it's only minor)" vs "if there are no follow-ups: great" |
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.
huge improvement. a couple remarks but nothing serious. feel free to resolve them
power_grid_model_c/power_grid_model/include/power_grid_model/main_core/state_queries.hpp
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/main_core/update.hpp
Outdated
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/main_core/update.hpp
Outdated
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/main_core/update.hpp
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/main_core/update.hpp
Outdated
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/main_model_impl.hpp
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/main_model_impl.hpp
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/main_model_impl.hpp
Outdated
Show resolved
Hide resolved
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Signed-off-by: Santiago Figueroa Manrique <[email protected]>
c56adb2 Still not finished as now there are some memory leaks. Either it is something very "simple" I missed, or something very complex and then we may want a follow up to separate from this already large PR. The issue may be related with |
@mgovers, @figueroa1395, @Jerry-Jinfeng-Guo I see the PR was initially green but after some commits it turns to red. Maybe we can revert some refactors and merge this? |
i think so as well. it's very easy to revert the last 2 commits and then reapply in a new PR or cherry-pick the changes. |
Let's indeed make the additional commits a follow-up PR and merge this one for now. |
This reverts commit c56adb2. Signed-off-by: Santiago Figueroa Manrique <[email protected]>
Reverted the last "problematic" commit. Will merge after CI passes and then open another PR. |
power_grid_model_c/power_grid_model/include/power_grid_model/main_core/update.hpp
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/main_model.hpp
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/main_model_impl.hpp
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/main_model_impl.hpp
Show resolved
Hide resolved
power_grid_model_c/power_grid_model/include/power_grid_model/main_model_impl.hpp
Show resolved
Hide resolved
Merge only after #833 is merged, just for safety. That is why I added the |
power_grid_model_c/power_grid_model/include/power_grid_model/main_core/update.hpp
Outdated
Show resolved
Hide resolved
Quality Gate passedIssues Measures |
Implements #806 and continues the refactor started in #824. The scope of this PR is as follows:
-1
s inmain_model_impl.hpp
. 9810322check_components_independence
. e7e734cupdate_component
overload for multiple components. 9cdb0d6update.hpp
. The rest of commits up until 2143cba address this.Out of scope:
update_component
out ofmain_model_impl.hpp
.update_component
overload number.V
suffix.CT
,CompType
andComponentType
.