tkwant.onebody.kernels.Simple

class tkwant.onebody.kernels.Simple(H0, W, params, double complex[:] psi_st=None)

A C-implemented kernel using naive CSR matvec.

Methods

rhs(self, const double complex[::1] psi, double complex[::1] dpsidt, double time)

Evaluate the RHS of the TDSE and store the result in dpsidt.

set_params(self, params)

Attributes

nevals

‘int’

Type

nevals

size

‘int’

Type

size