1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
// [[file:../gchemol-core.note::cb1b201a][cb1b201a]]
//===============================================================================#
//   DESCRIPTION:  molecule object repsented in graph data structure
//
//         NOTES:  based on petgraph
//        AUTHOR:  Wenping Guo <ybyygu@gmail.com>
//       CREATED:  <2018-04-12 Thu 15:48>
//===============================================================================#

#![deny(missing_docs)] // rustdoc will fail if there is missing docs
#![deny(clippy::all)]
// cb1b201a ends here

// [[file:../gchemol-core.note::*header][header:3]]
//!# Core chemical objects for gchemol
// header:3 ends here

// [[file:../gchemol-core.note::92c9c7da][92c9c7da]]
mod atom;
mod bond;
mod data;
mod element;
mod formula;
mod lattice;
mod molecule;
mod property;

#[cfg(feature = "adhoc")]
mod clean;
#[cfg(feature = "adhoc")]
mod connect;
#[cfg(feature = "adhoc")]
mod freeze;
#[cfg(feature = "adhoc")]
mod geometry;
#[cfg(feature = "adhoc")]
mod inertia;
#[cfg(feature = "adhoc")]
mod order;
#[cfg(feature = "adhoc")]
mod ring;
#[cfg(feature = "adhoc")]
mod topology;

#[cfg(feature = "adhoc")]
pub use crate::freeze::Mask;

#[cfg(feature = "adhoc")]
mod selection;

// #[cfg(feature = "adhoc")]
// pub mod images;
// 92c9c7da ends here

// [[file:../gchemol-core.note::*common][common:1]]
/// shared dependencies in crate
pub(crate) mod common {
    pub use gchemol_graph::{NodeIndex, NxGraph};
    pub use gut::prelude::*;
}
// common:1 ends here

// [[file:../gchemol-core.note::3a22317c][3a22317c]]
pub use crate::atom::*;
pub use crate::bond::*;
pub use crate::element::*;
pub use crate::lattice::*;
pub use crate::molecule::*;

pub use crate::property::PropertyStore;

#[cfg(feature = "adhoc")]
/// For neighboring atoms search
pub mod neighbors {
    pub use ::neighbors::*;
}
// 3a22317c ends here