sc::SumIntCoor(3)
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 aStateIn; 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 (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 ๐พint n ()โ returns the number of coordinates in this linear combination ๐ขvoid add (Ref< IntCoor > &, double coef)โ add a coordinate to the linear combination;coefis 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 returnsSUM๐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 returns0๐ซ
๐งฌ 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 ofIntCoorobjects 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
- 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