Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nodes must be created by groups of 8 (3 dimensions), each of them describing 8 functions, i.e. 64 functions in total. #248

Open
gitpeterwind opened this issue Dec 10, 2024 · 0 comments

Comments

@gitpeterwind
Copy link
Member

When a node is created in MRCPP, 8 siblings are created each time. Each MWNode object contains a group of 8 functions, typically 1 scaling and 7 wavelet functions.
This coarse granularity means that functions are described using lots of coefficients which could be neglected.

This become apparent when reading a MW function provided by MADNESS: A set of nodes described by the values at the quadrature points was provided. MRCPP requires to create a tree which is almost 8 times as large (measured by number of coefficients) to describe the same identical tree. This is because in MRCPP each leaf node must contain a set of 8 "siblings" MW functions, even if 7 of those functions were not required (and the value of their coefficents is zero).

A more optimal description of a MWNode would not only reduce the memory footprint, but probably also make the code much faster.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant