I’m trying to develop a Psi4 plugin where I want to pass a NumPy array of doubles along with the ref_wfn, but I couldn’t find any API for that, It’s accepting wfn only.
my_wfn = psi4.core.plugin('my_plugin.so', ref_wfn)
and
extern "C" PSI_API
SharedWavefunction ddcc_psi4(SharedWavefunction ref_wfn, Options& options)
{
int print = options.get_int("PRINT");
return ref_wfn;
}
Even I tried to change these arguments but it’s still the same it seems there’s some abstract layer between these two codes.