| 1 | < | /* | 
| 1 | > | /* | 
| 2 |  | * Copyright (c) 2005 The University of Notre Dame. All Rights Reserved. | 
| 3 |  | * | 
| 4 |  | * The University of Notre Dame grants you ("Licensee") a | 
| 42 |  | #include "primitives/UreyBradleyBend.hpp" | 
| 43 |  |  | 
| 44 |  | namespace oopse { | 
| 45 | < | UreyBradleyBend::UreyBradleyBend(Atom* atom1, Atom* atom2, Atom* atom3, UreyBradleyBendType* bt) | 
| 46 | < | : Bend(atom1, atom2, atom3, bt), bond_(NULL){ | 
| 47 | < | bond_ = new Bond(atom1, atom3, bt->getHarmonicBondType()); | 
| 48 | < | } | 
| 45 | > | UreyBradleyBend::UreyBradleyBend(Atom* atom1, Atom* atom2, Atom* atom3, UreyBradleyBendType* bt) | 
| 46 | > | : Bend(atom1, atom2, atom3, bt), bond_(NULL){ | 
| 47 | > | bond_ = new Bond(atom1, atom3, bt->getHarmonicBondType()); | 
| 48 | > | } | 
| 49 |  |  | 
| 50 | < | UreyBradleyBend::~UreyBradleyBend() { | 
| 50 | > | UreyBradleyBend::~UreyBradleyBend() { | 
| 51 |  | delete bond_; | 
| 52 | < | } | 
| 52 | > | } | 
| 53 |  |  | 
| 54 | < | void UreyBradleyBend::calcForce() { | 
| 54 | > | void UreyBradleyBend::calcForce() { | 
| 55 |  | Bend::calcForce(); | 
| 56 |  | bond_->calcForce(); | 
| 57 | < | } | 
| 57 | > | } | 
| 58 |  |  | 
| 59 |  | } //end namespace oopse |