updated all code in LAMMPS to use the open-source "math_eigen.h" instead of "math_extra.h". Code in "lib" now uses its own abbreviated local version of the "math_eigen.h" file (which is named "jacobi_pd.h"), since it is not clear how code from "lib/" can access the code in "src/"
This commit is contained in:
@ -20,6 +20,7 @@
|
||||
#include "compute_chunk_atom.h"
|
||||
#include "domain.h"
|
||||
#include "math_extra.h"
|
||||
#include "math_eigen.h"
|
||||
#include "memory.h"
|
||||
#include "error.h"
|
||||
|
||||
@ -250,10 +251,10 @@ void ComputeOmegaChunk::compute_array()
|
||||
|
||||
// handle each (nearly) singular I matrix
|
||||
// due to 2-atom chunk or linear molecule
|
||||
// use jacobi() and angmom_to_omega() to calculate valid omega
|
||||
// use jacobi3() and angmom_to_omega() to calculate valid omega
|
||||
|
||||
} else {
|
||||
int ierror = MathExtra::jacobi(ione,idiag,evectors);
|
||||
int ierror = MathEigen::jacobi3(ione,idiag,evectors);
|
||||
if (ierror) error->all(FLERR,
|
||||
"Insufficient Jacobi rotations for omega/chunk");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user