sc::IntMolecularCoor(3)
π¦ sc::IntMolecularCoor(3) β internal coords are the moment π¦
okay so this is the MPQC manual page for sc::IntMolecularCoor(3), and we're folding the manual name right in here at the top so it doesn't look like a dusty old header line, yk? This is part 1, and it's giving "abstract base class with a lot of options." No cap. Let's go. π
β¨ NAME β¨
The sc::IntMolecularCoor abstract class describes a molecule's coordinates in terms of internal coordinates. Periodt. π
πΈ SYNOPSIS πΈ
#include <coor.h>
- Inherits
sc::MolecularCoor. - Inherited by
sc::RedundMolecularCoor, andsc::SymmMolecularCoor.
π Public Member Functions π
IntMolecularCoor (StateIn &)β constructor from aStateIn. No extra blurb on this page, bestie.IntMolecularCoor (Ref< Molecule > &mol)β constructor from aRef< Molecule > &mol. Just the signature here.IntMolecularCoor (const Ref< KeyVal > &)β The KeyVal constructor. Full deets are down in the constructor section, iykyk.void save_data_state (StateOut &)β Save the base classes (withsave_data_state) and the members in the same order that theStateInCTOR initializes them.virtual void form_coordinates (int keep_variable=0)=0β Actually form the variable and constant internal coordinates from the simple internal coordinates.virtual int all_to_cartesian (const Ref< Molecule > &, RefSCVector &internal)β Liketo_cartesians(), except all internal coordinates are considered, not just the variable ones.virtual int all_to_internal (const Ref< Molecule > &, RefSCVector &internal)β Liketo_internal(), except all internal coordinates are considered, not just the variable ones.virtual RefSCDimension dim ()β These implement the virtual functions inherited fromMolecularCoor.virtual int to_cartesian (const Ref< Molecule > &, const RefSCVector &internal)β signature only on this page, no extra description.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 Hessian ininternalto Cartesian coordinates and copy the result tocart.virtual int to_internal (RefSymmSCMatrix &internal, RefSymmSCMatrix &cart)β Convert the Cartesian coordinate Hessian incartto 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, no extra description on this page.virtual void print_variable (std::ostream &=ExEnv::out0()) constβ signature only, no extra description on this page.virtual void print_constant (std::ostream &=ExEnv::out0()) constβ signature only, no extra description on this page.int nconstrained ()β Returns the number of constrained coordinates.
π§ Protected Member Functions π§
void form_K_matrix (RefSCDimension &dredundant, RefSCDimension &dfixed, RefSCMatrix &K, int *&is_totally_symmetric)β signature only here, no extra blurb.virtual void init ()β This is called by the constructors of classes derived fromIntMolecularCoor.virtual void new_coords ()β Allocates memory for theSetIntCoor's used to store the simple and internal coordinates.virtual void read_keyval (const Ref< KeyVal > &)β Reads the KeyVal input.
π Protected Attributes π
Ref< IntCoorGen > generator_RefSCDimension dim_RefSCDimension dvc_Ref< SetIntCoor > variable_Ref< SetIntCoor > constant_Ref< SetIntCoor > fixed_Ref< SetIntCoor > watched_Ref< IntCoor > followed_Ref< SetIntCoor > bonds_Ref< SetIntCoor > bends_Ref< SetIntCoor > tors_Ref< SetIntCoor > outs_Ref< SetIntCoor > extras_Ref< SetIntCoor > all_int update_bmat_int only_totally_symmetric_double symmetry_tolerance_double simple_tolerance_double coordinate_tolerance_double cartesian_tolerance_double scale_bonds_double scale_bends_double scale_tors_double scale_outs_int nextra_bonds_int * extra_bonds_int given_fixed_values_int decouple_bonds_int decouple_bends_int max_update_steps_double max_update_disp_int form_print_simples_int form_print_variable_int form_print_constant_int form_print_molecule_
π«Ά Additional Inherited Members π«Ά
The page has this heading, but no additional member list is shown here. That's the whole tea. π
π Detailed Description π
The IntMolecularCoor abstract class describes a molecule's coordinates in terms of internal coordinates.
π Constructor & Destructor Documentation π
sc::IntMolecularCoor::IntMolecularCoor (const Ref< KeyVal > &)
The KeyVal constructor.
variableβ Gives aSetIntCoorobject that specifies the internal coordinates that can be varied. If this is not given, the variable coordinates will be generated.followedβ Gives aIntCoorobject that specifies a coordinate to used as the first coordinate in the variable coordinate list. The remaining coordinates will be automatically generated. The default is no followed coordinate. This option is usually used to set the initial search direction for a transition state optimization, where it is used in conjunction with themode_followingkeyword read by theEFCOptclass.fixedβ Gives aSetIntCoorobject that specifies the internal coordinates that will be fixed. The default is no fixed coordinates.watchedβ Gives aSetIntCoorobject that specifies internal coordinates that will be printed out whenever the coordinates are changed. The default is none.have_fixed_valuesβ If true, then values for the fixed coordinates must be given infixedand an attempt will be made to displace the initial geometry to the given fixed values. The default is false.extra_bondsβ This is only read if thegeneratorkeyword is not given. It is a vector of atom numbers, where elements$(i-1)imes 2 + 1$and$iimes 2$specify the atoms which are bound in extra bond$i$. Theextra_bondskeyword should only be needed for weakly interacting fragments, otherwise all the needed bonds will be found.generatorβ Specifies anIntCoorGenobject that creates simple, redundant internal coordinates. If this keyword is not given, then a vector giving extra bonds to be added is read fromextra_bondsand this is used to create anIntCoorGenobject.decouple_bondsβ Automatically generated internal coordinates are linear combinations of possibly any mix of simple internal coordinates. Ifdecouple_bondsis true, an attempt will be made to form some of the internal coordinates from just stretch simple coordinates. The default is false.decouple_bendsβ This is likedecouple_bondsexcept it applies to the bend-like coordinates. The default is false.max_update_dispβ The maximum displacement to be used in the displacement to fixed internal coordinates values. Larger displacements will be broken into several smaller displacements and new coordinates will be formed for each of these displacments. This is only used whenfixedandhave_fixed_valuesare given. The default is0.5.max_update_stepsβ The maximum number of steps permitted to convert internal coordinate displacements to cartesian coordinate displacements. The default is100.update_bmatβ Displacements in internal coordinates are converted to a cartesian displacements iteratively. If there are large changes in the cartesian coordinates during conversion, then recompute the$B$matrix, which is using to do the conversion. The default is false.only_totally_symmetricβ If a simple test reveals that an internal coordinate is not totally symmetric, then it will not be added to the internal coordinate list. The default is true.simple_toleranceβ The internal coordinates are formed as linear combinations of simple, redundant internal coordinates. Coordinates with coefficients smaller thensimple_tolerancewill be omitted. The default is1.0e-3.cartesian_toleranceβ The tolerance for conversion of internal coordinate displacements to cartesian displacements. The default is1.0e-12.form:print_simpleβ Print the simple internal coordinates. The default is false.form:print_variableβ Print the variable internal coordinates. The default is false.form:print_constantβ Print the constant internal coordinates. The default is false.form:print_moleculeβ Print the molecule when forming coordinates. The default is false.
These next ones are marked Obsolete in the original, bestieβso don't build your whole personality on them, but they're still part of the page. π
scale_bondsβ Obsolete. The default value is1.0.scale_bendsβ Obsolete. The default value is1.0.scale_torsβ Obsolete. The default value is1.0.scale_outsβ Obsolete. The default value is1.0.symmetry_toleranceβ Obsolete. The default is1.0e-5.coordinate_toleranceβ Obsolete. The default is1.0e-7.
π MEMBER FUNCTION DOCUMENTATION π
virtual void sc::IntMolecularCoor::init ()[protected], [virtual] β okay so this one is called by the constructors of classes derived fromIntMolecularCoor. It gets the lists of simple internal coordinates initialized, and then it calls theform_coordinates()member. Reimplemented insc::SymmMolecularCoor. β¨void sc::IntMolecularCoor::save_data_state (StateOut &)[virtual] β bestie, this saves the base classes (withsave_data_state) and the members in the same order that theStateInCTOR initializes them. This must be implemented by the derived class if the class has data. Reimplemented fromsc::MolecularCoor. Reimplemented insc::RedundMolecularCoor, andsc::SymmMolecularCoor. πvirtual int sc::IntMolecularCoor::to_cartesian (RefSCVector & cartesian, RefSCVector & internal)[virtual] β converts the internal coordinate gradients ininternalto Cartesian coordinates, then copies those Cartesian coordinate gradients tocartesian. Only the variable internal coordinate gradients are transformed. Implementssc::MolecularCoor. πvirtual int sc::IntMolecularCoor::to_cartesian (RefSymmSCMatrix & cartesian, RefSymmSCMatrix & internal)[virtual] β converts the internal coordinate Hessianinternalto Cartesian coordinates and copies the result tocartesian. Only the variable internal coordinate force constants are transformed. Implementssc::MolecularCoor. π¦virtual int sc::IntMolecularCoor::to_internal (RefSCVector & internal)[virtual] β fills in the vectorinternalwith the current internal coordinates. Note that this member will update the values of the variable internal coordinates. Implementssc::MolecularCoor. πΈvirtual int sc::IntMolecularCoor::to_internal (RefSCVector & internal, RefSCVector & cartesian)[virtual] β converts the Cartesian coordinate gradients incartesianto internal coordinates and copies those internal coordinate gradients tointernal. Only the variable internal coordinate gradients are calculated. Implementssc::MolecularCoor. π₯virtual int sc::IntMolecularCoor::to_internal (RefSymmSCMatrix & internal, RefSymmSCMatrix & cartesian)[virtual] β converts the Cartesian coordinate Hessiancartesianto internal coordinates and copies the result tointernal. Only the variable internal coordinate force constants are calculated. Implementssc::MolecularCoor. π
π AUTHOR π
Okay credits time, bestie π«Ά: this page was generated automatically by Doxygen for MPQC from the source code. Version 2.3.1, dated Sun Oct 4 2020. Iconic. πβ¨
π¦ 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