BlueBrain / AstroVascPy

Vasculature blood flow computation and impact of astrocytic endfeet on vessels
https://astrovascpy.rtfd.io
Apache License 2.0
8 stars 2 forks source link

New function distribute_array for np arrays #17

Closed nico-canta closed 9 months ago

nico-canta commented 11 months ago

Fix of the issue mentioned in #10

Replace BinaryIO2PETScVec with distribute_array. distribute_array only returns a distributed numpy array. It uses the automatic chunk selection of PETSc.Vec, but it does not set the PETSc.Vec elements. The PETSc.Vec is then deleted.

With this approach we do not copy the array anymore, and we save "type conversion" operations.

bbpbuildbot commented 11 months ago

Logfiles from GitLab pipeline #171472 (:white_check_mark:) have been uploaded here!

Status and direct links:

bbpbuildbot commented 11 months ago

Logfiles from GitLab pipeline #171666 (:white_check_mark:) have been uploaded here!

Status and direct links:

nico-canta commented 11 months ago

Before starting the review of this PR, it is better if we fix issue #18.

nico-canta commented 9 months ago

Issues #18 and issue #10 are independent issues. No need to wait for the fix of #18.

bbpbuildbot commented 9 months ago

Logfiles from GitLab pipeline #183389 (:white_check_mark:) have been uploaded here!

Status and direct links:

bbpbuildbot commented 9 months ago

Logfiles from GitLab pipeline #183439 (:white_check_mark:) have been uploaded here!

Status and direct links:

bbpbuildbot commented 9 months ago

Logfiles from GitLab pipeline #183549 (:white_check_mark:) have been uploaded here!

Status and direct links: