FlexELA
Loading...
Searching...
No Matches
compression.h
1#ifndef COMPRESSION_H
2#define COMPRESSION_H
3
4#include "domain.h"
5
6namespace domain {
17
24void compress(void* const buff, const fields::Helper<svec::SVector>& slice);
25
32void decompress(const void* const buff, const fields::Helper<svec::SVector>& slice);
33
34} // namespace domain
35
36#endif
A helper class to wrap pointers to padded 3D cartesian data.
Definition fields.h:27
Container for ELA Data including its physical structure.
Definition compression.h:6
void decompress(const void *const buff, const fields::Helper< svec::SVector > &slice)
Decompress the data in the buff.
std::size_t getCompressedSize(const fields::Helper< svec::SVector > &slice)
The size of the compressed data (in bytes)
void compress(void *const buff, const fields::Helper< svec::SVector > &slice)
Compress the data in the slice.