Hi,
to implement a neural net potential (eg. ANI) as a force we need the atom types of the atoms in the system.
These are available from the Topology which is a Python based class.
My plan was to modify the constructor of NeuralNetworkForce adding a parameter vector<int> atomTypes than making it accessible through a function like getAtomTypes().
What would be the best way to support serialization in this case?
- Storing one
SerializationNode fore each atom?
- Storing the topology file name instead and re-reading it doing a call-out from C++ to Python?
Hi,
to implement a neural net potential (eg. ANI) as a force we need the atom types of the atoms in the system.
These are available from the Topology which is a Python based class.
My plan was to modify the constructor of
NeuralNetworkForceadding a parametervector<int> atomTypesthan making it accessible through a function likegetAtomTypes().What would be the best way to support serialization in this case?
SerializationNodefore each atom?