-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing some issues in the raw tutorial and example.
Adding the information related to the calculations topics.
- Loading branch information
Jonathan Chico
committed
Nov 22, 2023
1 parent
c46be8b
commit 5dbe245
Showing
8 changed files
with
128 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,30 @@ | ||
# `LammpsBaseCalculation` | ||
|
||
The `LammpsBaseCalculation` performs a single stage LAMMPS calculation, the input is generated by a set of parameters passed as a dictionary. The inputs accepted are the following: | ||
|
||
## Inputs: | ||
|
||
- **structure**, (`StructureData`) - Structure used in the ``LAMMPS`` calculation. | ||
- **potential**, (`LammpsPotentialData`) - Potential used in the ``LAMMPS`` calculation. | ||
- **parameters**, (`Dict`) - Parameters that control the input script generated for the ``LAMMPS`` calculation. | ||
- **settings**, (`Dict`), *optional* - Additional settings that control the ``LAMMPS`` calculation. | ||
- **input_restartfile** (`SinglefileData`), *optional* - Input restartfile to continue from a previous ``LAMMPS`` calculation. | ||
- **parent_folder**, (`RemoteData`), *optional* - An optional working directory of a previously completed calculation to restart from. | ||
- **metadata.options.input_filename**, (`str`), *optional* - Name of the input file for the calculation. Defaults to `input.in`. | ||
- **metadata.options.structure_filename**, (`str`), *optional* - Name of the file where the structure is stored. Defaults to `structure.dat` | ||
- **metadata.options.output_filename**, (`str`). *optional* - Name of the main output file for LAMMPS. Defaults to `lammps.out`. | ||
- **metadata.options.variables_filename**, (`str`), *optional* - Name of the file where the final values of the thermodynamic variables are stored. Defaults to `aiida_lammps.yaml`. | ||
- **metadata.options.trajectory_filename**, (`str`), *optional* - Name of the file where the trajectories are stored. Defaults to `aiida_lammps.trajectory.dump`. | ||
- **metadata.options.restart_filename**, (`str`), *optional* - Name of the restartfile to be written. Defaults to `lammps.restart`. | ||
- **metadata.options.parser_name**, (`str`), *optional* - Name of the parser to be used for this calculation. Defaults to `lammps.base`. | ||
|
||
## Outputs: | ||
|
||
- **results**, (`Dict`) - The parsed data extracted from the lammps output file. | ||
- **trajectories** (`LammpsTrajectory`) - The data extracted from the lammps trajectory file, includes the atomic trajectories and the site and time dependent calculation parameters. | ||
- **time_dependent_computes**, (`ArrayData`) - The data with the time dependent computes parsed from the lammps.out. | ||
- **restartfile**, (`SinglefileData`), *optional* - The restartfile of a ``LAMMPS`` calculation. | ||
- **structure**, (`StructureData`), *optional* - The output structure of the calculation. | ||
- **remote_folder**, (`RemoteData`) - Folder in the remote machine where the calculation was performed. | ||
- **remote_stash**, (`RemoteStashData`), *optional* – Contents of the stash.source_list option are stored in this remote folder after job completion. | ||
- **retrieved**, (`FolderData`) - Files that are retrieved by the daemon will be stored in this node. By default the stdout and stderr of the scheduler will be added, but one can add more by specifying them in `CalcInfo.retrieve_list`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,19 @@ | ||
# `LammpsRawCalculation` | ||
|
||
The `LammpsRawCalculation` performs a LAMMPS calculation from a given LAMMPS input script and a set of files. | ||
|
||
## Inputs: | ||
|
||
- **script**, (`SinglefileData`) - Complete input script to use. If specified, `structure`, `potential` and `parameters` are ignored. | ||
- **files**, (Namespace of `SinglefileData`), *optional* - Optional files that should be written to the working directory. This is an | ||
- **filenames**, (`Dict`), *optional* - Optional namespace to specify with which filenames the files of ``files`` input should be written. | ||
- **metadata.options.input_filename**, (`str`), *optional* - Name of the input file for the calculation. Defaults to `input.in`. | ||
- **metadata.options.output_filename**, (`str`). *optional* - Name of the main output file for LAMMPS. Defaults to `lammps.out`. | ||
- **metadata.options.parser_name**, (`str`), *optional* - Name of the parser to be used for this calculation. Defaults to `lammps.raw`. | ||
|
||
## Outputs: | ||
|
||
- **results**, (`Dict`) - The parsed data extracted from the lammps output file. | ||
- **remote_folder**, (`RemoteData`) - Folder in the remote machine where the calculation was performed. | ||
- **remote_stash**, (`RemoteStashData`), *optional* – Contents of the stash.source_list option are stored in this remote folder after job completion. | ||
- **retrieved**, (`FolderData`) - Files that are retrieved by the daemon will be stored in this node. By default the stdout and stderr of the scheduler will be added, but one can add more by specifying them in `CalcInfo.retrieve_list`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters