https://github.com/fernandezfran/cluster-connections

A clustering algorithm that classifies second nearest neighbor atom pairs based on the number of interconnecting first neighbors.

https://github.com/fernandezfran/cluster-connections

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.5%) to scientific vocabulary

Keywords

clustering computational-physics
Last synced: 4 months ago · JSON representation

Repository

A clustering algorithm that classifies second nearest neighbor atom pairs based on the number of interconnecting first neighbors.

Basic Info
  • Host: GitHub
  • Owner: fernandezfran
  • License: mit
  • Language: C++
  • Default Branch: main
  • Homepage:
  • Size: 8.51 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
clustering computational-physics
Created over 3 years ago · Last pushed over 3 years ago

https://github.com/fernandezfran/cluster-connections/blob/main/

# cluster-connections

A clustering algorithm that classifies second nearest neighbor atom pairs based 
on the number of interconnecting first neighbors.

Some physical systems present a splitting of the second peak of the radial 
distribution function ([RDF](https://en.wikipedia.org/wiki/Radial_distribution_function)). 
This code can be used to analyze the causes of this splitting in terms of cluster 
connections. This is done by calculating the partial RDF of different categories, 
where each one is defined by the number of interact atoms in the first 
coordination shell of a central atom that interconnects it with its second 
interacting neighbors. This type of cluster analysis was performed and published 
in a [scientific article](https://doi.org/10.1039/D1CP02216D), and the idea is 
similar to the one presented in the work of [Ding et al.](https://doi.org/10.1038/srep17429)


## Requirements

You need a C++ compiler and an NVT molecular dynamics trajectory in 
[XYZ file format](https://en.wikipedia.org/wiki/XYZ_file_format).


## Usage

### Compilation

Compile the executable with make:
```bash
cd src/ 
make clean
make
```

### Execution

```bash
./cluster-connections < in.config
```

where in.config is a file with information in the following order, no comments
or extra lines:
```
file with the trajectory in xyz format
central atom type
interact atom type
box size in x, y, z direction
true if periodic boundary conditions must be considered
inner cutoff radius
outer cutoff radius
number of categories
number of bins in partial rdfs
```

For more details, check the [example](https://github.com/fernandezfran/cluster-connections/tree/main/example).


## License

[MIT License](https://github.com/fernandezfran/cluster-connections/blob/master/LICENSE)


## Contact

For errors, questions or suggestions, please contact at the following e-mail address:

Owner

  • Name: Francisco Fernandez
  • Login: fernandezfran
  • Kind: user
  • Location: Córdoba, Argentina
  • Company: FAMAF, UNC

Computational Physicist

GitHub Events

Total
Last Year