openPMD / openPMD/openPMD-api

add C array arguments in the storeChunk() function API

Open
#1,319 4 comments 0 reactions 0 assignees View on GitHub
feature request
Dominant language
C++
Stars
161
Forks
59
Avg merge
2d 22h
Merged PRs (30d)
7

Description

** My problem **
My reading procedure is implemented via Fortran C interface. The interface exposes on static C arrays
and i need to copy the C arrays to `std::vector` to use the `storeChunk()` function.
I would like to avoid the additionnal copying of the data arrays ( these are huge array holding particle data!)

** Possible solution **
add C static array as argument of the `storeChunk()`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.