-
Notifications
You must be signed in to change notification settings - Fork 30
fine_boundary_represents_var for copy **before** refinement #1062
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -108,6 +108,10 @@ class FieldRefineOperator : public SAMRAI::hier::RefineOperator | |||||||||||||||||||||
| auto intersectionBox = destFieldBox * box; | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| std::cout << "debug refine operator: " | ||||||||||||||||||||||
| << "destinationFieldBox: " << destFieldBox | ||||||||||||||||||||||
| << ", sourceFieldBox: " << sourceFieldBox << ", box: " << box | ||||||||||||||||||||||
| << ", intersectionBox: " << intersectionBox << std::endl; | ||||||||||||||||||||||
|
Comment on lines
+111
to
+114
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. Remove or properly implement debug output Debug print statements should not be committed to production code. Consider either:
- std::cout << "debug refine operator: "
- << "destinationFieldBox: " << destFieldBox
- << ", sourceFieldBox: " << sourceFieldBox << ", box: " << box
- << ", intersectionBox: " << intersectionBox << std::endl;
+ // If debug output is needed, use PHARE logging:
+ // PHARE_LOG_SCOPE(4, "refine_operator_debug");
+ // PHARE_LOG_LINE_STR("destinationFieldBox: " << destFieldBox
+ // << ", sourceFieldBox: " << sourceFieldBox
+ // << ", box: " << box
+ // << ", intersectionBox: " << intersectionBox);📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||
|
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| if constexpr (dimension == 1) | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
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.
Remove or properly implement debug output
Debug print statements should not be committed to production code. This file already uses the PHARE logging framework (e.g.,
PHARE_LOG_SCOPEat line 115).🤖 Prompt for AI Agents