maxscheurer / cppe Goto Github PK
View Code? Open in Web Editor NEWC++ and Python library for Polarizable Embedding
License: Other
C++ and Python library for Polarizable Embedding
License: Other
Don't expose PeOptions
to py-side, only communicate via Python dictionary.
The compiled Python interface should be installable via pip
, making integration in Python packages easier (e.g., pyscf
).
setup.py
to trigger build via cmake
cppe.cpython-37m*.so
librarypython3 setup.py test
pyscf
)I was wondering why v0.3.2 is not on PyPI yet and why it was not tagged as a release?
In the case that not all sites are polarizable, the induced moments vector is too large (number of elements = number of sites which have a static moment, so most of the times = all sites).
iso_pol
)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).
As it says in the title...
Makes it easier not to forget calling calculate_static_energies_and_fields
.
On Linux conda the new v0.0.9 builds just fine (https://anaconda.org/psi4/pycppe/files and https://anaconda.org/psi4/cppe/files). Request that you splurge on the next version and make it v0.2 so it sorts after the dummy v0.1 tag I had used originally.
Here is a question about the nuclear gradients raised in PySCF pyscf/pyscf#1321
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.
<algorithm>
when possible...libcppe.hh
(Related to #3)get_site_position()
, get_values()
)The README file is rather sparse at the moment...
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.