Giter Site home page Giter Site logo

cppe's Issues

Make CPPE pip-installable

The compiled Python interface should be installable via pip, making integration in Python packages easier (e.g., pyscf).

  • minimal setup.py to trigger build via cmake
  • install the resulting cppe.cpython-37m*.so library
  • run tests via python3 setup.py test

Expand test suite

  • tests against downloaded reference data (Dalton?)
  • consistency tests (pyscf)
  • ...

release v0.3.2

I was wondering why v0.3.2 is not on PyPI yet and why it was not tagged as a release?

More options

  • isotropic polarizabilities (iso_pol)
  • disable polarization
  • disable electrostatics
  • tests

Build system problems

The build system is a mess at the moment...
Problems arise with ExternalProjects (pybind11 and armadillo), if these are not system-installed.
One option would be to build the main cppe as an external project, too (as done in PSI4).

Refactor CMake

  • build only one library, currently libcppe and pycppe are built
  • cleanup required

PElib Integration

In the branches for Q-Chem and Psi4, I have disabled the PElib integration
because it is not as easy to expose to host programs (matrix elements need to be ordered
as in gen1int, for example). However, it should still be possible to compile the library including PElib and gen1int for test purposes and experimentation.

Code cleanup

  • use <algorithm> when possible...
  • remove unused code
  • make a header for each source file
  • refactor libcppe.hh (Related to #3)
  • more pythonic handling of PE Options (#16)
  • multiply pre-factors with moments?
  • more pythonic handling of PE Energies (dictionary)
  • more pythonic exposure of properties (get_site_position(), get_values())
  • clang-format on all files

Update README

The README file is rather sparse at the moment...

PeOptions type caster

For a more pythonic experience, it would be nice to expose the PeOption class
as a plain python dictionary. This could be done with a custom type caster in pybind11.

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.