18 const std::string
msg =
"bond expects two atom indices as argument.\n";
32 const std::string
msg =
"bond atom index larger than atom count.\n";
39 if (
s.find(
i) !=
s.cend())
61 const std::string
msg =
"unbond expects two atom indices as argument.\n";
75 const std::string
msg =
"unbond atom index larger than atom count.\n";
81 if (
s.find(
j) !=
s.cend())
87 if (
s.find(
i) !=
s.cend())
glm::vec< L, float, glm::qualifier::highp > vec
Definition commandLine.h:214
Interop for a number in Lua.
Definition LuaNumber.h:11
void read(lua_State *lua, int index)
Read the number from stack index index.
Definition LuaNumber.h:26
std::map< uint64_t, std::set< uint64_t > > bonds
Definition visualisationState.h:117
uint64_t atomCount
Definition visualisationState.h:127
int lua_unbond(lua_State *lua)
Lua binding to unbond 2 Atoms.
Definition bonds.h:56
int lua_bond(lua_State *lua)
Lua binding to bond 2 Atoms.
Definition bonds.h:13