Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Periodic Builder: layer builder (stacked layers with interlayer ions and water) for all periodic codes

未关闭
#357 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
20/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
c, matlab
领域
desktop

调研方向

Start by reading the Periodic Builder implementation and the related issues #241, #262, and #181; the payload does not name source files or tests. Work out how the shared builder can accept layers, spacing or hydration, lateral shifts, and interlayer contents across supported codes. Done means the listed clay, layered double hydroxide, graphite, and layered oxide examples can be built and wrapped in the new cell.

由索引模型根据 Issue 内容生成。

描述

Agreed 2026-10-16 for 9.3.0. Build layered structures in the Builder's Periodic Builder, independent of the code, so they serve GROMACS, Quantum ESPRESSO and later CP2K.

Inputs:

  • a layer: the current structure, e.g. a unit cell made with Generate and replicated;
  • number of layers;
  • basal spacing d001, or a hydration state for clays (1W to 5W);
  • lateral shift between layers, e.g. a/3, b/3 for clays or AB stacking for graphite;
  • what goes between the layers: nothing, ions (type and count, or count from the layer charge, with a minimum distance), water (molecules per interlayer).
  • Everything is wrapped into the new cell.

Examples to cover: a 2-layer Na/Cu montmorillonite with 2-3 water layers (modelled on a MATLAB atom-toolbox buildsystem.m: layers at [a/3, b/3, d001], ions placed at random at least 3.5 Å apart, solvate each interlayer, wrap); a layered double hydroxide with interlayer anions; graphite (AB, no interlayer); LiCoO2-type layered oxides (Li between layers).

Force field is separate:

  • GROMACS: MINFF via atomipy in GROMACS Prepare's MINFF source (atomipy and min.ff bundled), types and charges for clays, oxides and hydroxides. Graphite and similar need another parameter set.
  • QE: no force field needed.

Related: #241 (MINFF), #262 (periodic molecules), #181 (battery electrodes).

主要语言
C
星标
10
派生
8
平均合并
21 分钟
30 天内合并 PR
1

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

FriendsofECCE/ECCE 的其他 Issue

查看 FriendsofECCE/ECCE 的全部 Issue

相似的 Issue

更多 C Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。