Comments (3)
The error is measured with respect to the analytical continuous solution to this partial differential equation. Because of finite precision and discretization of the PDE, there will always be a small non-zero error. You'll see that running with double precision (./diffusion
with no arguments), the same error is observed.
from zfp.
I think I have a terrible misunderstanding here, as I did not fully grasp the purpose of the program. Thank you for taking the time to provide a helpful response to this issue.
Additionally, I believe I have figured out the -R option for reversible mode. I noticed that in the diffusion.cpp file, only the rate field in the zfp_config variable is used to initialize zfp::array2, and not the mode. Furthermore, I found that zfp::const_array2 might be used for true lossless compression, as it does take a zfp_config as input.
Lastly, I would like to express my gratitude once again for your time and assistance with this issue. ZFP is a great tool, and it has been very helpful to me.
from zfp.
No worries. Admittedly this example is not all that self explanatory when it comes to the output it produces. Its main purpose is not to evaluate rounding errors (as other errors also contribute) or performance, but rather to show how to use the zfp array API in various ways to solve this simple numerical problem, e.g., using fixed- and variable-rate arrays, using indexing vs. iterators, using single- and multi-threading, etc.
Unless you have any other questions about this example, I'd like to go ahead and close this issue.
from zfp.
Related Issues (20)
- How to run zfp as a c code with gcc HOT 6
- Is psnr formula error in ZFP? HOT 2
- Missing `void` in functions that take no parameters
- Tiny but above subnormal numbers not handled correctly
- Numpy 2.0 HOT 11
- Cuda mode ZFP examples HOT 4
- Compilation issues with zfp HOT 2
- Running issues with zfp and cuda HOT 3
- Errors reported with scikit-build when running CMake with BUILD_ZFPY enabled HOT 1
- Test failures and segfaults when building with Visual Studio 2022 compiler v14.38.33130 HOT 13
- 2D Point data curiosly compresses way better at 1D HOT 4
- Deserializing const_array HOT 2
- Why strides are ignored in zfp_field_metadata()? HOT 4
- Syntax error in setup.py HOT 1
- Adjusting test cases from mock tests to proper tests for `testZfpCuda4d<datatype>` HOT 3
- example array.cpp error:C4146 Unary minus operator applied to unsigned type, the result is still unsigned. store.hpp 241 HOT 3
- The data is wrong after decompression and decompression by zfp_field_1d, but it is correct when I use zfp_field_2d HOT 3
- Crashes due to undefined behaviour from signed integer overflow in rev_fwd_lift_int32 HOT 7
- Undefined behaviour crash on NaN/inf/-inf input HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zfp.