Commit Graph
25 Commits
Author SHA1 Message Date
Tzanio Kolev e4c2152419 Update Copyright to 2010-2025 2025-02-03 12:17:26 -08:00
Tzanio Kolev 87290fbf56 Update Copyright to 2010-2024 2024-01-27 13:06:49 -08:00
Tzanio Kolev 96e00dc815 Updated COPYRIGHT to 2010-2023 2023-03-11 16:58:18 -08:00
Tzanio 6d2530775b Extended copyright to 2022 2022-02-25 10:24:50 -08:00
Will Pazner 0249c8460c Doxygen comments for VTK and binary IO 2021-12-25 08:42:44 -08:00
Will Pazner 0446a8fa32 Improve comments 2021-07-01 11:30:49 -07:00
Will Pazner 4256a61cd7 Doxygen comments in binaryio 2021-07-01 10:42:53 -07:00
Will Pazner 8f647fa4ef Add convenience function NumBase64Chars
This function returns the number of characters required to encode a given number
of bytes in base-64.
2021-07-01 10:40:04 -07:00
Will Pazner 5da228a103 Support reading VTK XML binary compressed data with multiple blocks
Both raw binary data and base-64 encoded are supported.

We previously only supported reading a single "block" of compressed data. VTK
format supports multiple blocks for semi-random access. Each block is
compressed separately, and the blocks are concatenated.

The header format is as follows (where header_t is either uint32_t or uint64_t
according to the VTK file metadata):

    header_t number_of blocks;
    header_t uncompressed_block_size;
    header_t uncompressed_last_block_size;
    header_t[] compressed_size;

The total uncompressed_block_size is bounded by (number_of_blocks -
1)*uncompressed_block_size + uncompressed_last_block_size.

The main complication is that the header contains a variable number of integers
(depending on the number of blocks), rather than a fixed number of 4 integers
as is the case when we are restricted to one block only.
2021-07-01 10:29:02 -07:00
Will Pazner 2ad9f7f7c6 Factor out binary reading code to bin_io::read 2021-04-12 09:41:08 -07:00
Will Pazner 59b1806e11 Add base-64 decoding 2021-04-01 13:27:17 -07:00
Adrien M. Bernede 04fb572359 Let's forget about 2020 2021-01-26 11:55:36 -08:00
Aaron Fisher bb2f464ca6 Merge branch 'master' into dox-update1 2020-04-08 15:15:52 -07:00
Tzanio 05125e19d5 Removed a space 2020-03-09 15:36:41 -07:00
Tzanio ca55ef0217 The release number for mfem-4.1 is LLNL-CODE-806117 2020-03-02 17:18:46 -08:00
Tzanio e689fd5b28 Merge branch 'master' into bsd-relicense 2020-02-27 09:29:25 -08:00
Tzanio 2caa222edf A number of changes to switch the code from LGPL-2.1 to BSD-3:
- Updated LICENSE, README, CHANGELOG and CONTRIBUTING.md
- Removed COPYRIGHT, added NOTICE
- Updated the headers in all source files, makefiles, etc.
2020-02-23 11:16:46 -08:00
Will Pazner 988e317854 Reorganize: move VTK code from mesh.cpp to vtk.cpp 2020-02-16 14:02:13 -08:00
Will Pazner 8779a96e95 Allow for different compression levels 2020-02-13 14:49:19 -08:00
Will Pazner a6fd497ce6 Allow for compressed binary ParaView output 2020-02-12 22:08:32 -08:00
Will Pazner 1fae44428a Minor simplifications to binary I/O 2020-02-05 07:36:11 -08:00
Will Pazner 14d2de68c8 Add some binary I/O utilities including base 64 2020-02-04 19:40:20 -08:00
Aaron Fisher 9c838adca6 Added some doxygen to everything in general and started in fem. 2019-05-08 14:10:49 -07:00
Veselin Dobrev 05ea6a6828 Introduce a new namespace mfem::bin_io for the functions defined
in general/binaryio.hpp.

Replace a throw statement (after MFEM_ABORT) with return.

Enclose the declaration of ParFiniteElementSpace::DebugDumpDOFs
inside #ifdef ... #endif region.
2018-01-10 19:24:41 -08:00
Jakub Cerveny d9f9eca2dc NeighborRowMessage::Encode/Decode 2017-07-25 14:47:00 +02:00