1#ifndef __CORE_PARTIAL_EXPORTER_HPP__
2#define __CORE_PARTIAL_EXPORTER_HPP__
4#include <common/execinfo.hpp>
5#include <core/post_process.hpp>
8#include <dataexporter/data_exporter.hpp>
39 std::string_view _filename,
40 std::optional<export_metadata_t> user_description = std::nullopt);
48 void init_fields(uint64_t n_iter, uint64_t n_compartments);
57 const std::string& ds_name,
DataExporter(const DataExporter &)=delete
void init_fields(uint64_t n_iter, uint64_t n_compartments)
Initializes the fields required for exporting data.
Definition partial_exporter.cpp:22
void write_particle_data(PostProcessing::BonceBuffer &&bonce, const std::string &ds_name, bool compress_data)
Writes particle data to the output.
Definition partial_exporter.cpp:73
PartialExporter(const ExecInfo &info, std::string_view _filename, std::optional< export_metadata_t > user_description=std::nullopt)
Constructs a PartialExporter instance.
Definition partial_exporter.cpp:12
void write_number_particle(const std::vector< size_t > &distribution)
Writes the number of particles in each compartment.
Definition partial_exporter.cpp:60
void write_probe(std::span< const double > data)
Writes probe data to the export.
Definition partial_exporter.cpp:67
uint64_t probe_counter_n_element
Definition partial_exporter.hpp:74
Core component to perform simulation.
Definition data_exporter.hpp:19
Definition execinfo.hpp:12
Definition post_process.hpp:20