|
Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
|
Classes | |
| struct | VCoords |
| struct | OrderedVDF |
| struct | UnorderedVDF |
| class | PhaseSpaceUnion |
Functions | |
| void | compress_vdfs (dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > &mpiGrid, const std::vector< CellID > &local_cells, P::ASTERIX_COMPRESSION_METHODS method, bool update_weights, std::vector< std::vector< char > > &mpl_bytes, uint32_t downsampling_factor=1) |
| void | compress_vdfs_transfer_learning (dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > &mpiGrid) |
| std::size_t | probe_network_size_in_bytes (dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > &mpiGrid, size_t number_of_spatial_cells) |
| std::vector< double > | decompressArrayDouble (char *compressedData, size_t compressedSize, size_t arraySize, double tol) |
| std::vector< float > | decompressArrayFloat (char *compressedData, size_t compressedSize, size_t arraySize, float tol) |
| auto | extract_pop_vdf_from_spatial_cell (spatial_cell::SpatialCell *sc, uint popID) -> UnorderedVDF |
| auto | extract_pop_vdf_from_spatial_cell_ordered_min_bbox_zoomed (spatial_cell::SpatialCell *sc, uint popID, int zoom) -> OrderedVDF |
| constexpr auto | isPow2 (std::unsigned_integral auto val) -> bool |
| auto | overwrite_pop_spatial_cell_vdf (spatial_cell::SpatialCell *sc, uint popID, const std::vector< Realf > &new_vspace) -> void |
| auto | overwrite_pop_spatial_cell_vdf (spatial_cell::SpatialCell *sc, uint popID, const OrderedVDF &vdf) -> void |
| auto | overwrite_cellids_vdfs (const std::span< const CellID > cids, uint popID, dccrg::Dccrg< spatial_cell::SpatialCell, dccrg::Cartesian_Geometry > &mpiGrid, const std::vector< std::array< Real, 3 > > &vcoords, const std::vector< Realf > &vspace_union, const std::unordered_map< vmesh::LocalID, std::size_t > &map_exists_id) -> void |
| auto | dump_vdf_to_binary_file (const char *filename, CellID cid) -> void |
| auto | dump_vdf_to_binary_file (const char *filename, CellID cid, dccrg::Dccrg< spatial_cell::SpatialCell, dccrg::Cartesian_Geometry > &mpiGrid) -> void |
| template<typename T> | |
| auto | shannon_entropy (const std::vector< T > &data) -> T |
| template<typename T> | |
| auto | theoritical_lossless_compression_ratio (const std::vector< T > &data, std::size_t bits) -> T |
| template<typename NetworkType> | |
| auto | calculate_total_size_bytes (const std::vector< std::size_t > &architecture, std::size_t fourier_order, std::size_t output_dim) -> std::size_t |
| template<typename NetworkType> | |
| auto | calculate_hidden_neurons (std::size_t N_input, std::size_t N_output, std::size_t num_hidden_layers, std::size_t target_size) -> std::vector< std::size_t > |
| Real | get_Non_MaxWellianity (const spatial_cell::SpatialCell *cell, uint popID) |
| template<typename T> | |
| void | overwrite_cellids_vdf_single_cell (const std::span< const CellID > cids, uint popID, spatial_cell::SpatialCell *sc, size_t cc, const std::vector< std::array< T, 3 > > &vcoords, const std::vector< T > &vspace_union, const std::unordered_map< vmesh::LocalID, std::size_t > &map_exists_id) |
| auto ASTERIX::calculate_hidden_neurons | ( | std::size_t | N_input, |
| std::size_t | N_output, | ||
| std::size_t | num_hidden_layers, | ||
| std::size_t | target_size ) -> std::vector< std::size_t > |
Definition at line 539 of file compression_tools.h.


| auto ASTERIX::calculate_total_size_bytes | ( | const std::vector< std::size_t > & | architecture, |
| std::size_t | fourier_order, | ||
| std::size_t | output_dim ) -> std::size_t |
Definition at line 517 of file compression_tools.h.


