atomate2.turbomole.schemas.calculation module#
Core definitions of Turbomole calculation documents.
- pydantic model atomate2.turbomole.schemas.calculation.Calculation[source]#
Bases:
BaseModel
Full Turbomole calculation inputs and outputs.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
Show Entity Relationship Diagram
Show JSON schema
{ "title": "Calculation", "description": "Full Turbomole calculation inputs and outputs.", "type": "object", "properties": { "dir_name": { "default": null, "description": "The directory for this Turbomole calculation", "title": "Dir Name", "type": "string" }, "turbomole_version": { "default": null, "description": "Turbomole version used to perform the calculation", "title": "Turbomole Version", "type": "string" }, "has_completed": { "$ref": "#/$defs/Status", "default": null, "description": "Whether Turbomole completed the calculation successfully" }, "input": { "$ref": "#/$defs/CalculationInput", "default": null, "description": "Turbomole input settings for the calculation" }, "output": { "$ref": "#/$defs/CalculationOutput", "default": null, "description": "The Turbomole calculation output" }, "completed_at": { "default": null, "description": "Timestamp for when the calculation was completed", "title": "Completed At", "type": "string" }, "task_name": { "default": null, "description": "Name of task given by custodian (e.g., relax1, relax2)", "title": "Task Name", "type": "string" }, "output_file_paths": { "additionalProperties": { "type": "string" }, "default": null, "description": "Paths (relative to dir_name) of the Turbomole output files associated with this calculation", "title": "Output File Paths", "type": "object" }, "run_type": { "default": null, "description": "Calculation run type (e.g., HF, HSE06, PBE)", "enum": [], "title": "RunType" }, "task_type": { "default": null, "description": "Calculation task type (e.g., Structure Optimization).", "enum": [], "title": "TaskType" }, "calc_type": { "default": null, "description": "Return calculation type (run type + task_type).", "enum": [], "title": "CalcType" } }, "$defs": { "CalculationInput": { "description": "Summary of inputs for a Turbomole calculation.", "properties": { "structure": { "anyOf": [ { "properties": { "@class": { "enum": [ "Structure" ], "type": "string" }, "@module": { "enum": [ "pymatgen.core.structure" ], "type": "string" }, "@version": { "type": "string" } }, "required": [ "@class", "@module" ], "type": "object" }, { "properties": { "@class": { "enum": [ "Molecule" ], "type": "string" }, "@module": { "enum": [ "pymatgen.core.structure" ], "type": "string" }, "@version": { "type": "string" } }, "required": [ "@class", "@module" ], "type": "object" } ], "default": null, "description": "The input structure/molecule object", "title": "Structure" }, "turbomole_input": { "default": null, "description": "The Turbomole input used for this task", "title": "Turbomole Input", "type": "object" }, "dft": { "default": null, "description": "DFT parameters used in the last calc of this task.", "title": "Dft", "type": "object" }, "turbomole_global": { "default": null, "description": "Turbomole global parameters used in the last calc of this task.", "title": "Turbomole Global", "type": "object" } }, "title": "CalculationInput", "type": "object" }, "CalculationOutput": { "description": "Document defining Turbomole calculation outputs.", "properties": { "energy": { "default": null, "description": "The final total DFT energy for the calculation", "title": "Energy", "type": "number" }, "energy_per_atom": { "default": null, "description": "The final DFT energy per atom for the calculation", "title": "Energy Per Atom", "type": "number" }, "structure": { "anyOf": [ { "properties": { "@class": { "enum": [ "Structure" ], "type": "string" }, "@module": { "enum": [ "pymatgen.core.structure" ], "type": "string" }, "@version": { "type": "string" } }, "required": [ "@class", "@module" ], "type": "object" }, { "properties": { "@class": { "enum": [ "Molecule" ], "type": "string" }, "@module": { "enum": [ "pymatgen.core.structure" ], "type": "string" }, "@version": { "type": "string" } }, "required": [ "@class", "@module" ], "type": "object" } ], "default": null, "description": "The final structure/molecule from the calculation", "title": "Structure" }, "efermi": { "default": null, "description": "The Fermi level from the calculation in eV", "title": "Efermi", "type": "number" }, "is_metal": { "default": null, "description": "Whether the system is metallic", "title": "Is Metal", "type": "boolean" }, "bandgap": { "default": null, "description": "The band gap from the calculation in eV", "title": "Bandgap", "type": "number" }, "cbm": { "default": null, "description": "The conduction band minimum in eV (if system is not metallic)", "title": "Cbm", "type": "number" }, "vbm": { "default": null, "description": "The valence band maximum in eV (if system is not metallic)", "title": "Vbm", "type": "number" }, "ionic_steps": { "default": null, "description": "Energy, forces, and structure for each ionic step", "items": { "type": "object" }, "title": "Ionic Steps", "type": "array" } }, "title": "CalculationOutput", "type": "object" }, "Status": { "description": "Turbomole calculation state.", "enum": [ "successful", "failed" ], "title": "Status", "type": "string" } } }
- Fields:
- field input: CalculationInput = None#
Turbomole input settings for the calculation
- field output: CalculationOutput = None#
The Turbomole calculation output
- pydantic model atomate2.turbomole.schemas.calculation.CalculationInput[source]#
Bases:
BaseModel
Summary of inputs for a Turbomole calculation.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
Show Entity Relationship Diagram
Show JSON schema
{ "title": "CalculationInput", "description": "Summary of inputs for a Turbomole calculation.", "type": "object", "properties": { "structure": { "anyOf": [ { "properties": { "@class": { "enum": [ "Structure" ], "type": "string" }, "@module": { "enum": [ "pymatgen.core.structure" ], "type": "string" }, "@version": { "type": "string" } }, "required": [ "@class", "@module" ], "type": "object" }, { "properties": { "@class": { "enum": [ "Molecule" ], "type": "string" }, "@module": { "enum": [ "pymatgen.core.structure" ], "type": "string" }, "@version": { "type": "string" } }, "required": [ "@class", "@module" ], "type": "object" } ], "default": null, "description": "The input structure/molecule object", "title": "Structure" }, "turbomole_input": { "default": null, "description": "The Turbomole input used for this task", "title": "Turbomole Input", "type": "object" }, "dft": { "default": null, "description": "DFT parameters used in the last calc of this task.", "title": "Dft", "type": "object" }, "turbomole_global": { "default": null, "description": "Turbomole global parameters used in the last calc of this task.", "title": "Turbomole Global", "type": "object" } } }
- Fields:
- field structure: Structure | Molecule = None#
The input structure/molecule object
- pydantic model atomate2.turbomole.schemas.calculation.CalculationOutput[source]#
Bases:
BaseModel
Document defining Turbomole calculation outputs.
Create a new model by parsing and validating input data from keyword arguments.
Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
Show Entity Relationship Diagram
Show JSON schema
{ "title": "CalculationOutput", "description": "Document defining Turbomole calculation outputs.", "type": "object", "properties": { "energy": { "default": null, "description": "The final total DFT energy for the calculation", "title": "Energy", "type": "number" }, "energy_per_atom": { "default": null, "description": "The final DFT energy per atom for the calculation", "title": "Energy Per Atom", "type": "number" }, "structure": { "anyOf": [ { "properties": { "@class": { "enum": [ "Structure" ], "type": "string" }, "@module": { "enum": [ "pymatgen.core.structure" ], "type": "string" }, "@version": { "type": "string" } }, "required": [ "@class", "@module" ], "type": "object" }, { "properties": { "@class": { "enum": [ "Molecule" ], "type": "string" }, "@module": { "enum": [ "pymatgen.core.structure" ], "type": "string" }, "@version": { "type": "string" } }, "required": [ "@class", "@module" ], "type": "object" } ], "default": null, "description": "The final structure/molecule from the calculation", "title": "Structure" }, "efermi": { "default": null, "description": "The Fermi level from the calculation in eV", "title": "Efermi", "type": "number" }, "is_metal": { "default": null, "description": "Whether the system is metallic", "title": "Is Metal", "type": "boolean" }, "bandgap": { "default": null, "description": "The band gap from the calculation in eV", "title": "Bandgap", "type": "number" }, "cbm": { "default": null, "description": "The conduction band minimum in eV (if system is not metallic)", "title": "Cbm", "type": "number" }, "vbm": { "default": null, "description": "The valence band maximum in eV (if system is not metallic)", "title": "Vbm", "type": "number" }, "ionic_steps": { "default": null, "description": "Energy, forces, and structure for each ionic step", "items": { "type": "object" }, "title": "Ionic Steps", "type": "array" } } }
- Fields:
- field structure: Structure | Molecule = None#
The final structure/molecule from the calculation