| 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 | 
| 44 | 
  | 
#include "primitives/Molecule.hpp" | 
| 45 | 
  | 
namespace oopse { | 
| 46 | 
  | 
 | 
| 47 | 
< | 
struct ZconstraintParam { | 
| 48 | 
< | 
    double zTargetPos;   /**< target zconstraint position */ | 
| 49 | 
< | 
    double kz;                  /**< force constant */ | 
| 50 | 
< | 
    double cantVel;         /**< The velocity of cantilever */ | 
| 51 | 
< | 
}; | 
| 47 | 
> | 
  struct ZconstraintParam { | 
| 48 | 
> | 
    RealType zTargetPos;   /**< target zconstraint position */ | 
| 49 | 
> | 
    RealType kz;                  /**< force constant */ | 
| 50 | 
> | 
    RealType cantVel;         /**< The velocity of cantilever */ | 
| 51 | 
> | 
  }; | 
| 52 | 
  | 
 | 
| 53 | 
< | 
struct ZconstraintMol { | 
| 53 | 
> | 
  struct ZconstraintMol { | 
| 54 | 
  | 
    Molecule* mol; | 
| 55 | 
  | 
    ZconstraintParam param; | 
| 56 | 
< | 
    double fz; | 
| 57 | 
< | 
    double zpos; | 
| 58 | 
< | 
    double cantPos;         /**< current position of cantilever */ | 
| 59 | 
< | 
    double endFixingTime;     | 
| 60 | 
< | 
}; | 
| 56 | 
> | 
    RealType fz; | 
| 57 | 
> | 
    RealType zpos; | 
| 58 | 
> | 
    RealType cantPos;         /**< current position of cantilever */ | 
| 59 | 
> | 
    RealType endFixingTime;     | 
| 60 | 
> | 
  }; | 
| 61 | 
  | 
 | 
| 62 | 
  | 
 | 
| 63 | 
< | 
struct ZconsData{ | 
| 63 | 
> | 
  struct ZconsData{ | 
| 64 | 
  | 
    int zmolIndex; | 
| 65 | 
< | 
    double zforce; | 
| 66 | 
< | 
    double zpos; | 
| 67 | 
< | 
    double zconsPos; | 
| 68 | 
< | 
}; | 
| 65 | 
> | 
    RealType zforce; | 
| 66 | 
> | 
    RealType zpos; | 
| 67 | 
> | 
    RealType zconsPos; | 
| 68 | 
> | 
  }; | 
| 69 | 
  | 
 | 
| 70 | 
  | 
} | 
| 71 | 
  | 
 |