| void ASTERIX::compress_vdfs | ( | dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > & | mpiGrid, |
| const std::vector< CellID > & | local_cells, | ||
| P::ASTERIX_COMPRESSION_METHODS | method, | ||
| bool | update_weights, | ||
| std::vector< std::vector< char > > & | mpl_bytes, | ||
| uint32_t | downsampling_factor = 1 ) |
| void ASTERIX::compress_vdfs_transfer_learning | ( | dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > & | mpiGrid | ) |
| std::vector< double > ASTERIX::decompressArrayDouble | ( | char * | compressedData, |
| size_t | compressedSize, | ||
| size_t | arraySize, | ||
| double | tol ) |
| std::vector< float > ASTERIX::decompressArrayFloat | ( | char * | compressedData, |
| size_t | compressedSize, | ||
| size_t | arraySize, | ||
| float | tol ) |
| auto ASTERIX::dump_vdf_to_binary_file | ( | const char * | filename, |
| CellID | cid ) -> void |


| void ASTERIX::dump_vdf_to_binary_file | ( | const char * | filename, |
| CellID | cid, | ||
| dccrg::Dccrg< spatial_cell::SpatialCell, dccrg::Cartesian_Geometry > & | mpiGrid ) -> void |
| ASTERIX::UnorderedVDF ASTERIX::extract_pop_vdf_from_spatial_cell | ( | spatial_cell::SpatialCell * | sc, |
| uint | popID ) -> UnorderedVDF |
| ASTERIX::OrderedVDF ASTERIX::extract_pop_vdf_from_spatial_cell_ordered_min_bbox_zoomed | ( | spatial_cell::SpatialCell * | sc, |
| uint | popID, | ||
| int | zoom ) -> OrderedVDF |
Definition at line 148 of file compression_tools.cpp.


| Real ASTERIX::get_Non_MaxWellianity | ( | const spatial_cell::SpatialCell * | cell, |
| uint | popID ) |
Definition at line 317 of file compression_tools.cpp.


|
constexpr |
Definition at line 471 of file compression_tools.h.


| void ASTERIX::overwrite_cellids_vdf_single_cell | ( | const std::span< const CellID > | cids, |
| uint | popID, | ||
| spatial_cell::SpatialCell * | sc, | ||
| size_t | cc, | ||
| const std::vector< std::array< T, 3 > > & | vcoords, | ||
| const std::vector< T > & | vspace_union, | ||
| const std::unordered_map< vmesh::LocalID, std::size_t > & | map_exists_id ) |
Definition at line 589 of file compression_tools.h.


| void ASTERIX::overwrite_cellids_vdfs | ( | const std::span< const CellID > | cids, |
| uint | popID, | ||
| dccrg::Dccrg< spatial_cell::SpatialCell, dccrg::Cartesian_Geometry > & | mpiGrid, | ||
| const std::vector< std::array< Real, 3 > > & | vcoords, | ||
| const std::vector< Realf > & | vspace_union, | ||
| const std::unordered_map< vmesh::LocalID, std::size_t > & | map_exists_id ) -> void |
| void ASTERIX::overwrite_pop_spatial_cell_vdf | ( | spatial_cell::SpatialCell * | sc, |
| uint | popID, | ||
| const OrderedVDF & | vdf ) -> void |
| void ASTERIX::overwrite_pop_spatial_cell_vdf | ( | spatial_cell::SpatialCell * | sc, |
| uint | popID, | ||
| const std::vector< Realf > & | new_vspace ) -> void |
| std::size_t ASTERIX::probe_network_size_in_bytes | ( | dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > & | mpiGrid, |
| size_t | number_of_spatial_cells ) |
| auto ASTERIX::shannon_entropy | ( | const std::vector< T > & | data | ) | -> T |
Definition at line 489 of file compression_tools.h.


| auto ASTERIX::theoritical_lossless_compression_ratio | ( | const std::vector< T > & | data, |
| std::size_t | bits ) -> T |
Definition at line 510 of file compression_tools.h.

