Giter VIP home page Giter VIP logo

Comments (5)

wavefunction91 avatar wavefunction91 commented on August 22, 2024

I think we're working with a different set of vernacular here - what exactly do you mean by "primitive quadrature"?

For example, for the MHL quadrature, I would view the trapezoidal rule to be the "primitive quadrature" (i.e. the "base" quadrature), but it's not immediately obvious if that's what you mean.

Do you just mean Jacobian inclusion?

Can you perhaps provide a concrete example that exemplifies this issue?

from integratorxx.

susilehtola avatar susilehtola commented on August 22, 2024

Yes, that is exactly what I mean. The radial quadratures are composed of two things:

  1. the primitive quadrature rule, e.g. trapezoidal quadrature, Gauss-Legendre quadrature, Gauss-Chebyshev quadrature, and
  2. the radial transform, which is the key difference between the various rules.

Our recent study J. Chem. Phys. 157, 174114 (2022) examined some combinations of various radial transforms and primitive quadratures. The Ahlrichs M4 grid with Chebyshev quadrature afforded the best convergence.

from integratorxx.

susilehtola avatar susilehtola commented on August 22, 2024

Psi4 has a pretty nice implementation, see
https://github.com/psi4/psi4/blob/afd50aa42403e7980b5e2f1fdf5d8be0f239275a/psi4/src/psi4/libfock/cubature.cc#L2396

from integratorxx.

wavefunction91 avatar wavefunction91 commented on August 22, 2024

from integratorxx.

susilehtola avatar susilehtola commented on August 22, 2024

No, we can definitely restrict to compile time only. A std::function interface would be awesome, though! What I have in my mind is a RadialTransform class that defines r and the Jacobian dr, since these are all what you need to compute the nodes and weights.

from integratorxx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.