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

Function vec3_norm

cpp_core/src/module_case_input.cpp:526–528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

524}
525
526double vec3_norm(const materialdft::Vec3d& v) {
527 return std::sqrt(v[0] * v[0] + v[1] * v[1] + v[2] * v[2]);
528}
529py::list lattice_ang_to_py_rows(const materialdft::Mat3d& lattice_ang) {
530 py::list rows;
531 for (int vec = 0; vec < 3; ++vec) {

Callers 5

write_lattice_run_metaFunction · 0.85
execute_relax_caseFunction · 0.85
execute_caseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected