caps build
caps build SMILES -o OUT.mol2|OUT.pdb|OUT.xyz|OUT.data [--conformers 1] [--seed 1] [--ff FF.json] [--all]
a 3D molecule from SMILES; --ff cleans each conformer up with that force field (with typing rules)Command line · every command
Every caps command with its synopsis, as the program prints it. Commands marked --help print each option with its default and the reason for it; that text is reproduced in full. Shared conventions (units, files, seeds, exit codes) are in the CLI guide.
Molecules, chains, cells, crystals, surfaces and fillers.
caps buildcaps build SMILES -o OUT.mol2|OUT.pdb|OUT.xyz|OUT.data [--conformers 1] [--seed 1] [--ff FF.json] [--all]
a 3D molecule from SMILES; --ff cleans each conformer up with that force field (with typing rules)caps growcaps grow -o OUT.data|OUT.pdb|OUT.xyz|OUT.mol2|OUT.gro|OUT.cif [--chains 10] [--dp 8] [--density 0.5 | --box 33]
copolymers: --sequence terminal|markov|penultimate --weights FEED [--r1 R --r2 R | --reactivity 'r11,r12;r21,r22'
| --transition 'p11,p12;p21,p22' | --penultimate r1,r1p,r2,r2p] [--drift none|chains|along --conversion 0.8]
[--sequence-report OUT.json] composition, dyads, triads and run lengths, model against built
architecture: --architecture linear|star|comb|branched|dendrimer|graft [--arms 4] [--arm-dp 5] [--spacing 4]
[--branch-probability 0.1] [--generations 2]; graft: --graft-units 'SMILES,…' [--graft-dp 10] [--graft-on K]
[--graft-probability 0.1] [--graft-max N] [--graft-sequence KIND --graft-weights W] (graft site: the atom marked [CH:3])
[--tacticity atactic|isotactic|syndiotactic] [--seed 1] [--trans] [--scale 1.0]
[--units '*CC(*)c1ccccc1,*CC(*)(C)C(=O)OC' --sequence homopolymer|alternating|block|random|shuffled|gradient|pattern
--weights 0.7,0.3 --blocks 20,20 --pattern AAB --ff FF.json --method trials|rosenbluth|rosenbluth_lj
--threads N --lookahead 1] any repeat units (else polystyrene); several units and no --sequence:
alternating (random with --weights); gradient: A falls from the head to the tail, its share the first
weight, the other units in their weights' ratio; the contact scale is automatic
(lowered only where a chain is stuck) unless --scale fixes itcaps blendcaps blend --components SMILES1,SMILES2 [--weights 0.5,0.5] [--chains 8] [--dp 20] [--density 0.5] [--slabs | --droplet] -o OUTcaps crystalcaps crystal --group 'P 42/m n m' --cell a,b,c[,α,β,γ] --sites 'Ti1 Ti 0 0 0; O1 O 0.3048 0.3048 0' -o OUT
(OUT.cif keeps the space group and its asymmetric unit, P 1 once caps symmetry clears it;
OUT.vasp or POSCAR for VASP, .data, .pdb, .xyz … hold every atom)
[--supercell 2,2,2] [--primitive] [--symmetrize] [--tolerance 0.01] a crystal from a space group
caps crystal CRYSTAL.cif --find-symmetry [--tolerance 0.1] its space group and asymmetric unit
caps crystal --groups [QUERY] the 530 space-group settings (key, number, Hermann–Mauguin, Hall)caps surfacecaps surface CRYSTAL.cif -o OUT.data|mol2|pdb|xyz [--hkl 0,0,1] [--layers 3] [--termination 1] [--vacuum 15]
[--supercell 2,2] [--no-orthogonal] [--max-strain 2] [--passivate] [--list] a slab (terminations listed)caps interfacecaps interface CRYSTAL.cif|SLAB -o OUT --units SMILES[,…] [surface options] [--film 30] [--film-density 0.9]
[--chains N] [--dp 10] [--gap 1] [--vacuum 0] [--sequence …] [--ff FF] a polymer film on a surfacecaps nanotube [--n 10 --m 10 --length 25 --finite] | sheet [--lx 20 --ly 20 --layers 1 --flake] |
caps nano tube [--n 10 --m 10 --length 25 --finite] | sheet [--lx 20 --ly 20 --layers 1 --flake] |
particle CRYSTAL.cif [--shape sphere|cube|octahedron|cuboctahedron|truncated-octahedron|icosahedron|rod|cone|frustum|tetrahedron|pyramid|hemisphere|fibre
--radius 12 --height 24 --top-ratio 0.5 --length 20 --passivate --whole-molecules --hkl 0,0,1]
[--units SMILES --chains 10 --dp 20 --density 0.9] -o OUT fillers, alone or in a polymer matrixcaps poreslit [--width 10 --layers 1 --lx 26 --ly 22 --vacuum] | cylinder CRYSTAL.cif [--width 14 --wall 6 --length 20 --passivate] |
caps pore slit [--width 10 --layers 1 --lx 26 --ly 22 --vacuum] | cylinder CRYSTAL.cif [--width 14 --wall 6 --length 20 --passivate] |
framework CRYSTAL.cif [--supercell 2,2,2] [--fluid SMILES --count N --tolerance 2 --seed 1] -o OUT a fluid in a porecaps solvatecaps solvate [SOLUTE] -o OUT [--edge 30 | --box a,b,c | --padding 10] [--solvent water|toluene|…] [--model TIP4P/2005]
[--salt NaCl --conc 0.15 | --neutralise | --ions 3,6 | --no-ions] [--molecules N] [--tolerance 2] [--solvents]
solvent and ions packed around a solute (CAPS Pack)caps packpackmol-style input (structure … end structure)
caps pack INPUT.inp [-o OUT] [--threads N] [--quiet] packmol-style input (structure … end structure)caps editedits in order, atoms numbered from 1:
caps edit FILE --ops 'OP ARGS; OP ARGS …' | --ops-file OPS.txt -o OUT edits in order, atoms numbered from 1:
element SEL Sym · delete SEL · bond I J [order] · unbond I J · addh [SEL] · attach I SMILES ·
length I J Å · angle I J K ° · torsion I J K L ° · invert I · config I R|S · rotate SEL x,y,z ° ·
mirror SEL nx,ny,nz · move SEL dx,dy,dz · clean [SEL] · tacticity iso|syndio ·
rings: ring I J N [MEMBERS] [aromatic] · spiro I N [MEMBERS] · insert I J Sym ·
join I FILE [J|auto] [torsion°] (MEMBERS: new ring atoms, e.g. O or N,C=O,C,C) ·
crystals: supercell na nb nc · primitive · niggli · conventional · redefine m11 … m33 · vacuum Å ·
nanowire u v w radius [repeats] [cylinder|hexagonal|square] [vacuum] ·
SEL: 3,5-9 · all · element:C,N · smarts:PATTERN · type:LABEL (numbers after a delete shift)Types, charges and parameters; exports for LAMMPS, GROMACS and DL_POLY.
caps ffcaps ff complete FILE --ff FF.json [--overlay OV.json] -o OVERLAY.json [--report R.json] [--model M.model] [--step 15]
the bonded terms FF lacks for FILE, found and fitted with CAPS's machine-learned potential
caps ff import-lt FILE.lt -o FF.json convert a moltemplate force field into the CAPS format
caps ff info FF.json|NAME|uff types, rules, styles, references
caps ff overlays [FF_ID] the library's overlays (parameter refits) for --overlay
caps ff type FILE --ff FF.json|NAME|uff [--typing RULES.json] [-o TYPES.txt] [--explain] assign atom types from SMARTS rules (UFF: its own typer)
caps ff apply FILE --ff FF.json [-o OUT.data [--lammps-input OUT.in [--lammps-run check|minimize|nvt|npt --temp 300 --press 1 --dt FS (default: the force field's, Martini 20, else 0.5) --steps N] [--moltemplate SYSTEM.lt]]] [--gromacs STEM] [--dlpoly DIR] [--overlay USER.json[,MORE.json]] [--types TYPES.txt] [--charges auto|keep|types|gasteiger]
[--complete ml [--model M.model]] (terms the force field lacks fitted by CAPS ML, marked as such in every file)
[--lammps-style native|exact] [--hybrid] [--kspace auto|pppm|ewald|dsf|cut] [--kspace-accuracy 1e-4] [--lammps-cutoff Å] [--units auto|real|metal]
[--supercell auto|NA,NB,NC] copies of the cell first (a --types file names the cell's atoms); a cell too small for its bonds is refused without them (ff type types it on its copies)
[--list] [-o OUT.data] parameters for a structure whose atoms carry type names (or TYPES.txt)caps fieldthe structure's force field (below): types, terms, energy (and per-atom forces)
caps field FILE [--topology DATA] [--ff FF.json [--overlay OV.json] [--charges MODE]] [--cutoff Å] [--forces OUT.txt] the structure's force field (below): types, terms, energy (and per-atom forces)Minimisation, molecular dynamics, equilibration protocols, regrowth, crosslinking and recipes.
caps relaxcaps relax FILE -o OUT.data|OUT.pdb|OUT.xyz [--method lbfgs|cg|sd|fire] [--ftol 0.5] [--iterations 5000]
[--density 1.05] [--step 0.06] [--box-relax] [--pressure 1] [--no-pushoff] [--cutoff Å]
[--no-coulomb] [--ff FF.json [--overlay OV.json[,MORE.json]] [--charges auto|types|gasteiger|keep|qeq|increments] [--complete ml]] [--quiet]
(.data output carries the force field for LAMMPS; --quiet hides only the live progress line)
exit 3: OUT was written but the last minimisation stopped on --iterations before --ftol (not converged)
--restraints 'distance 1 2 3.0 20; angle 1 2 3 109.5; torsion 1 2 3 4 60:90 50; position 1-40 5 axes z radius 0.5'
or a file of them (relax, md, equilibrate; ff apply writes them into the LAMMPS and GROMACS files): ½ k Δ², flat between
LO:HI, atoms from 1, k kcal/mol/Ų or /rad² (defaults 10 and 50), 'ramp KEND' to change k over a run
without --ff (relax, md, equilibrate, field): the force field a data file CAPS wrote holds (its coefficients,
charges and 1-4 weights; refused when CAPS cannot rebuild it from the file), else GAFF (C and H) or UFF;
without --cutoff (relax, md, equilibrate): the force field's own cut-off, else 10 Åcaps mdcaps md FILE -o OUT.data [--steps 10000] [--dt 1] [--temp 300] [--thermostat bussi|langevin|nose-hoover|none]
[--tau-t 100] [--barostat none|crescale|berendsen|mtk] [--pressure 1] [--tau-p 1000]
[--constraints none|h-bonds|all-bonds] [--constraint-solver shake|lincs] [--hmr 3.024] [--seed 1] [--new-velocities] [--thermo 100] [--dump TRAJ.lammpstrj --every 1000]
[--log thermo.csv] [--cutoff Å] [--skin 1.5] [--threads N] [--no-coulomb] [--precision mixed|double] [--ff FF.json [--overlay OV.json] [--charges MODE] [--complete ml]] [--quiet]
[--checkpoint-every N [--checkpoint OUT.restart.data]] the full state every N steps
[--progress-file progress.jsonl] one JSON line per thermo row (default in a SLURM job)
caps md OUT.restart.data --resume --steps TOTAL -o OUT continues from a checkpoint with the first run's settings
(kept beside it in OUT.restart.settings.json; --dt, --constraints and --hmr cannot change on a resume)caps equilibratecaps equilibrate FILE -o OUT.data [--protocol larsen21|annealing|pushoff|PROTOCOL.txt] [--print-protocol]
[--tfinal 300] [--tmax 600] [--pfinal 1] [--pmax 49346] [--scale 1] (atm, K; --scale shortens every stage)
[--cycles 3] [--tlow 300] [--thigh 600] [--ramp 50] [--hold 50] (annealing, ps)
[--until-converged] [--block 20] [--max-blocks 20] [--dt 1] [--thermostat bussi|langevin|nose-hoover] [--tau-t 100]
(--until-converged exits 3 when --max-blocks run out before every check passes; OUT is still written)
[--barostat crescale|berendsen|mtk] [--tau-p 1000] [--seed 1] [--dump TRAJ.lammpstrj --every-ps 10] [--log thermo.csv]
[--precision mixed|double] [--constraints h-bonds] [--hmr 3.024] [--cutoff Å] [--ff FF.json [--overlay OV.json] [--charges MODE] [--complete ml]] [--quiet]
(mixed: pair terms in single precision
with SIMD, as GROMACS; --hmr: hydrogens at that mass, taken from their bonded atoms, for steps past 2 fs)caps cbmccaps cbmc FILE -o OUT.data [--moves 1000] [--trials 8] [--max-torsions 4] [--temp 300] [--cutoff 9] [--seed 1]
[--ff FF] [--no-coulomb] configurational-bias regrowth of chain ends (Siepmann & Frenkel)caps reactcaps react FILE -o OUT [--template NAME|FILE.txt ...] [--capture Å] [--per-cycle 10] [--cycles 100] [--target 1.0]
[--no-relax] [--relax-iterations 500] [--md-ps 0] [--during-md] [--temp 300] [--seed 1] [--cutoff Å] [--no-coulomb]
[--ff FF.json [--overlay OV.json] [--charges MODE] [--complete ml]] [--between-chains] [--crosslinks links|per-chain|density|mc|degree:VALUE]
[--sites-per-chain N] [--weights 2,1] [--auto-capture [--capture-max 8] [--capture-step 0.5]] [--keep-byproducts]
[--insert SMILES --count N] [--remove-unreacted] [--remove-pendant] [--only QUERY] [--summary NET.json] [--fa 2 --fb 4 --ratio 1] [--list-templates] [--quiet]caps runbuild → type → grow → relax → equilibrate →
caps run RECIPE.yaml|json [--seed N] [--threads N] [--out DIR] [--json] [--log thermo.csv] [--dump traj.lammpstrj] build → type → grow → relax → equilibrate →
md → analyze → export from one file (exit 0 ok · 2 input · 3 missing params · 4 failed run); an unknown
key in any stage is refused (exit 2); --dump: frames every frame_ps (or frame_every steps) of an md or
equilibrate stage, about 100 per stage that sets neither
caps run PIPELINE.yaml|json [--input 'runs/*/X.lammpstrj'] [--topology DATA] [--frame first|last] [--csv OUT] [--out DIR: the outputs: block] [--branch NAME]
a saved pipeline over many inputs: one row of attributes per input; the topology is
--topology, else the pipeline's source: topology:, else STEM.data next to each dumpMechanics, glass transition, elastic constants and interfaces.
caps tensilecaps tensile DATA -o OUT.data [--axis x|y|z|xyz] [--rate 1e-3] [--strain 0.2] [--temp 300] [--dt 1] [--equilibrate 20] [--pressure 1] [--tau-p 1000] [--fixed-lateral]
[--fit 0.02] [--seed 1] [--new-velocities] [--dump T.lammpstrj [--every 1000]] [--checkpoint-every N] [--resume-curve OUT.tensile-curve.json]
[--precision mixed|double] [--ff FF.json [--overlay OV.json] [--charges MODE] [--complete ml]] [--csv DIR]
runs --equilibrate ps of NPT (each axis at --pressure atm; 20 ps is 20000 steps at 1 fs) before the pull, so the box starts
stress-free; --equilibrate 0 skips it for a cell already equilibrated (--eq-ps is the same option)caps tgcaps tg --fit RUN [RUN ...] [--volume]
caps tg DATA -o OUT.data [--from 500 --to 200 --step 20 --ps 100] [--precision mixed|double] [--ff FF.json [--overlay OV.json] [--charges MODE] [--complete ml]] [--csv DIR] | caps tg --fit RUN [RUN ...] [--volume]caps elasticcaps elastic FILE [--topology DATA] [--method strain|fluct|fluct-run] [--configs N] [--strain 1e-4] [--temp T] [--ps 100] [--ff FF.json] [--json OUT]caps pullcaps pull FILE [--normal | --axis x|y|z] [--distance 10] [--rate 5] [--spring 10] [--temp 300] [--surface 1] [--csv OUT]
pull-out / debonding of a film from a held surface: interfacial shear strength, work of separationFiles, structure, trajectories and figures.
caps infocaps info FILE [--topology DATA]caps checkfile checks (counts, bonds, contacts, charges, cell)
caps check FILE [--topology DATA] [--report OUT.md] file checks (counts, bonds, contacts, charges, cell)caps contactssmallest distance between atoms of different molecules
caps contacts FILE [--tol 2.0] [--no-pbc] [--molecule-size N] smallest distance between atoms of different moleculescaps chainsbackbones and mean-square internal distances
caps chains FILE [--topology DATA] backbones and mean-square internal distancescaps shapeper-molecule Rg and shape
caps shape FILE [--topology DATA] per-molecule Rg and shapecaps rdfg(r) of a periodic cell (all images within
caps rdf FILE [--topology DATA] [--rmax 12] [--dr 0.2] [--pair C-C] [--inter] g(r) of a periodic cell (all images within
--rmax count, so it may pass half the cell); --pair takes element symbols or allcaps analyzecaps analyze FILE [--topology DATA] [--props density,rdf,sq,xray,neutron,rg,ree,cn,persistence,msd,diffusion,
relaxation,ced,delta,ffv,psd,crosslinks,entanglements] [--first N --last N --stride N] [--frame-ps X | --timestep-fs 1]
[--pair C-C --inter] [--qmax 25 --dq 0.02 --qdirect 4] [--probe 0] [--grid 0.4] [--ff FF.json] [--json OUT] [--csv DIR]
diffusion: [--fit 0.2:0.5] [--viscosity ETA (mPa·s) --temp T (Yeh–Hummer finite-size correction)]
interfaces (zprofile, adhesion, interaction, orientation): [--surface 1-3,7 (molecule ids; 1)] [--axis x|y|z (z)] [--zbin 0.5]
ir (infrared spectrum from the dipole): --temp T [--ir-max-ps 2] [--ir-max-wavenumber 4000]
adp (displacement parameters U, B; a profile of U_iso along --axis in --zbin bins)
pattern: --pattern '[#6][S:1][S:2][#6]' (2, 3 or 4 points by atom-map number; shared numbers: a centroid) [--pattern-bin W]
hbonds: [--hb-donors 'N O F'] [--hb-acceptors 'N O F S'] [--hb-criterion da|ha] [--hb-da 3.5] [--hb-ha Å]
[--hb-angle °] (da: ∠H–D···A at most, 30; ha: ∠D–H···A at least, 110) [--hb-between 'molecule 1 | molecule 2']caps framescaps frames FILE OUT.lammpstrj|dcd|xyz|pdb|gro|trr [--topology DATA] [--first N] [--last N] [--stride N] (read thinned)caps convertcaps convert FILE OUT.data|lmp|xyz|extxyz|pdb|mol2|car|gro|sdf|cif|vasp|POSCAR [--topology DATA] [--supercell auto|na,nb,nc] (.car: with its .mdf)
a crystal cell too small for its bonds is refused for a format with bonds: --supercell auto writes the copies that hold themcaps rendercaps render FILE -o OUT.png|OUT.svg [--topology DATA] [--frame N] [--size WxH]
[--bg dark|white|transparent] [--colour molecule|element|type|distance]
[--style ball|space|sticks|noh|backbone] [--yaw DEG] [--pitch DEG] [--zoom Z] [--no-cell] [--wrap]caps pipelinecaps pipeline FILE [--topology DATA] --steps STEPS.json|STEPS.yaml|'[…]' [--frame N] [--table NAME] [--particles EXPR] [--out DIR] [--branch NAME]
visualize pipeline on one frame: step status, attributes, a table as CSVProvenance, bundles and the validation suite.
caps provenancethe steps that produced FILE (FILE.provenance.json)
caps provenance FILE [--json | --bibtex | --methods] [--compare OTHER] the steps that produced FILE (FILE.provenance.json)caps bundlecaps bundle FILE [--topology DATA] --steps S.json [-o OUT.caps-bundle.zip] [--include-input] [--frame N]
a figure with its data, pipeline, provenance and hashes (and the input)caps reproducecheck every shipped file's sha256, rebuild the data from its input and pipeline, compare
caps reproduce BUNDLE.caps-bundle.zip check every shipped file's sha256, rebuild the data from its input and pipeline, comparecaps benchcaps bench [T1 T2 … | --all] [--repeats 3] [--quick] [--out DIR] [--samples DIR] [--cells DIR] [--reference polymers.json]
the built-in validation suite; T6/T7 measure the equilibrated cells in --cells (else CAPS_BENCH_CELLS,
else ~/.caps/bench/cells), one per material named by its reference id, against data/reference/polymers.jsonCAPS's own runs as batch jobs on a SLURM or PBS cluster, or a workstation over ssh.
caps jobyour host profile
caps job profile [--preset slurm|slurm-workspace|pbs|workstation] [--set key=value,…] your host profile
caps job new --title T --kind md [--input FILES] [--cpus N] [--time HH:MM:SS] [--submit] -- caps md …
caps job status|tail [-f]|poll|collect|cancel|resume DIR · caps job list · caps job new --array LIST.txtChemistry-aware mapping, bonded and non-bonded potentials, melts, entanglements, backmapping.
caps cgmap--helpusage: caps cgmap STRUCTURE [STRUCTURE …] (--preset ID | --rules FILE | --cut SMARTS --names N=SMARTS,… | --map FILE) [-o DIR] [--dump DUMP]
Chemistry-aware coarse-grained mapping: bonds cut by SMARTS (the fragments are the beads), fragment SMARTS, or an atom → bead list; beads named by rules (unknown fragments reported, never merged), at the centre of mass, centre of geometry or one atom. Several structures share one type list (bead, bond, angle, dihedral types numbered alike, so tables are shared). Writes per structure STEM.cg.data and STEM.map.json; with --dump maps a LAMMPS dump frame by frame (one frame in memory).
options (default · why):
--preset
a rule set from data/cg/mapping_rules.json (ester-cut: polyesters, B S A T beads)
--rules
a rule file: {"cut": [SMARTS …] | "beads": {NAME: SMARTS} | "explicit": [bead per atom], "names": {NAME: SMARTS}, "position", "strict"}
--cut
bond SMARTS, comma-separated: the bond between each pattern's first and last atoms is cut
--names
naming rules NAME=SMARTS, comma-separated, first match wins
--map
an existing map.json (the same atoms): used as it is
--position [com]
com (centre of mass), cog (centre of geometry) or atom:SMARTS (the first atom of its first match in the bead)
--no-strict [false]
name fragments no rule matches by their class (F1, F2 …) instead of stopping
--types
a shared type list (JSON: beads, bonds, angles, dihedrals); default: the union over the structures given, written to DIR/types.json
-o [.]
the output folder
--dump
a LAMMPS dump of the (single) structure: id plus xu yu zu, x y z (ix iy iz), or xs ys zs
--out-dump
the mapped dump (default DIR/STEM.cg.lammpstrj)
--stride [1]
every n-th frame of the dump
--first [1]
the first frame kept (1-based)
--last
the last frame kept (1-based; default: the end)
--json
machine-readable output
examples:
caps cgmap PBS/system.data PBSA/system.data PBAT/system.data --preset ester-cut -o cg
caps cgmap system.data --map cg/system.map.json --types cg/types.json --dump hold.lammpstrj --stride 5 -o cgcaps cgfit--helpusage: caps cgfit bonded|refine|targets|ibi-start|ibi-step|ibi-run|fit|tg|calibrate|sample-chain … (see below)
Bonded coarse-grained potentials by tabulated Boltzmann inversion over many frames of many systems mapped alike: each MAP (STEM.map.json from cgmap) followed by its frames (CG dumps STEM.cg.lammpstrj or the single frame STEM.cg.data); each system's histograms normalised, then weighted. U(r) = −kT ln[P/r²], U(θ) = −kT ln[P/sin θ], U(φ) = −kT ln P, inverted only where P exceeds a share of its maximum, with slope-continuous walls outside. refine: one bonded IBI step from a CG run with the tables (U ← U + α kT ln(P_CG/P_target)), for the shift the non-bonded 1–3 and 1–4 terms cause.
Non-bonded: targets (per-pair g(r) per system from MAP FRAMES …); ibi-start (−kT ln g tables, LAMMPS decks and run_ibi.sh, the loop for a cluster); ibi-step (one joint update from each system's CG dump and log: MAP DUMP [LOG] …); ibi-run (the loop with CAPS's engine, small systems: MAP DATA …); fit (LJ 12-6, LJ 9-6, Morse or Mie fitted to the tables); tg (T_g from a cooling scan's T and density columns, whitespace or comma separated, a header line skipped); calibrate (the next σ and ε scale factors from the runs so far, with decks for them); sample-chain (isolated all-atom chains grown, typed and run by Langevin dynamics with no neighbours, each frame mapped — bonded distributions without an equilibrated melt, Fritz et al. 2009).
options (default · why):
--types
the shared type list (types.json from cgmap); default: the union of the maps given
-T [300]
temperature of the inversion (K): the AA run's
--weights
one weight per system, comma-separated (default: equal; each system is normalised, so frame counts do not weigh)
--stride [1]
every n-th frame of each dump
--threshold [0.05]
invert where the smoothed distribution exceeds this share of its maximum; walls outside
--smooth [1]
Gaussian smoothing of the histograms, σ in bins (1: the round trip on an ideal chain stays within 0.06 kT)
--bin-bond [0.02]
bond histogram bin (Å)
--bin-angle [1]
angle histogram bin (degrees)
--bin-dihedral [5]
dihedral histogram bin (degrees)
--bond-wall [20]
curvature of the bond walls, kcal/mol/Ų (at least the well's)
--angle-wall [0.005]
curvature of the angle walls, kcal/mol/deg²
--aat [1,170,180]
dihedral_style table/cut switch K, θ1, θ2: the dihedral turns off as a neighbouring angle goes from θ1 to θ2
--tables
refine: the bonded.json of the tables the CG run used
--alpha [0.5]
refine: damping of the update
--rmax [15]
targets: g(r) range (Å; cut to half the narrowest box width, with a note)
--dr [0.05]
targets: g(r) bin (Å)
--exclude [3]
targets: bead pairs fewer than this many bonds apart left out (3: 1-2 and 1-3, special_bonds lj 0 0 1); stored in targets.json and used by ibi-*
--pressure [1]
targets: each system's AA pressure (atm, comma-separated): the IBI pressure target
--targets
ibi-*: the targets.json
--pairs
ibi-step / fit: the pairs.json of the current tables
--bonded
ibi-start / ibi-run: the bonded folder (bonded.in, bonded.json)
--rc [15]
ibi-start: the tables' cut-off (Å)
--pcorr [virial]
ibi-*: the pressure correction ΔU = A (1 − r/rc): virial (A from the pressure error and the virial) | ramp (fixed size) | off
--gain [0.5]
ibi-* --pcorr virial: the fraction of the pressure error removed per iteration
--ramp [0.1]
ibi-* --pcorr ramp: A = −ramp kT sign(ΔP) min(1, 0.0003|ΔP|/bar) (0: off)
--iterations [3]
ibi-run: iterations with CAPS's engine
--steps [2000]
ibi-run: steps per iteration (CAPS's engine; keep runs short on a laptop) / the decks' production steps (ibi-start, calibrate: 500000) / sample-chain: steps per chain (20000)
--dt [10]
time step of the runs (fs; sample-chain: 1, an all-atom run)
--form [lj126]
fit: lj126, lj96, morse or mie
--repulsion [4]
fit: the fitted range starts where U falls below this many kT
--fits
calibrate: the fits.json to scale
--history
calibrate: calibration.json (the runs so far; created when missing)
--s-sigma [1]
calibrate: the σ scale factor of the run being reported
--s-eps [1]
calibrate: the ε scale factor of the run being reported
--density
calibrate: that run's density (g/cm³)
--tg
calibrate: that run's T_g (K), e.g. from caps cgfit tg
--target-density
calibrate: the AA (or experimental) density, g/cm³
--target-tg
calibrate: the AA (or experimental) T_g, K
--t-hi [500]
decks: the cooling scan's start (K)
--t-lo [150]
decks: the cooling scan's end (K)
--t-step [25]
decks: the cooling scan's step (K)
--units
sample-chain: repeat-unit SMILES with two *, comma-separated (several: alternating, or --sequence)
--forcefield [oplsaa2024]
sample-chain: the all-atom force field
--chains [1]
sample-chain: independent chains (each grown and run on its own)
--frame-every [200]
sample-chain: steps between mapped frames
--equilibrate
sample-chain: steps before frames are kept (default a fifth of the run)
--screening [vacuum]
sample-chain: vacuum (Coulomb within the cut-off) or off (no Coulomb)
--tacticity [atactic]
sample-chain: atactic, isotactic or syndiotactic
--tail-cap
sample-chain: the chain's tail end group (SMILES with one *)
--damp [1000]
sample-chain: the Langevin damping time (fs)
--cutoff [15]
sample-chain: the interaction cut-off (Å)
--dp [10]
sample-chain: repeat units per chain
--seed [1]
sample-chain: random seed (growth and Langevin; chain k uses seed + k)
--sequence [alternating]
sample-chain: the sequence of several --units
--preset
sample-chain: the mapping, a rule set from data/cg/mapping_rules.json (ester-cut: polyesters, B S A T beads)
--rules
sample-chain: the mapping as a rule file (as caps cgmap --rules)
--cut
sample-chain: bond SMARTS, comma-separated: the bond between each pattern's first and last atoms is cut
--names
sample-chain: naming rules NAME=SMARTS, comma-separated, first match wins
--position [com]
sample-chain: com (centre of mass), cog (centre of geometry) or atom:SMARTS
--no-strict [false]
sample-chain: name fragments no rule matches by their class (F1, F2 …) instead of stopping
--table-dr [0.05]
ibi-*: the pair tables' spacing (Å)
-o [bonded]
the output folder
--json
machine-readable output
examples:
caps cgfit bonded cg/PBS.map.json cg/PBS.cg.lammpstrj cg/PBSA.map.json cg/PBSA.cg.lammpstrj cg/PBAT.map.json cg/PBAT.cg.lammpstrj --types cg/types.json -T 300 -o bonded
caps cgfit refine cg/PBS.map.json run1/cg.lammpstrj --tables bonded/bonded.json --types cg/types.json -o bonded_it2
caps cgfit targets cg/PBS.map.json cg/PBS.cg.lammpstrj cg/PBAT.map.json cg/PBAT.cg.lammpstrj --types cg/types.json -T 300 -o ibi
caps cgfit ibi-start --targets ibi/targets.json --bonded bonded --types cg/types.json -o ibi (then: bash ibi/run_ibi.sh 20)
caps cgfit ibi-step cg/PBS.map.json ibi/it000/PBS.lammpstrj ibi/it000/PBS.log … --targets ibi/targets.json --pairs ibi/it000/pairs.json -o ibi/it001
caps cgfit fit --pairs ibi/it020/pairs.json --form lj126 --types cg/types.json -o lj
caps cgfit calibrate --fits lj/fits.json --history calib/calibration.json --s-sigma 1 --s-eps 1 --density 1.31 --tg 365 --target-density 1.25 --target-tg 241 -o calib/step1caps cgbuild--helpusage: caps cgbuild --units BS=B+S,BA=B+A --composition BS:0.8,BA:0.2 --dp 400 --chains 200 --density 1.25 --bonded DIR --maps MAPS -o DIR [MAP FRAMES …]
A coarse-grained melt of repeat units (each a bead sequence) with real sequence statistics, the chains random walks drawn from the inverted bonded distributions (bonded.json), in a cubic box at the density; reports R_ee, L/R_ee (a warning when the box is smaller than the chains) and ⟨R²(n)⟩/n, compared with the all-atom model's when its maps and frames are given; writes STEM.cg.data, STEM.map.json and in.cg_equil (soft push-off, the model's pairs, hot anneal, NPT).
options (default · why):
--units
repeat units as NAME=BEAD+BEAD…, comma-separated (BS=B+S,BA=B+A,BT=B+T)
--composition
unit shares NAME:share (BS:0.8,BA:0.2); default equal
--sequence [bernoulli]
bernoulli, markov, block, gradient, alternating or pattern
--markov
markov: transitions FROM>TO:p, comma-separated (BA>BA:0.9,BA>BT:0.1,BT>BT:0.8,BT>BA:0.2)
--blocks
block: block lengths, cycling through the units (20,10)
--pattern
pattern: letters A, B, … for the units in order (AAB)
--dp [100]
repeat units per chain (the number average when lengths are drawn)
--chains [10]
chains
--lengths [monodisperse]
monodisperse, schulz-zimm, flory, poisson or log-normal
--pdi [1]
dispersity Đ of drawn lengths
--density [1.2]
g/cm³ (the box follows)
--bonded
the bonded folder (bonded.json): its distributions are drawn from
--maps
map.json files (comma-separated) for the bead masses (each kind's most common)
--masses
or the masses directly: B=88.1,S=84.07 (g/mol)
--types
the shared type list (types.json); default: the bonded folder's types.json, which numbers bonded.in (else the melt's kinds and terms)
--seed [1]
random seed (sequences, lengths, walks)
--stem [melt]
file names: STEM.cg.data, STEM.map.json
-T [300]
in.cg_equil: the final temperature (K)
--anneal-T [500]
in.cg_equil: the anneal temperature (K)
--dt [10]
in.cg_equil: time step (fs)
-o [melt]
the output folder
--json
machine-readable output
examples:
caps cgbuild --units BS=B+S,BA=B+A --composition BS:0.8,BA:0.2 --dp 400 --chains 200 --density 1.25 --bonded bonded --maps cg/PBSA.map.json --types cg/types.json -o melt_PBSA_400
caps cgbuild --units BA=B+A,BT=B+T --composition BA:0.56,BT:0.44 --lengths schulz-zimm --pdi 2 --dp 200 --chains 300 --density 1.26 --bonded bonded --maps cg/PBAT.map.json -o melt cg/PBAT.map.json cg/PBAT.cg.lammpstrjcaps ppa--helpusage: caps ppa MAP FRAMES [PPA_DUMP] [MAP FRAMES … for more chain lengths] [--method caps|z1|both|lammps] -o DIR
Entanglements of coarse-grained melts: primitive paths by CAPS's own PPA (ends held, intra-chain pairs off), by a LAMMPS PPA (--method lammps writes in.cg_ppa; give its dump after the frames to read it back) or by Z1+ (config.Z1 written, Z1+ run when found — $CAPS_Z1 or --z1 — and its shortest paths read); N_e by the classical and modified S-coil and S-kink estimators (Hoy, Foteinopoulou & Kröger 2009, Eqs. 4–7) per system, and by M-kink (13) and M-coil (15) over several chain lengths; M_e = N_e × the mean bead mass, Z = N / N_e, the tube step a_pp.
options (default · why):
--method [caps]
caps (CAPS's PPA), z1 (Z1+: kinks), both, or lammps (write in.cg_ppa for large systems)
--frame [last]
which frame of each system: last, or a number (1-based)
--sigma [0]
PPA bead diameter (Å; 0: the mean bond length / 0.97, as Kremer–Grest)
--z1
the Z1+ script (default $CAPS_Z1, else Z1+ on the PATH)
--max-steps [200000]
CAPS's PPA: minimisation steps at most (said when not converged)
-o [ppa]
the output folder
--json
machine-readable output
examples:
caps ppa cg/DP100.map.json eq/DP100.lammpstrj cg/DP200.map.json eq/DP200.lammpstrj --method both -o ppacaps mech--helpusage: caps mech decks --rates 1e-6,1e-7 --mode both -o tension | caps mech analyze STRESS_STRAIN.dat [MAP DUMP] -o DIR
Tension of coarse-grained melts. decks: LAMMPS inputs per mode (stress: lateral axes at P; volume: constant volume) and rate (1/fs), printing σ = −(P_zz − (P_xx+P_yy)/2) and its bond, angle, dihedral, pair and kinetic parts at even strain steps, with frames for the analysis, and run_tension.sh. analyze: modulus (0 → fit strain), yield, softening, the strain-hardening modulus G_R from σ against λ² − 1/λ (Hoy & Robbins 2006), the stress parts at the end; with the map and dump also ⟨P₂⟩(ε) of the bonds, the end-to-end anisotropy, the empty grid share (probe radius) and, with --z1, Z(ε).
options (default · why):
--rates [1e-6,1e-7]
decks: engineering strain rates, 1/fs (1e-6 /fs = 1e9 /s in CG time; map to AA time with cgdyn timemap)
--mode [both]
decks: stress, volume or both
--max-strain [3]
decks: final engineering strain
-T [300]
decks: temperature (K)
-P [1]
decks: lateral pressure in stress mode (atm)
--dt [10]
decks: time step (fs)
--frames [60]
decks: dumps at even strain steps
--fit-strain [0.02]
analyze: modulus fit range; needs 2 or more stress lines in it
--hardening-from
analyze: strain where the G_R fit starts (default: the softening minimum)
--probe [0]
analyze: probe radius for the empty share (Å; 0: skip)
--z1
analyze: the Z1+ script for Z(ε) on the frames
-o [tension]
the output folder
--json
machine-readable output
examples:
caps mech decks --rates 1e-6,1e-7,1e-8 --mode both --max-strain 3 -o tension
caps mech analyze tension/stress_1e-07.stress_strain.dat melt/melt.map.json tension/stress_1e-07.lammpstrj --probe 2.5 -o tension/analysiscaps cgdyn--helpusage: caps cgdyn MAP DUMP [--dt 10] -o DIR | caps cgdyn timemap AA.csv CG.csv
Chain dynamics from a CG (or mapped AA) trajectory: g₁ of the inner beads, g₂ about the chain's centre of mass, g₃ of the centres of mass, the bond and end-to-end autocorrelations, over all time origins at logarithmic lags; D from g₃, τ_R where the end-to-end correlation falls to 1/e, τ_e where g₁'s exponent falls below 3/8. timemap: the factor s with t_AA = s t_CG from two g₁ curves (the dynamics.csv files of the AA mapped run and the CG run of the same system).
options (default · why):
--dt
fs per timestep of the dump (the times are timestep × dt); required
--stride [1]
every n-th frame
-o [dynamics]
the output folder
--json
machine-readable output
examples:
caps cgdyn cg/DP25.map.json aa_mapped/DP25.cg.lammpstrj --dt 1 -o dyn_aa
caps cgdyn cg/DP25.map.json cgrun/DP25.lammpstrj --dt 10 -o dyn_cg
caps cgdyn timemap dyn_aa/dynamics.csv dyn_cg/dynamics.csvcaps backmap--helpusage: caps backmap REF_MAP REF_DATA --cg CG_MAP --frame CG_FRAME [--input REF.in] -o DIR | caps backmap check DATA
Coarse-grained beads back to all atoms, fragment per bead: a library from a reference all-atom cell (LAMMPS data with its force field) and its map.json — each bead class (kind and place: head, inner, tail) with conformers, and every bond, angle, dihedral and improper as a template over the classes of the beads it spans — placed on a CG configuration (each fragment's centre of mass on its bead, turned to its two chain neighbours), the cut bonds and the terms across them restored with their types and charges; writes the all-atom data, pair_coeffs.in and in.backmap (bonded only, soft-core push-off, the full force field from the reference input's style lines, a short NPT). check: bond lengths and angles against harmonic r0 and θ0.
options (default · why):
--cg
the CG system's map.json (from cgmap or cgbuild)
--frame
its positions: STEM.cg.data, a LAMMPS data file written by a CG run, or a dump (the last frame)
--input
the reference LAMMPS input (its pair_style, kspace_style, special_bonds, bond/angle/dihedral/improper_style lines)
--conformers [20]
instances of each bead class drawn from
--seed [1]
random choice of conformers
-T [300]
in.backmap: temperature (K)
-o [backmap]
the output folder
--json
machine-readable output
examples:
caps backmap cg/PBSA_DP-25-40.map.json PBSA/DP-25-40/system.data --cg melt/melt.map.json --frame melt/equil.data --input PBSA/DP-25-40/system.in -o backmap
caps backmap check backmap/relaxed.datacaps martinicaps martini FILE -o CG.data [--itp CG.itp] [--centre geometric|mass] Martini 3 small molecules mapped from
an all-atom structure (vermouth's mappings); water, ions and other molecules left out2D sheets, terminations, adsorption complexes and VASP case folders.
caps sheet--helpusage: caps sheet [--preset NAME | --from FILE] -o OUT
One 2D sheet: a preset from data/sheets/sheets.json (layer lists: element, stacking position, height), or ONE complete layer cut out of a bulk, stacked or MAX-type structure.
options (default · why):
--preset [Ti3C2]
a layer list from data/sheets/sheets.json (Ti3C2: Materials Project mp-1094034)
-a
in-plane lattice constant (Å); heights scale with it — a start for the DFT cell relaxation
--from
a CIF / POSCAR / any structure to cut one layer out of
--formula
the layer's composition up to a multiple (Ti3C2), so incomplete layers are skipped
--remove
elements taken out first (a MAX phase's A element: Al)
--index [0]
which complete layer, from the bottom
--gap [2.0]
Å along z that separates two layers
-o [sheet.vasp]
the output (POSCAR, CIF, PDB, XYZ, LAMMPS data … by extension)
--json
machine-readable output
examples:
caps sheet --preset Ti3C2 -o Ti3C2.vasp
caps sheet --from Ti3AlC2.cif --remove Al --formula Ti3C2 -o sheet.vaspcaps terminate--helpusage: caps terminate SHEET [--top O:0.5,OH:0.25,F:0.25] -o OUT
Terminations on both faces of a sheet: fcc/hcp hollows, top or bridge sites; height from the bond length h = √(d² − r²); mixed faces by fractions with a seed; the bottom face the same as the top unless --janus.
options (default · why):
--top [O]
species and fractions on the top face (O, OH, F, Cl, Br, I, S, Se, Te, NH, H; data/sheets/terminations.json)
--bottom
the bottom face with --janus
--janus [false]
different faces (a net dipole: the dipole correction is switched on)
--site [fcc]
fcc (above the third layer), hcp (above the second), top or bridge; one termination per surface atom on each (bridge: the bonds along a)
--site-bottom
the bottom face's site with --janus
--supercell [1x1]
in-plane repeat; a mixed face needs several sites (3x3)
--vacuum [20]
Å between periodic images, centred along z (< 15 Å warns, < 10 Å fails)
--seed [1]
the random arrangement of a mixed face (NumPy default_rng: the same on every platform)
--bond
overrides, e.g. O=2.05,OH=2.2,OH.tail=0.97 (Å)
--order [Ti,C,N,O,F,H]
species order of the POSCAR (the POTCAR order follows it)
--surface
the outer layer's element (default: the most common heavy element there)
-o [slab.vasp]
the output
--vasp-set
also write a VASP set (01_cell … 04_static) into this folder
--json
machine-readable output
examples:
caps terminate Ti3C2.vasp --top OH -o Ti3C2_OH.vasp
caps terminate Ti3C2.vasp --top O:0.5,OH:0.25,F:0.25 --supercell 3x3 --seed 1 -o mixed.vasp --vasp-set structures/Ti3C2_mixedcaps validate--helpusage: caps validate FILE [FILE …] [--expect Ti3C2O2]
PASS/FAIL report of a 2D slab: labels, composition × N, one complete sheet and its layers, fragments, floating atoms, vacuum, close contacts, isolated atoms, termination distances and coordination, O–H bonds, site classes, top/bottom asymmetry. Exit code 1 on FAIL.
options (default · why):
--expect
expected formula per cell, e.g. Ti3C2O2 (× N)
--core
the bare layer's formula, e.g. Ti3C2
--json
machine-readable output
examples:
caps validate structures/*/POSCAR --core Ti3C2
caps validate CONTCAR --expect Ti3C2O2H2 --jsoncaps adsorb-dft--helpusage: caps adsorb-dft SLAB [--smiles S | --molecule FILE] --out ROOT
A molecule on a slab for DFT: anchors by SMARTS, anchor-down / parallel / upright × azimuths (symmetry-equivalent ones marked), lowered to the contact limits, image distance checked; the trio slab/ molecule/ complex_* written with one settings set, then audited independently.
options (default · why):
--smiles [C/C=C/CCC(C#N)C/C=C/C]
the molecule (stereo kept), embedded and cleaned up with UFF
--molecule
a structure file instead of SMILES
--from-relaxed [false]
the slab is a relaxed CONTCAR: repeated by --supercell and re-centred
--supercell [1x1]
repeat of SLAB (with --from-relaxed: of the relaxed cell)
--modes
anchor:nitrile,anchor:vinyl,parallel,upright (default: every anchor found + parallel)
--azimuths [0,90,180,270]
degrees about z
--skip-equivalent [false]
leave out azimuths the outer layer's symmetry makes equivalent
--prescreen [0]
also the N lowest configurations of the force-field Adsorption Locator (UFF, simulated annealing) as complexes
--prescreen-steps [20000]
Monte Carlo steps per annealing cycle
--prescreen-cycles [3]
annealing cycles
--dmin [2.3]
Å, closest molecule–slab contact (any atoms)
--dheavy [3.0]
Å, closest heavy-atom contact
--vacuum [20]
Å
--force [false]
write complexes that fail their checks
--out [adsorption]
the set's folder
--pp-dir
your licensed PAW directory (POTCARs written into every folder)
--profile [slurm-workspace]
cluster profile (data/dft/clusters.json)
--kdens [45]
Å: N_i = ceil(kdens / |a_i|)
--json
machine-readable output
examples:
caps adsorb-dft structures/Ti3C2_OH/03_relax/CONTCAR --from-relaxed --supercell 5x5 --out adsorption/Ti3C2_OH_NBRcaps vasp-set--helpusage: caps vasp-set STRUCTURE --out DIR
One VASP case folder for a 2D slab (k 1 along c, c fixed in the cell stages) or, with --gamma, a molecule in a box: POSCAR (species grouped), INCAR.cell / .relax / .static with a reason per tag, KPOINTS, job.slurm (stages, resume, backup, watchdog, storage), make_potcar.sh, POTCAR from your PAW directory, the validation report (the 2D slab check; with --gamma the molecule-in-a-box check: close contacts, fragments, distance to the periodic images). A structure without a vacuum gap along c (a bulk crystal) is refused: use caps vasp-relax. Exit code 1 when the validation fails (the set is still written).
options (default · why):
--out
the case folder
--label
SYSTEM and the job name (default: the folder name)
--stages [slab]
slab (01_cell 02_cell2 03_relax 04_static), fixed (03_relax 04_static) or a comma list of those names in that order
--static-out [pot]
04_static outputs: none (energy + DOS), pot (+ LOCPOT), all (+ CHGCAR, AECCAR)
--encut
eV (default 1.3 × the largest ENMAX of the POTCARs, else of data/dft/enmax.json; 520 when an element is in neither)
--kdens [45]
Å
--ivdw [12]
D3-BJ
--ispin [1]
non-magnetic
--dipole [auto]
auto (when the faces differ), on, off (energy only, no LDIPOL)
--gamma [false]
Γ only (a molecule in a box): checked as a molecule, not as a slab
--force [false]
accept a set whose validation fails (exit code 0)
--pp-dir
your licensed PAW directory
--profile [slurm-workspace]
cluster profile
--json
machine-readable output
examples:
caps vasp-set Ti3C2_O.vasp --out structures/Ti3C2_O --pp-dir $PP_DIRcaps vasp-conv--helpusage: caps vasp-conv setup|collect CASE
ENCUT and k-mesh convergence single points from a case folder (conv_encut_*, conv_k_*), and the choice: the cheapest setting for which it AND every more expensive one pass (ENCUT: in-plane stress ≤ 1 kB and max force ≤ 0.01 eV/Å; k: E0 ≤ 1 meV/atom and stress ≤ 1 kB).
options (default · why):
--encuts [400,450,520,600,700,800]
eV
--kmeshes [6,9,12,15,18]
N × N × 1
--json
machine-readable output
examples:
caps vasp-conv setup structures/Ti3C2_O
caps vasp-conv collect structures/Ti3C2_O --jsoncaps vasp-scan--helpusage: caps vasp-scan make CASE LO HI STEP | fit CASE
In-plane lattice-constant scan (fixed-cell relaxations, ascan_<a>) and its fit: the parabola's minimum and Birch–Murnaghan (3rd order) on the cell volume. A cross-check of 01_cell, or its replacement on VASP < 6.4.
--json
machine-readable output
examples:
caps vasp-scan make structures/Ti3C2_O 2.98 3.18 0.04
caps vasp-scan fit structures/Ti3C2_Ocaps vasp-derived--helpusage: caps vasp-derived charge|cdd|freq|aimd CASE
Sets made from a finished run: charge (the complex's single point with CHGCAR, AECCAR, LOCPOT), cdd (slab part and molecule part at the frozen complex geometry: same cell, k-mesh, ENCUT → same FFT grid), freq (partial Hessian, IBRION 5, the nitrile group freed), aimd (CSVR NVT, H as deuterium, 1 fs, segments of NSW steps).
options (default · why):
--pp-dir
PAW directory (cdd, aimd)
--free
freq: 0-based atoms to free (default: the nitrile N, C, α-C and its H)
--temperature [300]
aimd, K
--nsw [1000]
aimd steps (fs) per segment
--segments [6]
aimd: 1 equilibration + 5 production
--out
aimd folder
--profile [slurm-workspace]
cluster profile
--json
machine-readable output
examples:
caps vasp-derived charge adsorption/Ti3C2_OH_NBR/complex_nitrile_down_az0
caps vasp-derived aimd complex_X/03_relax/CONTCAR --out aimd/Ti3C2_OH_bestcaps vasp-jobs--helpusage: caps vasp-jobs submit|update|reset|cleanup|store …
Job tools: submit (folders whose last stage is not DONE and that are not queued; --run calls sbatch), update (rewrite job.slurm from the profile, keeping name, ranks, time, stages, hang), reset CASE STAGE (renames the real stage folder <stage>_bad), cleanup ROOT (only finished stages; --keep-best), store ROOT PATH (stage folders to long-term storage with links, writes .store). Dry runs unless --yes.
options (default · why):
--yes [false]
really do it (cleanup, store)
--keep-best [false]
cleanup: also the charge files of all but the best complex of each set
--run [false]
submit: call sbatch
--profile [slurm-workspace]
update: the profile to write
--json
machine-readable output
examples:
caps vasp-jobs submit adsorption/Ti3C2_OH_NBR/*
caps vasp-jobs cleanup . --keep-best --yescaps vasp-check--helpusage: caps vasp-check CASE|STAGE …
Finished? converged? SCF failures, ionic steps, final E0, max force, magnetisation, warnings, the lattice change of the cell stages (02_cell2 < 0.002 Å), the CONTCAR re-validated.
options (default · why):
--complex [false]
an adsorption complex (no slab re-validation)
--json
machine-readable output
examples:
caps vasp-check structures/Ti3C2_Ocaps vasp-progress--helpusage: caps vasp-progress CASE …
Stages done and running, live files in the workspace, steps, last energies, max force against 0.01 eV/Å, time per step, ETA from a log(fmax) fit.
--json
machine-readable output
examples:
caps vasp-progress structures/*caps vasp-health--helpusage: caps vasp-health SET
Every complex of an adsorption set against E_ref = E(slab) + E(molecule): ENERGY, JUMP, DIPOLE, SCF, GEOM, HANG — each with what to do. Exit code 1 when anything is flagged.
--json
machine-readable output
examples:
caps vasp-health adsorption/Ti3C2_OH_NBRcaps vasp-bind--helpusage: caps vasp-bind SET
E_bind = E0(complex) − E0(slab) − E0(molecule) from 04_static, eV and kJ/mol, ranked; settings compared across the trio; binding_energies.csv.
--json
machine-readable output
examples:
caps vasp-bind adsorption/Ti3C2_OH_NBRcaps vasp-analyze--helpusage: caps vasp-analyze geom|wf|dos|cdd|bader|freq|md|summary …
geom COMPLEX… (heights, anchor distance, H-bonds, contacts, tilt) · wf STAGE [--reference STAGE] (work function, Δφ) · dos STAGE (grouped DOS, DOS(E_F), HOMO/LUMO-like peaks) · cdd COMPLEX (Δρ, CHGCAR_diff, ΔQ) · bader SLAB_POSCAR COMPLEX_POSCAR ACF.dat [POTCAR] · freq COMPLEX (ν(C≡N) shift) · md AIMD (stability verdict) · summary MAIN (results_summary.csv).
options (default · why):
--reference
wf: the slab-alone stage for Δφ
--equil-ps [1.0]
md: equilibration cut
--dt-fs [1.0]
md: time step
--json
machine-readable output
examples:
caps vasp-analyze geom adsorption/Ti3C2_OH_NBR/complex_*
caps vasp-analyze summary ~/mxenecaps adpcaps adp TRAJ [--topology DATA] [--first N] [--last N] [--stride N] [--supercell 2,2,2] [--probability 0.5] [--no-drift]
[--csv OUT] [--cif OUT.cif] atomic displacement tensors U_ij, U_iso and B per atom (per site of a supercell)caps cellrelaxcaps cellrelax FILE -o OUT [--hold c,beta] [--pressure 0] [--ftol 0.01] [--steps 3000] [--cutoff 10] [--ff FF.json]
the cell and atoms relaxed with chosen lattice parameters held (a b c alpha beta gamma)caps cifcaps cif FILE.cif [--disorder major|group|random] [--group LABEL] [--supercell 4,4,4] [--seed 1] [-o OUT] [--json OUT]
disorder groups, mixed and split sites, vacancies: the major group, a named group, or a supercell filled at randomcaps copolymercaps copolymer --feed 0.3,0.3,0.4 (--r1 R --r2 R | --reactivity 'r11,r12,r13;…' | --transition '…' | --penultimate r1,r1p,r2,r2p)
[--conversion 0.9 [--points 21]] [--csv OUT.csv] [--json OUT] copolymer model: composition, dyads, triads, runs, driftcaps dataa measured curve (columns, .xrdml, GSAS, .uxd, Rigaku, JCAMP-DX) or a .cube grid
caps data FILE [-o OUT.csv|.npy (a curve) | OUT.cube|.vtk|.npy (a .cube grid)] [--json OUT] a measured curve (columns, .xrdml, GSAS, .uxd, Rigaku, JCAMP-DX) or a .cube gridcaps dendrimercaps dendrimer -o OUT [--preset pamam|ppi|bismpa --generation G] [--core SMILES] [--unit SMILES] [--end SMILES]
[--focal SMILES] [--shells 2] [--growth perfect|sma|flory --units 30 --seed 1] [--no-relax]
AB_n units with sites [*:1] (A) and [*:2] (B); prints units per shell and the degree of branchingcaps dielectriccaps dielectric CRYSTAL [--ff FF.json] [--cutoff 10] [--no-relax] [--fixed-cell] [--no-piezo] [--damping 10] [--csv STEM] [--json OUT]
dielectric tensors (static, high-frequency), refractive indices, piezoelectric e and d, reflectivitycaps domainscaps domains FILE [--group QUERY] [--grid 0.8] [--sigma 1.5] [--threshold ρ | the mean] [--below] [--min-voxels 1]
[--csv OUT] [--cube OUT.cube] [--slice 'px,py,pz; ux,uy,uz; vx,vy,vz; w,h; nx,ny' [--slice-csv OUT]]
domains of a group's density field: volumes, radii, ellipsoid axes, percolation, spacing; slices on any planecaps dpdcaps dpd --molecules 'AAAABBBB:300@shell:in; C:9000' [--regions 'core droplet r=3 prio=2; shell shell r=5 in=3 prio=1'] [--box 16]
[--chi AB=25] [--density 3] [--steps 20000] [--equilibration STEPS/4] [--every STEPS/40] [--seed 1] [--spec SPEC.json] [-o OUT.xyz] [--json OUT]
dissipative particle dynamics; a sequence is bead letters A-Z with optional counts (A4B4 = AAAABBBB), branches in parentheses;
regions (droplet, rod, slab, shell, tube; c=fx,fy,fz r= in= t= axis= prio=) compose the start;
frames write bead types as elements A=C, B=O, C=N, D=S, others P (select them with 'element O' in domains, analyze)caps enumeratecaps enumerate CRYSTAL --from Cu --to Au [--count 1] [--supercell 2,2,2] [--max-configurations 200000] [--write DIR]
the symmetry-distinct occupations of a sublattice by COUNT substituents, with orbit sizescaps exchangecaps exchange modulus PTENSOR --cell-volume A3 --temp K --dt FS [--fit PS] [--g-inf MPa] [--corr-ps PS]
caps exchange arrhenius TABLE [TABLE2] [--reduced] [--from T --to T] | caps exchange modulus PTENSOR --cell-volume A3 --temp K --dt FS [--fit PS] [--g-inf MPa] [--corr-ps PS]
| caps exchange memory PARTNERS --frame-ps PS | caps exchange bridges START NOW [--axis z] [--plane 0.5] [--bin 1]
| caps exchange heal HEALED INTACT [--modulus-strain 0.03] [--at-strain E] [--up-to E] [--json OUT] [--csv DIR] (bond exchange and healing)
| caps exchange list | caps exchange show CHEMISTRY (exchange chemistries and their barriers, data/exchange)
| caps exchange run DATA -o OUT [--chemistry ID] --kind swap|shift|bind [--sites SEL] [--partners SEL] [--labels chain|ends] [--capture 1.3]
[--barrier E] [--binding E] [--valence N[,M]] [--relax 1000 [--relax-depth 3]] [--every 10] [--attempts 1] [--steps 10000] [--temp 300] [--dt FS (default: the force field's own step, 0.49 with --kg; else 1)] [--kg [--k-theta K] | --ff FF.json]
| caps exchange bond-react DATA -o STEM --chemistry ID [--temp 300] [--t-ref T] [--steps N] [--ff FF.json] (LAMMPS fix bond/react)
| caps exchange bond-swap DATA -o STEM [--sites SEL] [--stickers | --both-ends] [--every 50] [--fraction 0.5] [--cutoff 1.3] [--seed 1] [--steps N] [--k-theta K]
| caps exchange cut|gap|crack|fragment DATA -o OUT [--axis z] [--plane 0.5] [--gap A] [--radius A [--centre x,y,z]] [--axes xyz] (healing-test starts)
| caps exchange step-strain DATA --strain E --ps PS [--sample 10] | tv DATA --from T --to T --step T --ps PS [--pressure 1]
| caps exchange heal-run DATA --ps PS [--start START] [--axis z] [--plane 0.5] [--chunks 10] [--npt]
(with the moves and field options of run, or --no-exchange; [-o OUT] [--json OUT] [--csv DIR])caps fieldscaps fields --molecules 'A8B8:1; A8:0.5' [--chi AB=0.9] [--grid 32,32,32 (nz 1: 2D)] [--bond 1.1543] [--kappa 10] [--noise 75] [--dt 0.02]
[--steps 2000] [--every 100] [--seed 1] [--vtk OUT.vtk] [--csv OUT.csv] density-field dynamics of Gaussian chains (blends, block copolymers)caps fitcaps fit SPEC.json [--ff FF.json] [--relaxed | --conventional] [--iterations 50] [--out FITTED.json] [--json REPORT.json]
force-field parameters fitted to crystal structures, lattice energies and elastic constants (the spec lists them)caps graftcaps graft FILE --units 'SMILES,…' --sites 12,40 [--equivalent] [--probability 1] [--per-site 1] [--max N] [--min-spacing Å]
[--dp 10] [--sequence KIND --weights W] [--padding Å] [--seed 1] -o OUT chains grown from chosen atoms (from 1)caps habitcaps habit CRYSTAL [--ff FF.json] [--max-index 3] [--min-d Å] [--attachment] [--surface-energy] [--forms 12] [--particle RADIUS_Å --model bfdh|growth|equilibrium --out P.pdb]
[--shape-obj SHAPE.obj] [--json OUT] crystal habit: BFDH faces, attachment and surface energies, Wulff shapes, a particle in that shapecaps indexcaps index DATA.xy [--wavelength 1.54056] [--tolerance 0.03] [--systems cubic,tetragonal,hexagonal,orthorhombic,monoclinic] [--max-length 20]
[--lines 20] [--unindexed 0] [--max-boxes 20000000] [--json OUT] cells that index the pattern's lines (successive
dichotomy), by M20; a cell that indexes every line with M20 100 or more ends the search of lower symmetriescaps mlenergy (eV) and forces (eV/A) of a molecule from CAPS's
caps ml eval FILE [--model M.model] [--json OUT.json] energy (eV) and forces (eV/A) of a molecule from CAPS's
machine-learned potential (data/ml/caps-mace-v1.model; a build with -DCAPS_WITH_TORCH=ON)
caps ml relax JOBS.json -o OUT.json [--model M.model] constrained relaxations (bonds / angles / dihedrals held)caps pathcaps path A B -o PATH.xyz [--no-match] [--method idpp|lst|linear] [--images 7] [--neb [--ff FF.json [--overlay OV.json] [--charges auto|types|gasteiger|keep|qeq|increments]]
[--cutoff 10] [--no-coulomb] [--relax-ends] [--spring 5] [--fmax 0.05] [--no-climb] [--steps 2000]]
atoms of B matched to A, the images between them, and the climbing-image NEB barrier with the force fieldcaps phono3py--helpusage: caps phono3py setup|estimate CRYSTAL --out DIR | check DIR | analyze DIR
Lattice thermal conductivity with VASP + phono3py (the group guide, ch. 7–8). setup writes POSCAR-unitcell, the single-point INCAR, the supercell KPOINTS and run_step1.sh … run_step7.sh (displacements; fc3 / fc2 job arrays with the vasprun.xml check and restart; check and quota cleanup; FORCES_FC3 / FORCES_FC2; fc3.hdf5 / fc2.hdf5; κ), run_dryrun.sh (a few supercells through the whole chain before any array; sets the arrays' time limits), cleanup.sh and analyze_kappa.py; estimate prints the supercells, the number of displaced supercells (phono3py's own counting rules) and the core-hours, writing nothing. CRYSTAL is a file, a crystal of data/crystals, or a vasp-relax folder (its POSCAR-unitcell and relax4's ENCUT). check counts the finished supercells; analyze reads kappa-m*.hdf5 (through analyze_kappa.py and h5py) or its extract: the κ tensor, along the chain against across, cumulative κ against frequency and mean free path, lifetimes, group velocities; a 2D sheet's κ is rescaled by the cell height over --thickness and its sheet conductance given.
options (default · why):
--out
setup: the set's folder (with --mode both: full/ and random/ inside)
--label
job names (default: the folder name)
--dimensionality
3d or 2d: supercells, k- and q-meshes 1 along c; without it a structure with a vacuum gap is refused
--dipole [auto]
2d: auto (when polar), on, off
--thickness
2d: the sheet's effective thickness in Å (e.g. the bulk parent's interlayer distance) for κ of the sheet
--mode [auto]
full (every symmetry-distinct displacement), random (--rd N fitted by symfc), both, auto (random above 3000 fc3 supercells)
--rd
random fc3 supercells: a number or auto (phono3py's own estimate; default: a tenth of the full set, at least 50)
--random-seed [1]
for --rd
--cutoff-pair
Å, full set: leave out pairs farther apart (phono3py --cutoff-pair; fewer supercells, less accurate)
--dim
fc3 supercell, e.g. 2,2,4 (default: at least --fc3-length Å along each axis)
--dim-fc2
fc2 supercell (default: at least --fc2-length Å)
--fc3-length [10]
Å, the fc3 supercell rule (cell heights, 5 % short accepted)
--fc2-length [15]
Å, the fc2 supercell rule
--kdens [50]
Å, the supercells' k-meshes
--mesh
q-mesh for κ (default: 74 Å / |a_i| across, 405 Å / |a_i| along the chain: the guide's PE 160 15 10)
--chain-axis [auto]
auto (from the bonds), a, b, c or none
--ts [100,200,300,400]
temperatures (K), one κ run
--method [br]
br (relaxation-time approximation) or lbte (direct solution)
--encut
eV (default: relax4's from the vasp-relax folder, else about 2 × ENMAX)
--dry-run [2]
fc3 supercells in run_dryrun.sh (plus one fc2)
--array-limit
at most N array tasks at once (%N)
--pp-dir
your licensed PAW directory
--profile [tud-barnard]
cluster profile
--account
Slurm account
--hdf5
analyze: the kappa-m*.hdf5 (default: the newest in DIR)
--python
analyze: the Python with h5py (default: $CAPS_PYTHON, else python3)
--json
machine-readable output
examples:
caps phono3py estimate pe-orthorhombic
caps phono3py setup PE_relax --mode both --out PE_kappa --account p_yourproject
caps phono3py check PE_kappa/full
caps phono3py analyze PE_kappa/fullcaps phononscaps phonons CRYSTAL [--ff FF.json] [--cutoff Å] [--supercell n1,n2,n3] [--mesh m1,m2,m3] [--path 'G 0 0 0; X 0.5 0 0; …'] [--displacement 0.01]
[--sigma 5 (cm⁻¹)] [--temps 100,300] [--csv STEM] [--json OUT] force-field phonons: dispersion, DOS, harmonic thermodynamics, sound speeds
(CRYSTAL for phonons, qha and dielectric: a file, or a library crystal by id or file name: silicon, pe-orthorhombic.cif)caps planeslattice planes (hkl) of the cell: d-spacing,
caps planes FILE --hkl h,k,l [--shift 0] [--max N] [--json OUT] lattice planes (hkl) of the cell: d-spacing,
normal, each plane cut to the cell, and the view angles that look down the normal
(--shift in units of d, 0 through the origin; planes on the cell's faces are not listed)caps pointgroupthe molecule's point group and symmetry elements;
caps pointgroup FILE [--tolerance 0.1] [--symmetrize -o OUT] the molecule's point group and symmetry elements;
--symmetrize makes it exactly symmetriccaps porescaps pores FILE [--probe 1.4] [--grid 0.25] [--samples 2000] [--radii bondi|uff] [--json OUT] [--cube FIELD.cube]
channels and pockets, LCD, PLD per axis, accessible volume and surface (per cell, m²/cm³, m²/g)caps powdercaps powder FILE [--topology DATA] [--anode Cu|Mo|Co|Fe|Cr|Ag | --wavelength Å] [--no-kalpha2] [--neutron] [--two-theta 5:90] [--step 0.02]
[--profile tch|pseudo-voigt|gaussian|lorentzian] [--uvw U,V,W] [--xy X,Y] [--size Å | --size-abc La,Lb,Lc] [--strain ε] [--biso B]
[--preferred h,k,l --march r] [--zero °] [--monochromator 2θ°] [--polarised] [--first N --last N --stride N] [--peaks 20] [--csv OUT] [--json OUT]
the powder pattern of the cell (its reciprocal lattice, frames averaged): reflections with hkl, d, 2θ, multiplicity, |F|, Icaps qeqcaps qeq FILE [--kernel ohno|slater|point] [--ewald|--no-ewald] [--accuracy 1e-7] [--lambda 0.4913] [--hydrogen] [--bounds 'O:-1.2:0,Si:0:2.4']
[--cutoff 10] [--total 0] [--chg OUT.chg] [-o OUT.data|mol2|car] charge equilibration (shielded Coulomb: the Slater ns densities by
default, or Ohno–Klopman; Ewald by default for cells
periodic along a, b and c unless the cell is too large for it to be quick; --ewald always, --no-ewald never:
the tapered kernel summed over the images within the cut-off); charges that did not converge exit 1 and are not
written unless [--allow-unconverged]caps qhacaps qha CRYSTAL [--mode volume|axes] [--lock c] [--range 0.02] [--points 7] [--temps 0,100,200,298.15,400] [--pressure 0]
[--no-relax-cell] [--ff FF.json] [--cutoff 10] [--supercell n,n,n] [--mesh m,m,m] [--csv OUT]
quasi-harmonic free energy: phonons at strained cells, the cell, α, B_T, C_v, C_p and S at each temperature
(--points: cells on the volume grid, at least 4, volume mode only; the axes mode uses a fixed grid of the
centre, 4 cells per free axis, 4 per pair of free axes and, with a, b and c all free, 4 along the diagonal: 29)caps qsprmolecular descriptors (graph, shape, charged surface areas)
caps qspr descriptors [FILE ...] [--smiles 'CCO;CC(C)O'] [--csv OUT] molecular descriptors (graph, shape, charged surface areas)
caps qspr model TABLE.csv --y COL [--x A,B,…] [--method mlr|pls|gfa|nn] [--stepwise --squares --products] [--components N] [--hidden 4]
[--folds K] [--randomise N] [--seed 1] [--json OUT] a model of y with cross-validation, y-randomisation and outliers
caps qspr cluster TABLE.csv [--x …] [--method ward|average|complete|single|kmeans] [--k 3] [--no-scale] clusters of the rows
caps qspr lda TABLE.csv --class COL [--x …] Fisher's discriminant analysis of the rows' classescaps refinecaps refine DATA.xy CRYSTAL [CRYSTAL …] [--pawley] [--anode Cu | --wavelength Å] [--neutron] [--background 6] [--two-theta 10,90]
[--refine U,W,Y,zero] [--b-iso] [--preferred h,k,l] [--iterations 50] [--csv OUT] [--json OUT] Rietveld or Pawley fit of a measured patterncaps reporta problem report for support@caps-studio.org (version, system, the last failed command;
caps report [--email] a problem report for support@caps-studio.org (version, system, the last failed command;
a wrong argument is not kept)caps semicrystallinecaps semicrystalline -o OUT.data [--polymer pe|pvdf-beta|ipp-alpha|nylon6-alpha|pet|...|CELL.cif | --polymer list]
[--repeats 4,6] [--crystal 7.6 (nm) | --crystal-cells 30] [--amorphous 7.6 (nm)] [--loops 0.35 --bridges 0.1 --tails 0.55]
[--reentry adjacent|random] [--density 0.852] [--seed 1] [--ff auto|oplsaa2024|pcff|compass|oplsua2024]
[--no-relax: skip the CAPS relax, tens of minutes on one thread for a library cell of ~14,000 atoms]
[--report R.json] [--lammps-input IN.lmp] [--gromacs STEM] a lamellar stack of any library crystal: stems, loops,
bridges and tails grown from the crystal's repeat unit (groups crystal, amorphous); defaults and force field per polymer
caps semicrystalline FILE --analyse [--report R.json] [--labels L.txt] loops, bridges, tails, P2 crystallinity, profiles
of any frame; --labels: each atom's id, class (stem, loop, bridge, tail, none) and segment (side atoms as their backbone atom)caps solvecaps solve DATA.xy MOLECULE --cell a,b,c,al,be,ga --space-group 'P 21/c' [--wavelength Å] [--steps 6000] [--restarts 2] [--seed 1]
[--uvw U,V,W] [--xy X,Y] [--zero DEG] -o CRYSTAL.cif a molecular crystal found by simulated annealing against the
pattern (direct space); --steps counts all moves, shared by the restarts; the peak profile is fitted to the data
(Pawley, in the cell) first unless --uvw, --xy or --zero give itcaps sqscaps sqs CRYSTAL --from Cu --to Au [--fraction 0.5] [--supercell 2,2,2] [--shells 3] [--steps 20000] [--restarts 4] [--seed 1] -o OUT.cif
special quasirandom structure: the random alloy's pair correlations on the first shells (Zunger et al.)caps symmetrycaps symmetry FILE [--find [--tolerance 0.1]] [--clear] [--cell a,b,c,alpha,beta,gamma] [-o OUT.cif]
the space group kept with the structure: found or read, the cell fitted to its crystal system, the CIF as its asymmetric unitcaps tablecaps table CSV [--sort 'A,-B'] [--hist COLUMN [--rule fd|scott|sturges|N]] [--sdf OUT.sdf --structure COLUMN]
a table's rows ordered by columns (- descending), a histogram of a column, an SD file of the rowscaps tensioncaps tension THERMO.csv|log.lammps [--axis z] [--interfaces 2] [--skip 0.2] [--blocks 5] [--cell Lz]
surface or interfacial tension of a slab cell from its pressure tensor (Kirkwood–Buff), mN/mcaps thermalcaps thermal FILE --dimensionality 3d|2d [--method gk|nemd] [--temp 300] [--eq-ps 10] [--ps 100] [--dt 1] [--every 5]
[--corr-ps 5] [--axis x|y|z] [--layers 20] [--swap-every 100] [--transient 0.3] [--thickness 3.35] [--seed 1]
[--ff FF] [--json OUT.json] [--lammps-input IN.lmp [--lammps-eq-ps 100] [--lammps-ps 2000]]
thermal conductivity by MD: Green-Kubo (heat-flux autocorrelation, centroid form for bonded terms)
or Muller-Plathe NEMD; 2d: a sheet with vacuum along z,
in-plane only, kappa over an effective thickness and the sheet conductance; NEMD takes any force field
and an even --layers of at least 10; Green-Kubo here takes harmonic bonds and angles, Fourier torsions
and impropers and 12-6 LJ with DSF Coulomb (for other terms use nemd or --lammps-input); --eq-ps/--ps are the
local run, the LAMMPS input's lengths are --lammps-eq-ps/--lammps-ps (with --lammps-input, --ps also runs here)caps vasp-relax--helpusage: caps vasp-relax CRYSTAL --out DIR [--dimensionality 3d|2d] | caps vasp-relax report DIR
A crystal unit cell's four-step relaxation (the group VASP guide, ch. 5): relax1 at about 2 × ENMAX with ISIF 3, relax2 at about 3 × ENMAX with ISIF 3, relax3 at relax1's cutoff with ISIF 4, relax4 with ISIF 2; PBE + D3-BJ; one batch script runs them in order, each step's CONTCAR the next POSCAR, stops when a step does not converge and prints the cell and position change of every step. CRYSTAL is a file or a crystal of data/crystals (pe-orthorhombic …). 2D sheets: the cell relaxes in plane only (LATTICE_CONSTRAINTS), k 1 along c, the dipole correction when polar.
options (default · why):
--out
the case folder (relax1 … relax4, job.slurm)
--label
SYSTEM and the job name (default: the folder name)
--dimensionality
3d or 2d (a sheet with vacuum along c); without it a structure with a vacuum gap is refused, never guessed
--dipole [auto]
2d: auto (when the sheet is polar), on, off
--encut-factors [2,3]
relax1 and relax2 ENCUT / ENMAX (rounded up to 10 eV); relax3 and relax4 at relax1's
--encuts
one ENCUT per step instead, e.g. the guide's PE example 900,1350,900,900
--kdens [50]
Å: N_i = ceil(kdens / |a_i|), the guide's 50 = KPOINT × lattice vector length
--nsw [200]
ionic steps per attempt (three attempts per step)
--pp-dir
your licensed PAW directory: POTCAR and its ENMAX (else data/dft/enmax.json)
--profile [tud-barnard]
cluster profile (data/dft/clusters.json)
--account
Slurm account (e.g. your project)
--json
machine-readable output
examples:
caps vasp-relax pe-orthorhombic --out PE_relax --account p_yourproject
caps vasp-relax sheet.vasp --dimensionality 2d --out sheet_relax
caps vasp-relax report PE_relaxcaps zmeltcaps zmelt CRYSTAL --temps 100,200,300,400 [--ff FF] [--steps 10000] [--dt 1] [--bisect 3] [--cutoff 10] [--sample-every 20]
[--csv OUT] [--json OUT] melting point by the Z method: NVE runs from the perfect crystal (Belonoshko et al.)