update compute descriptors

This commit is contained in:
exapde
2024-06-21 22:08:20 -04:00
parent 2fbfa623cd
commit 353121c942
2 changed files with 14 additions and 14 deletions

View File

@ -73,8 +73,6 @@ void FitPOD::command(int narg, char **arg)
if (coeff_file != "") podArrayCopy(desc.c, fastpodptr->coeff, fastpodptr->nCoeffAll);
if (compute_descriptors==0) {
if (((int) envdata.data_path.size() > 1) && (desc.nClusters > 1)) {
environment_cluster_calculation(envdata);
//error->all(FLERR, "stop after environment_cluster_calculation");
@ -88,6 +86,8 @@ void FitPOD::command(int narg, char **arg)
memory->destroy(envdata.wf);
}
if (compute_descriptors==0) {
// compute POD coefficients using least-squares method
if (coeff_file == "") {
least_squares_fit(traindata);