An open API service indexing awesome lists of open source software.

https://github.com/voltlabs-research/centrosymmetry-parameter

Calculates the centrosymmetry parameter (CSP) for each atom to detect point defects, surfaces, and dislocation cores. Useful for visualizing crystal defects in FCC and BCC metals.
https://github.com/voltlabs-research/centrosymmetry-parameter

lammps materials-science molecular-dynamics simulations

Last synced: 3 days ago
JSON representation

Calculates the centrosymmetry parameter (CSP) for each atom to detect point defects, surfaces, and dislocation cores. Useful for visualizing crystal defects in FCC and BCC metals.

Awesome Lists containing this project

README

          

# CentroSymmetryParameter

`CentroSymmetryParameter` computes centrosymmetry values for each atom.

## One-Command Install

```bash
curl -sSL https://raw.githubusercontent.com/VoltLabs-Research/CoreToolkit/main/scripts/install-plugin.sh | bash -s -- CentroSymmetryParameter
```

## Build from source

Requires [Conan 2.x](https://docs.conan.io/2/installation.html), CMake 3.20+, and a C++23 compiler (GCC 14+ or Clang 17+).

### Prerequisites

The following Conan packages must be available in your local cache:

- `coretoolkit/1.0.0` (from the `CoreToolkit` repository)

For each dependency, clone its repository and create the package:

```bash
conan create --build=missing -o "hwloc/*:shared=True"
```

### Build

From the root of this repository:

```bash
conan install . -of build --build=missing -o "hwloc/*:shared=True"
cmake --preset conan-release
cmake --build build/build/Release -j
```

### Run

```bash
./build/build/Release/centrosymmetry --help
```

### Package as Conan recipe

To make this plugin available as a Conan package for other projects:

```bash
conan create . --build=missing -o "hwloc/*:shared=True"
```

## CLI

Usage:

```bash
centrosymmetry [output_base] [options]
```

### Arguments

| Argument | Required | Description | Default |
| --- | --- | --- | --- |
| `` | Yes | Input LAMMPS dump file. | |
| `[output_base]` | No | Base path for output files. | derived from input |
| `--num_neighbors ` | No | Even number of neighbors, up to `32`. | `12` |
| `--mode ` | No | CSP evaluation mode. | `conventional` |
| `--threads ` | No | Maximum worker threads. | auto |
| `--help` | No | Print CLI help. | |