Skip to content
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

Conversation

toutane
Copy link
Contributor

@toutane toutane commented Oct 7, 2024

@toutane toutane changed the title feat[poisson]: Support 3D mesh with NodeWise Csr feat[poisson]: Support 3D mesh with NodeWise CSR Oct 7, 2024
@toutane toutane force-pushed the dev/cal-poisson-nodewise-csr-3d-support branch from e2b5f99 to 818d1fa Compare October 7, 2024 14:25

m_csr_matrix.setCoordinates(diagonal_entry, diagonal_entry);

for (Edge edge : node.edges()) {
Copy link
Collaborator

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

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();
Copy link
Collaborator

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

Copy link

codecov bot commented Oct 10, 2024

Codecov Report

Attention: Patch coverage is 0% with 94 lines in your changes missing coverage. Please review.

Project coverage is 63.39%. Comparing base (301fc44) to head (d466211).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
poisson/NodeWiseCsrBiliAssembly.cc 0.00% 85 Missing ⚠️
poisson/FemModule.cc 0.00% 9 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

@mohd-afeef-badri mohd-afeef-badri merged commit 25bd68c into arcaneframework:main Oct 11, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants