Changeset e4b9d5
- Timestamp:
- Dec 21, 2025, 9:50:22 PM (8 days ago)
- Branches:
- Candidate_v1.7.1, stable
- Children:
- 802a9d
- Parents:
- bc58f2
- git-author:
- Frederik Heber <frederik.heber@…> (11/20/25 17:20:49)
- git-committer:
- Frederik Heber <frederik.heber@…> (12/21/25 21:50:22)
- Location:
- src/Python
- Files:
-
- 1 added
- 4 edited
-
Makefile.am (modified) (1 diff)
-
PythonScripting_impl.hpp (modified) (1 diff)
-
export_numpy.cpp (modified) (1 diff)
-
getSelectedAtomCount.cpp (added)
-
modules.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/Python/Makefile.am
rbc58f2 re4b9d5 8 8 Python/getDomainVolume.cpp \ 9 9 Python/getGraph6String.cpp \ 10 Python/getSelectedAtomCount.cpp \ 10 11 Python/getSelectedAtomElements.cpp \ 11 12 Python/getSelectedAtomIds.cpp \ -
src/Python/PythonScripting_impl.hpp
rbc58f2 re4b9d5 140 140 "returns the positions of all currently selected atoms." 141 141 ); 142 boost::python::def< int() >( 143 "getSelectedAtomCount", 144 MoleCuilder::detail::module_getSelectedAtomCount, 145 "returns the number of all currently selected atoms." 146 ); 142 147 boost::python::def< MoleCuilder::detail::atomIdVec() >( 143 148 "getSelectedAtomIds", -
src/Python/export_numpy.cpp
rbc58f2 re4b9d5 126 126 boost::function<void (atom &, const Vector &)> &_set_function) 127 127 { 128 #ifndef NDEBUG 128 129 unsigned int num_atoms = get_num_atoms(); 129 130 #endif 130 131 // check whether shape of array is correct 131 132 ASSERT( _positions.shape(0) == num_atoms, -
src/Python/modules.hpp
rbc58f2 re4b9d5 35 35 doubleVec module_getBoundingBox(); 36 36 double module_getDomainVolume(); 37 int module_getSelectedAtomCount(); 37 38 atomIdVec module_getSelectedAtomIds(); 38 39 atomPositionsVec module_getSelectedAtomPositions();
Note:
See TracChangeset
for help on using the changeset viewer.
