castep_param_io/param/general/
checkpoint.rs

1use castep_param_derive::KeywordDisplay;
2use serde::{Deserialize, Serialize};
3
4#[derive(
5    Debug, Clone, Hash, Serialize, Deserialize, PartialEq, Eq, PartialOrd, Ord, KeywordDisplay,
6)]
7#[keyword_display(borrowed_value=str, field="CHECKPOINT", from=String, default_value="test.check".to_string())]
8/// This keyword contains a string which specifies the name of file to which checkpoint (continuation) data are to be written.
9/// # Default
10/// `seedname.check`
11/// # Example
12/// `CHECKPOINT : test.check`
13pub struct Checkpoint(String);