Giter VIP home page Giter VIP logo

Comments (7)

matt-chan avatar matt-chan commented on May 29, 2024

We should. I put the harmonics.py code into the gbasis repo I think, but I didn't think about the overlap code in IOData.

from iodata.

FarnazH avatar FarnazH commented on May 29, 2024

I have been working on iodata all day today trying to improve it, and I think its overlap code is over-complicated and even out of place to some extent. If I am not wrong, it's only used in the molden module to check normalization, so we don't even need the fastest overlap computation. I think we can write something much simpler for iodata and have a better/faster implementation in gbasis.

from iodata.

matt-chan avatar matt-chan commented on May 29, 2024

Yep, it's only used to check the normalization and normalize if needed. We don't need to have the full overlap matrix implementation in theory.

What did you have in mind?

from iodata.

FarnazH avatar FarnazH commented on May 29, 2024

I am implementing a simple and easy to understand compute_overlap function based on @PaulWAyers notes. It seems to be pretty efficient, so it may not even need to be Cythonized considering it's limited use in iodata module. I will share it with you this week.

from iodata.

matt-chan avatar matt-chan commented on May 29, 2024

Sure, sounds good!

from iodata.

tovrstra avatar tovrstra commented on May 29, 2024

You need the entire overlap matrix to check the normalization of the orbitals. We're not (only) checking the normalization of the basis functions.

A better name for this module would be good: transform_cart_pure.py or something along those lines.

We could compute the transformation matrices when needed and cached them. The harmonics.py in the tools directory of HORTON uses Sympy, which should be avoided. It is a tedious thing to implement in straight Python but good practice when your intuition for recursion relations is fading.

from iodata.

PaulWAyers avatar PaulWAyers commented on May 29, 2024

@FarnazH This seems to have been finished (a long time ago) but never closed.

from iodata.

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.