-
Notifications
You must be signed in to change notification settings - Fork 134
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
Refactor and Optimize: Function Encapsulation and Dynamic Scheduling Enhancements in Grid Integration Module #4403
Refactor and Optimize: Function Encapsulation and Dynamic Scheduling Enhancements in Grid Integration Module #4403
Conversation
auto iter = sparseMatrix.find(R_coor); | ||
if (iter != sparseMatrix.end()) | ||
{ | ||
if (trace_lo[row] >= 0) // 使用类成员变量 trace_lo |
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.
Please use English for comments.
|
||
}; | ||
|
||
|
||
inline void Gint_k::process_sparse_matrix( |
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.
Please don't add function with definition in *.h, you can move it to *.hpp.
Since the class is over, I will close this PR. New PR is welcome. |
process_sparse_matrix
.process_sparse_matrix
function now supports both general sparse matrix processing and specificdim
-based distribution.