MCPcopy Create free account
hub / github.com/ElectroZybr/LatticeLab / load_molecules

Method load_molecules

Lattice/Scripting/ScriptAPI.cpp:124–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124std::tuple<int, std::vector<std::string>> ScriptAPI::load_molecules(const std::string& path) {
125 std::vector<std::string> loadedNames = loadMoleculesFrom(path);
126 return {static_cast<int>(loadedNames.size()), std::move(loadedNames)};
127}
128
129std::shared_ptr<ScriptBatch> ScriptAPI::begin_batch() {
130 simulation_.beginAtomBatch();

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected