sc::CartMolecularCoor(3)
π 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 withRef< Molecule > &mol.CartMolecularCoor (StateIn &)β constructor withStateIn &.CartMolecularCoor (const Ref< KeyVal > &)β the KeyVal constructor.void save_data_state (StateOut &)β save the base classes (withsave_data_state) and the members in the same order that theStateInCTOR initializes them.virtual RefSCDimension dim ()β these implement the virtual functions inherited fromMolecularCoor.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 vectorinternalwith the current internal coordinates.virtual int to_cartesian (RefSCVector &cartesian, RefSCVector &internal)β convert the internal coordinate gradients ininternalto Cartesian coordinates and copy these Cartesian coordinate gradients tocartesian.virtual int to_internal (RefSCVector &internal, RefSCVector &cartesian)β convert the Cartesian coordinate gradients incartesianto internal coordinates and copy these internal coordinate gradients tointernal.virtual int to_cartesian (RefSymmSCMatrix &cart, RefSymmSCMatrix &internal)β convert the internal coordinate Hessianinternalto Cartesian coordinates and copy the result tocartesian.virtual int to_internal (RefSymmSCMatrix &internal, RefSymmSCMatrix &cart)β convert the Cartesian coordinate Hessiancartesianto internal coordinates and copy the result tointernal.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 inhessian.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 attributedim_.
π 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
- ubuntu jammy: libsc-doc 2.3.1-21
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms