GithubHelp home page GithubHelp logo

Comments (7)

bast avatar bast commented on July 20, 2024

I would appreciate a link to an example cube file. I am working with a relativistic code where it is less trivial to get real valued orbitals.

from blob.

bskinn avatar bskinn commented on July 20, 2024

Ask, and ye shall receive: https://github.com/bskinn/h5cube/blob/70d8d8ccee43a2b0e9ed641bb3e86c95e50be6fe/h5cube/test/resource/grid25mo.cube

It's a rather low-resolution CUBE, but it should be sufficient for testing the +/- coloration.

from blob.

bast avatar bast commented on July 20, 2024

Thanks so much! +/- coloration coming up soon.

from blob.

bast avatar bast commented on July 20, 2024

The cube file has negative number of centers on line 3 and line 14 was unexpected for me and the parser as well. I have fixed that for my local testing so no problem for my debugging, I was just wondering whether there is anything in the format definition that I am missing.

from blob.

bskinn avatar bskinn commented on July 20, 2024

See here.

The negative value and extra line(s) must be accounted for in parsing...CUBEs can contain more than one dataset (e.g., three, or seven, or twelve different orbitals), and this mechanism is how it's bookkept.

from blob.

bast avatar bast commented on July 20, 2024

Thanks a lot Brian - I was indeed unaware of this convention and also did not know this great doc. I will link to it, adjust the parser for this and soon have a working +/- example. Thanks again!

from blob.

bast avatar bast commented on July 20, 2024

Parsing has been fixed in 6ccba72.

from blob.

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.