update compute descriptors
This commit is contained in:
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user