MagneticOrderingsDocument¶
- pydantic model atomate2.common.schemas.magnetism.MagneticOrderingsDocument[source]¶
Final document containing information about calculated magnetic orderings.
Includes description of the ground state ordering. This document is returned by the MagneticOrderingsBuilder corresponding to your DFT code.
- field parent_structure: Structure | None = None¶
The parent structure from which individual magnetic orderings are generated.
- field outputs: list[MagneticOrderingOutput] | None = None¶
All magnetic ordering calculation results for this structure.
- classmethod from_outputs(outputs, parent_structure)[source]¶
Construct a MagneticOrderingDocument from a list of output docs.
This is general and should not need to be implemented for a specific DFT code.
- Parameters:
outputs (list[MagneticOrderingOutput])
parent_structure (Structure)
- Return type:
- classmethod from_tasks(tasks)[source]¶
Construct a MagneticOrderingsDocument from a list of task dicts.
Note
this function assumes the tasks contain the keys “output” and “metadata”. These keys are automatically constructed when jobflow stores its outputs; however, you may need to put the data in this format if using this manually (as in a postprocessing job).
- Parameters:
- Return type: