Hi,
Is there a possibility of accessing the function introduced in source file (C++) via python script. Earlier in HOOMD v2.7.0, I had introduced some function in Neighbourlist.cc Code and accordingly made changes in Neighbourlist.h file, which was successfully built. Now using python script, I was able to initialize the variable of the function (through cpp_nlist). For example I was doing something like this:
nl_functional=hoomd.md.nlist.tree(r_buff=0.0)
nl_functional.cpp_nlist.arbitaryFunction(...)
The arbitaryFunction() is declared in Neighbourlist.cc file. The main objective of doing this is to modify the neighbourlist array within the simulation, i.e., h_nlist array.
Can we do something like this in HOOMD v4.1.0. Please guide me.
Regards,
Avishek