|
nnp_inter.init (arg[0], get_node_rank()); |
If we specify the pair style double times, nnp_inter will be initialized double times too, which is not allowed and will lead to memory leak in release mode. It seems that pairs provided by lammps can be specified several times safely.
Let me know if I'm wrong. Thank you.