Home
Blog
Tutorials
Docs
DeePMD-kit
DP-GEN
dpdata
DPDispatcher
ABACUS
DeepFlame
DPTI
Publications
GitHub
Home
Blog
Tutorials
Docs
Publications
GitHub
DeePMD-kit
latest
Getting Started
Getting Started
Advanced
1. Installation
2. Data
3. Model
4. Training
5. Freeze and Compress
6. Test
7. Inference
8. Command line interface
9. Integrate with third-party packages
Developer Guide
Python API
DeePMD-kit
Template Function format_nlist_i_cpu
Edit on GitHub
Template Function format_nlist_i_cpu
Defined in
File fmt_nlist.h
Function Documentation
template
<
typename
FPTYPE
>
int
format_nlist_i_cpu
(
std
::
vector
<
int
>
&
fmt_nei_idx_a
,
const
std
::
vector
<
FPTYPE
>
&
posi
,
const
std
::
vector
<
int
>
&
type
,
const
int
&
i_idx
,
const
std
::
vector
<
int
>
&
nei_idx_a
,
const
float
&
rcut
,
const
std
::
vector
<
int
>
&
sec_a
)