/usr/include/sc/chemistry/molecule/simple.h is in libsc-dev 2.3.1-16.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 | /* simple.h -- definition of the simple internal coordinate classes
*
* THIS SOFTWARE FITS THE DESCRIPTION IN THE U.S. COPYRIGHT ACT OF A
* "UNITED STATES GOVERNMENT WORK". IT WAS WRITTEN AS A PART OF THE
* AUTHOR'S OFFICIAL DUTIES AS A GOVERNMENT EMPLOYEE. THIS MEANS IT
* CANNOT BE COPYRIGHTED. THIS SOFTWARE IS FREELY AVAILABLE TO THE
* PUBLIC FOR USE WITHOUT A COPYRIGHT NOTICE, AND THERE ARE NO
* RESTRICTIONS ON ITS USE, NOW OR SUBSEQUENTLY.
*
* Author:
* E. T. Seidl
* Bldg. 12A, Rm. 2033
* Computer Systems Laboratory
* Division of Computer Research and Technology
* National Institutes of Health
* Bethesda, Maryland 20892
* Internet: seidl@alw.nih.gov
* February, 1993
*/
#ifndef _intco_simple_h
#define _intco_simple_h
#ifdef __GNUC__
#pragma interface
#endif
#include <iostream>
#include <util/class/class.h>
#include <util/state/state.h>
#include <util/keyval/keyval.h>
#include <chemistry/molecule/molecule.h>
#include <chemistry/molecule/coor.h>
#include <math/scmat/vector3.h>
namespace sc {
// ////////////////////////////////////////////////////////////////////////
/**
The SimpleCo abstract class describes a simple internal coordinate
of a molecule. The number atoms involved can be 2, 3 or 4 and is
determined by the specialization of SimpleCo.
There are three ways to specify the atoms involved in the internal
coordinate. The first way is a shorthand notation, just a vector of a
label followed by the atom numbers (starting at 1) is given. For example,
a stretch between two atoms, 1 and 2, is given, in the
ParsedKeyVal format, as
<pre>
stretch<StreSimpleCo>: [ R12 1 2 ]
</pre>
The other two ways to specify the atoms are more general. With them, it is
possible to give parameters for the IntCoor base class (and thus
give the value of the coordinate). In the first of these input formats, a
vector associated with the keyword atoms gives the atom numbers.
The following specification for stretch is equivalent to that
above:
<pre>
stretch<StreSimpleCo>:( label = R12 atoms = [ 1 2 ] )
</pre>
In the second, a vector, atom_labels, is given along with a
Molecule object. The atom labels are looked up in the
Molecule object to find the atom numbers.
The following specification for stretch is equivalent to those
above:
<pre>
molecule<Molecule>: (
{ atom_labels atoms geometry } = {
H1 H [ 1.0 0.0 0.0 ]
H2 H [-1.0 0.0 0.0 ] } )
stretch<StreSimpleCo>:( label = R12
atom_labels = [ H1 H2 ]
molecule = $:molecule )
</pre>
*/
class SimpleCo : public IntCoor {
protected:
int natoms_;
int *atoms;
public:
SimpleCo();
/** This constructor takes an integer argument which is the number of
atoms needed to describe the coordinate. A second optional char*
argument is a label for the coordinate. This argument is passed on to
the IntCoor constructor. */
SimpleCo(int,const char* =0);
/// The KeyVal constructor requires the number of atoms.
SimpleCo(const Ref<KeyVal>&,int natom);
virtual ~SimpleCo();
/// Returns the number of atoms in the coordinate.
int natoms() const;
/// Returns the index of the i'th atom in the coordinate.
int operator[](int i) const;
void save_data_state(StateOut&);
SimpleCo(StateIn&);
virtual int operator==(SimpleCo&);
int operator!=(SimpleCo&u);
// these IntCoor members are implemented in term of
// the calc_force_con and calc_intco members.
/// Returns an approximate force constant (a la Almlof).
double force_constant(Ref<Molecule>&);
/** Recalculates the value of the coordinate based on the geometry
in the Molecule. */
void update_value(const Ref<Molecule>&);
/// Fill in a row of the B matrix.
void bmat(const Ref<Molecule>&,RefSCVector&bmat,double coef = 1.0);
/// Calculates an approximate force constant and returns it's value.
virtual double calc_force_con(Molecule&) = 0;
/** Calculate the value of the coordinate based on what's in Molecule.
If given a double*, fill in that part of the B matrix. If the
bmatrix is to be calculated, the third argument gives the
coefficient. */
virtual double calc_intco(Molecule&, double* =0, double =1) = 0;
/// Print the coordinate.
void print_details(const Ref<Molecule> &,
std::ostream& = ExEnv::out0()) const;
/** Tests to see if two coordinates are equivalent to each other.
This is false if the atoms don't match. */
int equivalent(Ref<IntCoor>&);
};
// ///////////////////////////////////////////////////////////////////////
#define SimpleCo_DECLARE(classname) \
public: \
virtual classname& operator=(const classname&); \
SimpleCo& operator=(const SimpleCo&); \
double calc_force_con(Molecule&); \
double calc_intco(Molecule&, double* =0, double =1); \
classname(StateIn&); \
void save_data_state(StateOut&)
#define SimpleCo_IMPL_eq(classname) \
SimpleCo& classname::operator=(const SimpleCo& c) \
{ \
classname *cp = dynamic_cast<classname*>((SimpleCo*)&c); \
if(cp) { \
*this=*cp; \
} \
else { \
natoms_ = 0; \
atoms = 0; \
} \
\
return *this; \
}
#define SimpleCo_IMPL_StateIn(classname) \
classname::classname(StateIn&si): \
SimpleCo(si) \
{ \
}
#define SimpleCo_IMPL_save_data_state(classname) \
void classname::save_data_state(StateOut&so) \
{ \
SimpleCo::save_data_state(so); \
}
#define SimpleCo_IMPL(classname) \
SimpleCo_IMPL_eq(classname) \
SimpleCo_IMPL_StateIn(classname) \
SimpleCo_IMPL_save_data_state(classname)
// ///////////////////////////////////////////////////////////////////////
/**
The StreSimpleCo class describes an stretch internal coordinate of a
molecule. The input is described in the documentation of its parent
class SimpleCo.
Designating the two atoms as \f$a\f$ and \f$b\f$ and their cartesian
positions as \f$\bar{r}_a\f$ and \f$\bar{r}_b\f$, the value of the
coordinate, \f$r\f$, is \f[ r = \| \bar{r}_a - \bar{r}_b \| \f] */
class StreSimpleCo : public SimpleCo {
SimpleCo_DECLARE(StreSimpleCo);
public:
StreSimpleCo();
StreSimpleCo(const StreSimpleCo&);
/** This constructor takes a string containing a label, and two integers
which are the indices of the atoms we're measuring the distance between.
Atom numbering begins at atom 1, not atom 0. */
StreSimpleCo(const char*, int, int);
/** The KeyVal constructor. This calls the SimpleCo keyval constructor
with an integer argument of 2. */
StreSimpleCo(const Ref<KeyVal>&);
~StreSimpleCo();
/// Always returns the string "STRE".
const char * ctype() const;
/// Returns the distance between the two atoms in atomic units.
double bohr() const;
/// Returns the distance between the two atoms in angstrom units.
double angstrom() const;
/// Returns the distance between the two atoms in angstrom units.
double preferred_value() const;
};
typedef StreSimpleCo Stre;
// ///////////////////////////////////////////////////////////////////////
static const double rtd = 180.0/M_PI;
/** The BendSimpleCo class describes an bend internal coordinate of a
molecule. The input is described in the documentation of its parent class
SimpleCo.
Designating the three atoms as \f$a\f$, \f$b\f$, and \f$c\f$ and their
cartesian positions as \f$\bar{r}_a\f$, \f$\bar{r}_b\f$, and
\f$\bar{r}_c\f$, the value of the coordinate, \f$\theta\f$, is given by
\f[ \bar{u}_{ab} = \frac{\bar{r}_a - \bar{r}_b}{\| \bar{r}_a - \bar{r}_b \|}\f]
\f[ \bar{u}_{cb} = \frac{\bar{r}_c - \bar{r}_b}{\| \bar{r}_c - \bar{r}_b \|}\f]
\f[ \theta = \arccos ( \bar{u}_{ab} \cdot \bar{u}_{cb} ) \f]
*/
class BendSimpleCo : public SimpleCo {
SimpleCo_DECLARE(BendSimpleCo);
public:
BendSimpleCo();
BendSimpleCo(const BendSimpleCo&);
/** This constructor takes a string containing a label, and three
integers a, b, and c which give the indices of the atoms involved in
the angle abc. Atom numbering begins at atom 1, not atom 0. */
BendSimpleCo(const char*, int, int, int);
/** The KeyVal constructor. This calls the SimpleCo keyval constructor
with an integer argument of 3. */
BendSimpleCo(const Ref<KeyVal>&);
~BendSimpleCo();
/// Always returns the string "BEND".
const char * ctype() const;
/// Returns the value of the angle abc in radians.
double radians() const;
/// Returns the value of the angle abc in degrees.
double degrees() const;
/// Returns the value of the angle abc in degrees.
double preferred_value() const;
};
typedef BendSimpleCo Bend;
// ///////////////////////////////////////////////////////////////////////
/**
The TorsSimpleCo class describes an torsion internal coordinate of a
molecule. The input is described in the documentation of its parent
class SimpleCo.
Designating the four atoms as \f$a\f$, \f$b\f$, \f$c\f$, and \f$d\f$ and
their cartesian positions as \f$\bar{r}_a\f$, \f$\bar{r}_b\f$,
\f$\bar{r}_c\f$, and \f$\bar{r}_d\f$, the value of the coordinate,
\f$\tau\f$, is given by
\f[ \bar{u}_{ab} = \frac{\bar{r}_a - \bar{r}_b}{\| \bar{r}_a - \bar{r}_b \|}\f]
\f[ \bar{u}_{cb} = \frac{\bar{r}_c - \bar{r}_b}{\| \bar{r}_c - \bar{r}_b \|}\f]
\f[ \bar{u}_{cd} = \frac{\bar{r}_c - \bar{r}_d}{\| \bar{r}_c - \bar{r}_b \|}\f]
\f[ \bar{n}_{abc}= \frac{\bar{u}_{ab} \times \bar{u}_{cb}}
{\| \bar{u}_{ab} \times \bar{u}_{cb} \|} \f]
\f[ \bar{n}_{bcd}= \frac{\bar{u}_{cd} \times \bar{u}_{bc}}
{\| \bar{u}_{cd} \times \bar{u}_{bc} \|} \f]
\f[ s = \left\{
\begin{array}{ll}
1 & \mbox{if $(\bar{n}_{abc}\times\bar{n}_{bcd}) \cdot \bar{u}_{cb}
> 0;$} \\
-1 & \mbox{otherwise}
\end{array} \right.
\f]
\f[ \tau = s \arccos ( - \bar{n}_{abc} \cdot \bar{n}_{bcd} ) \f]
*/
class TorsSimpleCo : public SimpleCo {
SimpleCo_DECLARE(TorsSimpleCo);
public:
TorsSimpleCo();
TorsSimpleCo(const TorsSimpleCo&);
/** This constructor takes a string containing a label, and four
integers a, b, c, and d which give the indices of the atoms involved in
the torsion angle abcd. Atom numbering begins at atom 1, not atom 0. */
TorsSimpleCo(const char *refr, int, int, int, int);
/** The KeyVal constructor. This calls the
SimpleCo keyval constructor with an integer argument of 4. */
TorsSimpleCo(const Ref<KeyVal>&);
~TorsSimpleCo();
/// Always returns the string "TORS".
const char * ctype() const;
/// Returns the value of the angle abc in radians.
double radians() const;
/// Returns the value of the angle abc in degrees.
double degrees() const;
/// Returns the value of the angle abc in degrees.
double preferred_value() const;
};
typedef TorsSimpleCo Tors;
// ///////////////////////////////////////////////////////////////////////
/**
The ScaledTorsSimpleCo class describes an scaled torsion internal
coordinate of a molecule. The scaled torsion is more stable that ordinary
torsions (see the TorsSimpleCo class) in describing situations
where one of the torsions plane's is given by three near linear atoms.
Designating the four atoms as \f$a\f$, \f$b\f$, \f$c\f$, and \f$d\f$ and
their cartesian positions as \f$\bar{r}_a\f$, \f$\bar{r}_b\f$,
\f$\bar{r}_c\f$, and \f$\bar{r}_d\f$, the value of the coordinate,
\f$\tau_s\f$, is given by
\f[ \bar{u}_{ab} = \frac{\bar{r}_a - \bar{r}_b}{\| \bar{r}_a - \bar{r}_b \|}\f]
\f[ \bar{u}_{cb} = \frac{\bar{r}_c - \bar{r}_b}{\| \bar{r}_c - \bar{r}_b \|}\f]
\f[ \bar{u}_{cd} = \frac{\bar{r}_c - \bar{r}_d}{\| \bar{r}_c - \bar{r}_b \|}\f]
\f[ \bar{n}_{abc}= \frac{\bar{u}_{ab} \times \bar{u}_{cb}}
{\| \bar{u}_{ab} \times \bar{u}_{cb} \|}\f]
\f[ \bar{n}_{bcd}= \frac{\bar{u}_{cd} \times \bar{u}_{cb}}
{\| \bar{u}_{cd} \times \bar{u}_{cb} \|}\f]
\f[ s = \left\{
\begin{array}{ll}
-1 & \mbox{if $(\bar{n}_{abc}\times\bar{n}_{bcd})
\cdot \bar{u}_{cb} > 0$} \\
1 & \mbox{otherwise}
\end{array}
\right.
\f]
\f[ \tau_s = s \sqrt{\left(1-(\bar{u}_{ab} \cdot \bar{u}_{cb}\right)^2)
\left(1-(\bar{u}_{cb} \cdot \bar{u}_{cd}\right)^2)}
\arccos ( - \bar{n}_{abc} \cdot \bar{n}_{bcd} )\f]
*/
class ScaledTorsSimpleCo : public SimpleCo {
SimpleCo_DECLARE(ScaledTorsSimpleCo);
private:
double old_torsion_;
public:
ScaledTorsSimpleCo();
ScaledTorsSimpleCo(const ScaledTorsSimpleCo&);
/** This constructor takes a string containing a label, and four
integers a, b, c, and d which give the indices of the atoms involved in
the torsion angle abcd. Atom numbering begins at atom 1, not atom 0. */
ScaledTorsSimpleCo(const char *refr, int, int, int, int);
/** The KeyVal constructor. This calls the
SimpleCo keyval constructor with an integer argument of 4. */
ScaledTorsSimpleCo(const Ref<KeyVal>&);
~ScaledTorsSimpleCo();
/// Always returns the string "TORS".
const char * ctype() const;
/// Returns the value of the angle abc in radians.
double radians() const;
/// Returns the value of the angle abc in degrees.
double degrees() const;
/// Returns the value of the angle abc in degrees.
double preferred_value() const;
};
typedef ScaledTorsSimpleCo ScaledTors;
// ///////////////////////////////////////////////////////////////////////
/*
The OutSimpleCo class describes an out-of-plane internal coordinate
of a molecule. The input is described in the documentation of its parent
class SimpleCo.
Designating the four atoms as \f$a\f$, \f$b\f$, \f$c\f$, and \f$d\f$ and
their cartesian positions as \f$\bar{r}_a\f$, \f$\bar{r}_b\f$,
\f$\bar{r}_c\f$, and \f$\bar{r}_d\f$, the value of the coordinate,
\f$\tau\f$, is given by
\f[ \bar{u}_{ab} = \frac{\bar{r}_a - \bar{r}_b}{\| \bar{r}_a - \bar{r}_b \|}\f]
\f[ \bar{u}_{cb} = \frac{\bar{r}_b - \bar{r}_c}{\| \bar{r}_c - \bar{r}_b \|}\f]
\f[ \bar{u}_{db} = \frac{\bar{r}_c - \bar{r}_d}{\| \bar{r}_c - \bar{r}_b \|}\f]
\f[ \bar{n}_{bcd}= \frac{\bar{u}_{cb} \times \bar{u}_{db}}
{\| \bar{u}_{cb} \times \bar{u}_{db} \|}\f]
\f[ \phi = \arcsin ( \bar{u}_{ab} \cdot \bar{n}_{bcd} )\f]
*/
class OutSimpleCo : public SimpleCo {
SimpleCo_DECLARE(OutSimpleCo);
public:
OutSimpleCo();
OutSimpleCo(const OutSimpleCo&);
/** This constructor takes a string containing a label, and four
integers a, b, c, and d which give the indices of the atoms involved in
the out-of-plane angle abcd. Atom numbering begins at atom 1, not
atom 0. */
OutSimpleCo(const char *refr, int, int, int, int);
/** The KeyVal constructor. This calls the SimpleCo keyval
constructor with an integer argument of 4. */
OutSimpleCo(const Ref<KeyVal>&);
~OutSimpleCo();
/// Always returns the string "OUT".
const char * ctype() const;
/// Returns the value of the angle abc in radians.
double radians() const;
/// Returns the value of the angle abc in degrees.
double degrees() const;
/// Returns the value of the angle abc in degrees.
double preferred_value() const;
};
typedef OutSimpleCo Out;
// ///////////////////////////////////////////////////////////////////////
/** The LinIPSimpleCo class describes an in-plane component of a linear
bend internal coordinate of a molecule. The input is described in the
documentation of its parent class SimpleCo. A vector, \f$\bar{u}\f$, given
as the keyword u, that is not colinear with either \f$\bar{r}_a -
\bar{r}_b\f$ or \f$\bar{r}_b - \bar{r}_c\f$ must be provided, where
\f$\bar{r}_a\f$, \f$\bar{r}_b\f$, and \f$\bar{r}_c\f$ are the positions of
the first, second, and third atoms, respectively.
Usually, LinIPSimpleCo is used with a corresponding LinOPSimpleCo, which
is given exactly the same u.
Designating the three atoms as \f$a\f$, \f$b\f$, and \f$c\f$ and their
cartesian positions as \f$\bar{r}_a\f$, \f$\bar{r}_b\f$, and
\f$\bar{r}_c\f$, the value of the coordinate, \f$\theta_i\f$, is given by
\f[ \bar{u}_{ab} = \frac{\bar{r}_a - \bar{r}_b}{\| \bar{r}_a - \bar{r}_b \|}\f]
\f[ \bar{u}_{cb} = \frac{\bar{r}_b - \bar{r}_c}{\| \bar{r}_c - \bar{r}_b \|}\f]
\f[ \theta_i = \pi - \arccos ( \bar{u}_{ab} \cdot \bar{u} )
- \arccos ( \bar{u}_{cb} \cdot \bar{u} )\f]
*/
class LinIPSimpleCo : public SimpleCo {
SimpleCo_DECLARE(LinIPSimpleCo);
private:
SCVector3 u2;
public:
LinIPSimpleCo();
LinIPSimpleCo(const LinIPSimpleCo&);
/** This constructor takes a string containing a label, and three
integers a, b, and d which give the indices of the atoms involved in
the linear angle abc. The last argument, u, is a unit vector
used to defined the direction in which distortion is measured.
Atom numbering begins at atom 1, not atom 0. */
LinIPSimpleCo(const char *refr, int, int, int, const SCVector3 &u);
/** The KeyVal constructor. This calls the SimpleCo keyval
constructor with an integer argument of 3. */
LinIPSimpleCo(const Ref<KeyVal>&);
~LinIPSimpleCo();
/// Always returns the string "LINIP".
const char * ctype() const;
/// Returns the value of the angle abc in radians.
double radians() const;
/// Returns the value of the angle abc in degrees.
double degrees() const;
/// Returns the value of the angle abc in degrees.
double preferred_value() const;
};
typedef LinIPSimpleCo LinIP;
// ///////////////////////////////////////////////////////////////////////
/** The LinOPSimpleCo class describes an out-of-plane component of a linear
bend internal coordinate of a molecule. The input is described in the
documentation of its parent class SimpleCo. A vector, \f$\bar{u}\f$, given
as the keyword u, that is not colinear with either \f$\bar{r}_a -
\bar{r}_b\f$ or \f$\bar{r}_b - \bar{r}_c\f$ must be provided, where
\f$\bar{r}_a\f$, \f$\bar{r}_b\f$, and \f$\bar{r}_c\f$ are the positions of
the first, second, and third atoms, respectively.
Usually, LinOPSimpleCo is used with a corresponding LinIPSimpleCo, which
is given exactly the same u.
Designating the three atoms as \f$a\f$, \f$b\f$, and \f$c\f$ and their
cartesian positions as \f$\bar{r}_a\f$, \f$\bar{r}_b\f$, and
\f$\bar{r}_c\f$, the value of the coordinate, \f$\theta_o\f$, is given by
\f[ \bar{u}_{ab} = \frac{\bar{r}_a - \bar{r}_b}{\| \bar{r}_a - \bar{r}_b \|}\f]
\f[ \bar{u}_{cb} = \frac{\bar{r}_b - \bar{r}_c}{\| \bar{r}_c - \bar{r}_b \|}\f]
\f[ \bar{n} = \frac{\bar{u} \times \bar{u}_{ab}}
{\| \bar{u} \times \bar{u}_{ab} \|}\f]
\f[ \theta_o = \pi - \arccos ( \bar{u}_{ab} \cdot \bar{n} )
- \arccos ( \bar{u}_{cb} \cdot \bar{n} )\f]
*/
class LinOPSimpleCo : public SimpleCo {
SimpleCo_DECLARE(LinOPSimpleCo);
private:
SCVector3 u2;
public:
LinOPSimpleCo();
LinOPSimpleCo(const LinOPSimpleCo&);
/** This constructor takes a string containing a label, and three
integers a, b, and c which give the indices of the atoms involved in
the linear angle abc. The last argument, u, is a unit vector used to
defined the direction perpendicular to the direction in which
distortion is measured. Atom numbering begins at atom 1, not atom 0. */
LinOPSimpleCo(const char *refr, int, int, int, const SCVector3 &u);
/** The KeyVal constructor. This calls the
SimpleCo keyval constructor with an integer argument of 3. */
LinOPSimpleCo(const Ref<KeyVal>&);
~LinOPSimpleCo();
/// Always returns the string "LINIP".
const char * ctype() const;
/// Returns the value of the angle abc in radians.
double radians() const;
/// Returns the value of the angle abc in degrees.
double degrees() const;
/// Returns the value of the angle abc in degrees.
double preferred_value() const;
};
typedef LinOPSimpleCo LinOP;
}
#endif /* _intco_simple_h */
// Local Variables:
// mode: c++
// c-file-style: "CLJ"
// End:
|