source: src/Python/modules.hpp@ 923ce2

Candidate_v1.7.0 stable
Last change on this file since 923ce2 was ecc050, checked in by Frederik Heber <frederik.heber@…>, 4 years ago

pyMoleCuilder's wait() has return value.

  • tells whether actions have been executed successfully or not.
  • DOCU: updated docu
  • Property mode set to 100644
File size: 956 bytes
RevLine 
[cc6e5c]1/*
2 * modules.hpp
3 *
4 * Created on: Sep 28, 2013
5 * Author: heber
6 */
7
8#ifndef MODULES_HPP_
9#define MODULES_HPP_
10
11// include config.h
12#ifdef HAVE_CONFIG_H
13#include <config.h>
14#endif
15
[5061d9]16#include <string>
[cc6e5c]17#include <vector>
18
[ea30e6]19#include "types.hpp"
20
[cc6e5c]21namespace MoleCuilder {
22
23namespace detail {
24
25void module_exit();
26void module_reinit();
[ecc050]27bool module_wait();
[cc6e5c]28
[ea30e6]29typedef std::vector<atomId_t> atomIdVec;
30typedef std::vector<atomicNumber_t> elementVec;
[cc6e5c]31typedef std::vector<double> doubleVec;
[e70818]32typedef std::vector< std::vector<double> > atomPositionsVec;
[cc6e5c]33
34doubleVec module_getBoundingBox();
35double module_getDomainVolume();
[ea30e6]36atomIdVec module_getSelectedAtomIds();
[e70818]37atomPositionsVec module_getSelectedAtomPositions();
[ea30e6]38elementVec module_getSelectedAtomElements();
[cc6e5c]39double module_getSelectedMolarMass();
40
[5061d9]41std::string module_getGraph6String();
42std::string module_getElementListAsString();
43
[cc6e5c]44} /* namespace detail */
45
46} /* namespace MoleCuilder */
47
48#endif /* MODULES_HPP_ */
Note: See TracBrowser for help on using the repository browser.