MCPcopy Create free account
hub / github.com/SZAILAB/MaterialDFT-Demo / split_lines

Function split_lines

cpp_core/src/potcar_parser.cpp:145–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145std::vector<std::string> split_lines(const std::string& text) {
146 std::vector<std::string> out;
147 std::istringstream iss(text);
148 std::string line;
149 while (std::getline(iss, line)) {
150 out.push_back(line);
151 }
152 return out;
153}
154
155std::vector<std::string> split_datasets(const std::string& text) {
156 const std::string marker = "End of Dataset";

Callers 1

parse_dataset_blockFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected