Function deepmd::filter_ftype_gpu

Function Documentation

void deepmd::filter_ftype_gpu(int *ftype_out, const int *ftype_in, const int nloc)

Filter the fake atom type.

If >=0, set to 0; if <0, set to -1.

Parameters
  • ftype_out – The output filtered atom type.

  • ftype_in – The input atom type.

  • nloc – The number of atoms.