def apply_inverse_mass(self, array): coors = self.tensorproductspace.coors if self.tensorproductspace else self.coors if not coors.is_cartesian: # mass matrix may not be diagonal, or there is scaling return SpectralBase.apply_inverse_mass(self, array) return array
def apply_inverse_mass(self, array): if not self.coors.is_cartesian: # mass matrix may not be diagonal return SpectralBase.apply_inverse_mass(self, array) return array