Skip to content

Immediate flush mode#1846

Open
franzpoeschel wants to merge 85 commits intoopenPMD:devfrom
franzpoeschel:synchronous-flush
Open

Immediate flush mode#1846
franzpoeschel wants to merge 85 commits intoopenPMD:devfrom
franzpoeschel:synchronous-flush

Conversation

@franzpoeschel
Copy link
Contributor

@franzpoeschel franzpoeschel commented Feb 2, 2026

Flush immediately upon storeChunk()/loadChunk(), no flushing needed

TODO:

@franzpoeschel franzpoeschel added the api: new additions to the API label Feb 2, 2026
Comment on lines +281 to +284
std::vector<double> res(udims.size() * 7);
// for (size_t i = 0; i < udims.size(); ++i)
// {
// res[7 * i] = 1;

Check notice

Code scanning / CodeQL

Commented-out code Note

This comment appears to contain commented-out code.
auto init_directly = [this, &comm..., &filepath](
std::unique_ptr<ParsedInput> parsed_input,
json::TracingJSON tracing_json) {
json::TracingJSON tracing_json,

Check notice

Code scanning / CodeQL

Large object passed by value Note

This parameter of type
TracingJSON
is 144 bytes - consider passing a const pointer/reference instead.
// Template implementations from header
template <typename T, typename RecordType>
PostProcessConvertedAttributeImpl<T, RecordType>::
PostProcessConvertedAttributeImpl(RecordType record_in, handler_t reader_in)

Check notice

Code scanning / CodeQL

Large object passed by value Note

This parameter of type
Mesh
is 104 bytes - consider passing a const pointer/reference instead.
Comment on lines +698 to +701
// TODO: unitSI
// REQUIRE(r["x"].numAttributes() == 0);
// REQUIRE(r["y"].numAttributes() == 0);
// REQUIRE(r["z"].numAttributes() == 0);

Check notice

Code scanning / CodeQL

Commented-out code Note test

This comment appears to contain commented-out code.
else
{
auto read_again = E_x_read.loadChunk<int>({0, 0}, {mpi_size, 4});
// REQUIRE_THROWS(read.flush());

Check notice

Code scanning / CodeQL

Commented-out code Note test

This comment appears to contain commented-out code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: new additions to the API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant