Skip to content
molecular point group symmetry lib
Branch: master
Clone or download
mcodev31 fix inconsistency in threshold calc
parallel and angle calculations are only comparable at small angles,
ignore possible symmetric polyhedron issues, these will be caught later
Latest commit c994703 Jun 15, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bindings/python remove cmake message Dec 3, 2015
examples Update python and character table Nov 26, 2015
src fix inconsistency in threshold calc Jun 15, 2016
.gitignore set visibility per target, add option for examples Oct 27, 2015
CMakeLists.txt cmake for user customized build of python Dec 3, 2015
LICENSE Update LICENSE Apr 24, 2015
README.md Update README.md Dec 3, 2015
libmsymConfig.cmake.in
libmsymConfigVersion.cmake.in ops forgot Aug 12, 2015

README.md

libmsym v0.2.2

libmsym is a C library dealing with point group symmetry in molecules.

molecules

Determine, symmetrize and generate molecules of any point group as well determine/select subgroups. Get symmetrically equivalent elements and symmetrize translation of any any element in a molecule.

character tables

Generate character tables for any point group (complex characters form reducible representations)

wave functions

Generate SALCs of real spherical harmonics with any angular momentum for point groups with real characters (Ci, Cs, Cnv, Dn, Dnh, Dnd, Td, O, Oh, I and Ih), as well as symmetrize orbitals, determine partner functions etc.

installing

git clone https://github.com/mcodev31/libmsym.git
cd libmsym
mkdir build
cd build
# build as shared library; build examples (built in ./examples,  not installed)
cmake -DBUILD_SHARED_LIBS:BOOL=ON -DMSYM_BUILD_EXAMPLES:BOOL=ON ../.
make
# sudo only required if installing in directory not owned by user
# use -DCMAKE_INSTALL_PREFIX:PATH=<libmsym installation path> to change
sudo make install
# run examples
./examples/msym_example <input xyz-file>
./examples/msym_tex D13h D13h.tex

python

The libmsym module requires python 3.

If you have installed the libmsym library in a location that can be found by your loader (e.g. ldconfig):

cd ../bindings/python
# install libmsym module in user site
python setup.py install --user
# run example
python ./examples/msympy_example.py <input xyz-file> <output xyz-file>

If you want to install libmsym in a custom directory, the easies way it to use cmake:

# install libmsym shared library in $HOME/lib and the python module in the user site
cmake -DMSYM_BUILD_PYTHON:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_INSTALL_PREFIX=$HOME/lib -DMSYM_PYTHON_INSTALL_OPTS=--user ../.
make install
# run example
python ../bindings/python/examples/msympy_example.py <input xyz-file> <output xyz-file>

methods dealing with SALCs etc. require numpy to be installed

notes

v0.1.0 is not compatible with v0.2.0

You can’t perform that action at this time.