Source code for lammps_step.energy_parameters

# -*- coding: utf-8 -*-
"""Control parameters for a single-point energy (SPE) in LAMMPS"""

import logging
import seamm

logger = logging.getLogger(__name__)


[docs] class EnergyParameters(seamm.Parameters): """The control parameters for Energy dynamics in LAMMPS""" parameters = { "results": { "default": {}, "kind": "dictionary", "default_units": None, "enumeration": tuple(), "format_string": "", "description": "results", "help_text": ("The results to save to variables or in " "tables. "), }, "create tables": { "default": "yes", "kind": "boolean", "default_units": None, "enumeration": ("yes", "no"), "format_string": "", "description": "Create tables as needed:", "help_text": ( "Whether to create tables as needed for " "results being saved into tables." ), }, } def __init__(self, defaults={}, data=None): """Initialize the instance, by default from the default parameters given in the class""" super().__init__( defaults={**EnergyParameters.parameters, **defaults}, data=data )