molecule

Quickish Optimize

Changed on

Optimize a molecule using the GFN-FF method from xtb.

:param mol: molecule to optimize :param optimize_atoms: atoms to optimize; if None, all atoms will be optimized (1-indexed) :param user: user object :return: optimization path

post/molecule/gfnff_optimize

Request

Cookies

access_tokenstring nullable

Request body

optimize_atomsinteger[] nullable

Response

Successful Response

chargeinteger required
multiplicityinteger required
energynumber nullable
scf_iterationsinteger nullable
scf_completedboolean nullable
elapsednumber nullable
homo_lumo_gapnumber nullable
mulliken_chargesnumber[] nullable
mulliken_spin_densitiesnumber[] nullable
zero_point_energynumber nullable
thermal_energy_corrnumber nullable
thermal_enthalpy_corrnumber nullable
thermal_free_energy_corrnumber nullable
excited_state_energiesnumber[] nullable
oscillator_strengthsnumber[] nullable
rotatory_strengthsnumber[] nullable
smilesstring nullable
calculation_indexinteger nullable
namestring nullable
metadataobject nullable
pressure_gpanumber nullable required

Hydrostatic pressure from stress tensor, in GPa.

Computed as -trace(stress) / 3, converted from Hartree/ų to GPa. Returns None if stress is not set.

Examples:

atoms = [Atom(atomic_number=1, position=(0, 0, 0)), Atom(atomic_number=1, position=(0, 0, 1))] Molecule(charge=0, multiplicity=1, atoms=atoms).pressure_gpa is None True stress = ((1e-4, 0, 0), (0, 1e-4, 0), (0, 0, 1e-4)) Molecule(charge=0, multiplicity=1, atoms=atoms, stress=stress).pressure_gpa -0.435974

Changes

    • breaking

      request property /// was restricted to a list of enum values

    • breaking

      the response property const value opencosmo_rs_24a was removed for the status

    • warning

      added the new opencosmo_rs_24a enum value to the /// response property for the response status

    • warning

      added the new rowan_cosmors_2026 enum value to the /// response property for the response status

    • info

      the request property const value opencosmo_rs_24a was removed

    • info

      added the new opencosmo_rs_24a enum value to the request property ///

    • info

      added the new rowan_cosmors_2026 enum value to the request property ///

    • info

      added the new optional request property /

    • info

      added the optional property / to the response with the status