-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat[poisson]: Support 3D mesh with NodeWise CSR #168
feat[poisson]: Support 3D mesh with NodeWise CSR #168
Conversation
e2b5f99
to
818d1fa
Compare
|
||
m_csr_matrix.setCoordinates(diagonal_entry, diagonal_entry); | ||
|
||
for (Edge edge : node.edges()) { |
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.
test via node-node connectivity in future
poisson/NodeWiseCsrBiliAssembly.cc
Outdated
auto node_dof(m_dofs_on_nodes.nodeDoFConnectivityView()); | ||
|
||
// Compute the number of nnz and initialize the memory space | ||
Int32 nnz = nbFace() * 2 + nbNode(); | ||
m_csr_matrix.initialize(m_dof_family, nnz, nbNode()); | ||
Integer nbnde = nbNode(); |
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.
Int64 should be a better choice instead of Interger. we should do the same for nnz
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #168 +/- ##
==========================================
- Coverage 64.00% 63.39% -0.62%
==========================================
Files 57 57
Lines 8255 8335 +80
Branches 1034 1050 +16
==========================================
Hits 5284 5284
- Misses 2696 2776 +80
Partials 275 275 ☔ View full report in Codecov by Sentry. |
L-shape_3D_nwcsr_gpu