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

export_1d_elem_field numbering fixed #164

Merged
merged 3 commits into from
Mar 27, 2024

Conversation

behdadebsh
Copy link
Contributor

Fixing the elem numbering issue in export_1d_elem_field subroutine. This issue was exporting the field correctly but the elem numbers were jumping after artery elements to capillaries and potentially writing memory address to file since it was running out of memory allocated to elements. This pull request does not need changes to examples or tests.

@behdadebsh behdadebsh requested a review from tawhai March 25, 2024 05:44
@tawhai
Copy link
Contributor

tawhai commented Mar 25, 2024

the issue is not with export: it is with the set up of the 'elems' array during 'add_matching_mesh'. We should be exporting the same element and node numbering as we read in (so elems(ne), nodes(np)).

@tawhai
Copy link
Contributor

tawhai commented Mar 27, 2024

Code is appropriate and the testing examples run. No impact on documentation or the example structure or outputs.

@tawhai tawhai merged commit da3bbcf into LungNoodle:develop Mar 27, 2024
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