From f6fda094e36458b38080941f10777664c2109092 Mon Sep 17 00:00:00 2001 From: chn Date: Fri, 8 Sep 2023 06:46:08 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E5=AF=B9=E5=88=86=E8=A7=A3?= =?UTF-8?q?=E5=88=B0=E5=9F=BA=E4=B9=8B=E5=90=8E=E7=9A=84=E7=B3=BB=E6=95=B0?= =?UTF-8?q?=E7=9A=84=E5=BD=92=E4=B8=80=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/main.cpp b/main.cpp index 75e6bd8..cb38fa8 100644 --- a/main.cpp +++ b/main.cpp @@ -153,11 +153,6 @@ int main(int argc, const char** argv) basis[i_of_unfolded_qpoint][i_of_basis_in_primary_cell].transpose() * input.QPointData[i_of_folded_qpoint].ModeData[i_of_mode].AtomMovement ).array().abs2().sum()); - - // 归一化 - auto sum = std::accumulate(coefficient_at_mode.begin(), coefficient_at_mode.end(), 0.); - for (auto& coefficient : coefficient_at_mode) - coefficient /= sum; } }