Loading src/libnptm/Commons.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -1646,7 +1646,7 @@ ParticleDescriptorInclusion::ParticleDescriptorInclusion(const ParticleDescripto vec_at = new dcomplex[_nlemt * _ndm]; for (int vi = 0; vi < _nlemt * _ndm; vi++) vec_at[vi] = rhs.vec_at[vi]; at = new dcomplex*[_nlemt]; for (int ai = 0; ai < _nlemt; ai++) at[ai] = vec_at + (ai * _nlemt); for (int ai = 0; ai < _nlemt; ai++) at[ai] = vec_at + (ai * _ndm); } #ifdef MPI_VERSION Loading Loading @@ -1727,7 +1727,7 @@ ParticleDescriptorInclusion::ParticleDescriptorInclusion(const mixMPI *mpidata) vec_at = new dcomplex[_nlemt * _ndm]; MPI_Bcast(vec_at, _nlemt * _ndm, MPI_C_DOUBLE_COMPLEX, 0, MPI_COMM_WORLD); at = new dcomplex*[_nlemt]; for (int ai = 0; ai < _nlemt; ai++) at[ai] = vec_at + (ai * _nlemt); for (int ai = 0; ai < _nlemt; ai++) at[ai] = vec_at + (ai * _ndm); } #endif // MPI_VERSION // >>> End of ParticleDescriptorInclusion class implementation. <<< // Loading Loading
src/libnptm/Commons.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -1646,7 +1646,7 @@ ParticleDescriptorInclusion::ParticleDescriptorInclusion(const ParticleDescripto vec_at = new dcomplex[_nlemt * _ndm]; for (int vi = 0; vi < _nlemt * _ndm; vi++) vec_at[vi] = rhs.vec_at[vi]; at = new dcomplex*[_nlemt]; for (int ai = 0; ai < _nlemt; ai++) at[ai] = vec_at + (ai * _nlemt); for (int ai = 0; ai < _nlemt; ai++) at[ai] = vec_at + (ai * _ndm); } #ifdef MPI_VERSION Loading Loading @@ -1727,7 +1727,7 @@ ParticleDescriptorInclusion::ParticleDescriptorInclusion(const mixMPI *mpidata) vec_at = new dcomplex[_nlemt * _ndm]; MPI_Bcast(vec_at, _nlemt * _ndm, MPI_C_DOUBLE_COMPLEX, 0, MPI_COMM_WORLD); at = new dcomplex*[_nlemt]; for (int ai = 0; ai < _nlemt; ai++) at[ai] = vec_at + (ai * _nlemt); for (int ai = 0; ai < _nlemt; ai++) at[ai] = vec_at + (ai * _ndm); } #endif // MPI_VERSION // >>> End of ParticleDescriptorInclusion class implementation. <<< // Loading