sc::SumIntCoor(3)

๐Ÿ“ฆ
version 2.3.1 ยท 5 versions
, in ubuntu jammy

bestie, welcome to the sc::SumIntCoor(3) page ๐Ÿ’– this one is all about building linear combos of internal coordinates, and yes it eats.

๐Ÿ’– NAME ๐Ÿ’–

sc::SumIntCoor โ€” SumIntCoor is used to construct linear combinations of internal coordinates โœจ

๐ŸŒธ SYNOPSIS ๐ŸŒธ

#include <coor.h>

Inherits sc::IntCoor.

๐Ÿ’… Public Member Functions ๐Ÿ’…

  • SumIntCoor (StateIn &) โ€” constructor from a StateIn; the original doesn't add extra tea here ๐Ÿซถ
  • SumIntCoor (const char *) โ€” this constructor takes a string containing a label for this coordinate ๐Ÿท๏ธ
  • SumIntCoor (const Ref< KeyVal > &) โ€” the KeyVal constructor โœจ
  • void save_data_state (StateOut &) โ€” saves 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 ๐Ÿ’พ
  • int n () โ€” returns the number of coordinates in this linear combination ๐Ÿ”ข
  • void add (Ref< IntCoor > &, double coef) โ€” add a coordinate to the linear combination; coef is the coefficient for the added coordinate โž•
  • void normalize () โ€” this function normalizes all the coefficients โš–๏ธ
  • double preferred_value () const โ€” returns the value of the coordinate in a.u. and radians ๐Ÿ“
  • const char * ctype () const โ€” always returns SUM ๐Ÿ’…
  • void print_details (const Ref< Molecule > &, std::ostream &=ExEnv::out0()) const โ€” print the individual coordinates in the sum with their coefficients ๐Ÿ–จ๏ธ
  • double force_constant (Ref< Molecule > &) โ€” returns the weighted sum of the individual force constants ๐Ÿงฎ
  • void update_value (const Ref< Molecule > &) โ€” recalculate the value of the coordinate ๐Ÿ”„
  • void bmat (const Ref< Molecule > &, RefSCVector &bmat, double coef=1.0) โ€” fill in a row of the B matrix ๐Ÿงฑ
  • int equivalent (Ref< IntCoor > &) โ€” always returns 0 ๐Ÿซ 

๐Ÿงฌ Additional Inherited Members ๐Ÿงฌ

there are extra inherited members hanging out here โ€” the page just doesn't spill them in this section ๐Ÿ’…

โœจ Detailed Description โœจ

SumIntCoor is used to construct linear combinations of internal coordinates.

The following is a sample ParsedKeyVal input for a SumIntCoor object:

         sumintcoor<SumIntCoor>: (
           coor: [
             <StreSimpleCo>:( atoms = [ 1 2 ] )
             <StreSimpleCo>:( atoms = [ 2 3 ] )
             ]
           coef = [ 1.0 1.0 ]
           )

๐Ÿ› ๏ธ Constructor & Destructor Documentation ๐Ÿ› ๏ธ

sc::SumIntCoor::SumIntCoor (const Ref< KeyVal > &)

The KeyVal constructor.

  • coor โ€” a vector of IntCoor objects that define the summed coordinates ๐Ÿงฉ
  • coef โ€” a vector of floating point numbers that gives the coefficients of the summed coordinates ๐Ÿ”ข

๐Ÿ”ง Member Function Documentation ๐Ÿ”ง

void sc::SumIntCoor::add (Ref< IntCoor > &, double coef)

okay so this one adds a coordinate to the linear combination โ€” coef is the coefficient for the added coordinate ๐Ÿ’ซ

void sc::SumIntCoor::save_data_state (StateOut &) [virtual]

saves 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::IntCoor.

๐Ÿ‘‘ Author ๐Ÿ‘‘

Generated automatically by Doxygen for MPQC from the source code.


okay bye bestie ๐Ÿ’… this page is from the MPQC source, Version 2.3.1, dated Sun Oct 4 2020 ๐Ÿซถโœจ

๐Ÿ“ฆ where this page comes from