sc::CartMolecularCoor(3)

πŸ“¦
version 2.3.1 Β· 5 versions
, in ubuntu jammy

πŸ’… sc::CartMolecularCoor(3) β€” MPQC, bestie πŸ’…

okay so this is the manual page for sc::CartMolecularCoor(3) in the MPQC manual, and it is lowkey giving coordinate-class main character energy. Let’s get into it πŸ’–

✨ NAME ✨

sc::CartMolecularCoor β€” the CartMolecularCoor class implements Cartesian coordinates in a way suitable for use in geometry optimizations. periodt. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

#include <coor.h>

Inherits sc::MolecularCoor.

πŸŽ€ Public Member Functions πŸŽ€

  • CartMolecularCoor (Ref< Molecule > &mol) β€” constructor with Ref< Molecule > &mol.
  • CartMolecularCoor (StateIn &) β€” constructor with StateIn &.
  • CartMolecularCoor (const Ref< KeyVal > &) β€” the KeyVal constructor.
  • void save_data_state (StateOut &) β€” save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them.
  • virtual RefSCDimension dim () β€” these implement the virtual functions inherited from MolecularCoor.
  • virtual int to_cartesian (const Ref< Molecule > &, const RefSCVector &internal) β€” listed with no extra description on the page, bestie 🫢
  • virtual int to_internal (RefSCVector &internal) β€” fill in the vector internal with the current internal coordinates.
  • virtual int to_cartesian (RefSCVector &cartesian, RefSCVector &internal) β€” convert the internal coordinate gradients in internal to Cartesian coordinates and copy these Cartesian coordinate gradients to cartesian.
  • virtual int to_internal (RefSCVector &internal, RefSCVector &cartesian) β€” convert the Cartesian coordinate gradients in cartesian to internal coordinates and copy these internal coordinate gradients to internal.
  • virtual int to_cartesian (RefSymmSCMatrix &cart, RefSymmSCMatrix &internal) β€” convert the internal coordinate Hessian internal to Cartesian coordinates and copy the result to cartesian.
  • virtual int to_internal (RefSymmSCMatrix &internal, RefSymmSCMatrix &cart) β€” convert the Cartesian coordinate Hessian cartesian to internal coordinates and copy the result to internal.
  • virtual void print (std::ostream &=ExEnv::out0()) const β€” print the coordinate.
  • virtual void print_simples (std::ostream &=ExEnv::out0()) const β€” signature only on the page; no extra blurb here πŸŽ€
  • void guess_hessian (RefSymmSCMatrix &hessian) β€” calculate an approximate hessian and place the result in hessian.
  • RefSymmSCMatrix inverse_hessian (RefSymmSCMatrix &) β€” given an Hessian, return the inverse of that hessian.

🧚 Protected Member Functions 🧚

  • virtual void init () β€” initializes the dimensions. ✨

πŸ“ Protected Attributes πŸ“

  • RefSCDimension dim_ β€” the protected attribute dim_.

🌈 Additional Inherited Members 🌈

This section is just the heading on the page β€” no extra inherited members are listed under it. πŸ¦‹

πŸ”₯ Detailed Description πŸ”₯

The CartMolecularCoor class implements Cartesian coordinates in a way suitable for use in geometry optimizations. no cap, that's the whole vibe πŸ’…

CartMolecularCoor is a SavableState and has StateIn and KeyVal constructors. CartMolecularCoor is derived from MolecularCoor.

πŸ‘‘ Member Function Documentation πŸ‘‘

πŸ’– RefSymmSCMatrix sc::CartMolecularCoor::inverse_hessian (RefSymmSCMatrix &) πŸ’–

[virtual]

Given an Hessian, return the inverse of that hessian. For singular matrices this should return the generalized inverse.

Implements sc::MolecularCoor.

πŸ¦‹ void sc::CartMolecularCoor::save_data_state (StateOut &) πŸ¦‹

[virtual]

Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them. This must be implemented by the derived class if the class has data.

Reimplemented from sc::MolecularCoor.

✨ virtual int sc::CartMolecularCoor::to_cartesian (RefSCVector & cartesian, RefSCVector & internal) ✨

[virtual]

Convert the internal coordinate gradients in internal to Cartesian coordinates and copy these Cartesian coordinate gradients to cartesian. Only the variable internal coordinate gradients are transformed.

Implements sc::MolecularCoor.

πŸ’œ virtual int sc::CartMolecularCoor::to_cartesian (RefSymmSCMatrix & cartesian, RefSymmSCMatrix & internal) πŸ’œ

[virtual]

Convert the internal coordinate Hessian internal to Cartesian coordinates and copy the result to cartesian. Only the variable internal coordinate force constants are transformed.

Implements sc::MolecularCoor.

πŸŽ€ virtual int sc::CartMolecularCoor::to_internal (RefSCVector & internal) πŸŽ€

[virtual]

Fill in the vector internal with the current internal coordinates. Note that this member will update the values of the variable internal coordinates.

Implements sc::MolecularCoor.

🌸 virtual int sc::CartMolecularCoor::to_internal (RefSCVector & internal, RefSCVector & cartesian) 🌸

[virtual]

Convert the Cartesian coordinate gradients in cartesian to internal coordinates and copy these internal coordinate gradients to internal. Only the variable internal coordinate gradients are calculated.

Implements sc::MolecularCoor.

🧚 virtual int sc::CartMolecularCoor::to_internal (RefSymmSCMatrix & internal, RefSymmSCMatrix & cartesian) 🧚

[virtual]

Convert the Cartesian coordinate Hessian cartesian to internal coordinates and copy the result to internal. Only the variable internal coordinate force constants are calculated.

Implements sc::MolecularCoor.

🌟 Author 🌟

Generated automatically by Doxygen for MPQC from the source code.


byeee bestie πŸ’– this page is from MPQC version 2.3.1, dated Sun Oct 4 2020 β€” generated automatically by Doxygen for MPQC from the source code, fr fr. stay slay, and remember: coordinate classes can be iconic too πŸ’…βœ¨

πŸ“¦ where this page comes from