27#if !defined(LOOSDEFS_HPP)
33#error LOOS Requires GCC-4.0.1 or higher
38#if !defined(BOOST_VERSION)
39#include <boost/version.hpp>
42#if (((BOOST_VERSION / 100) % 1000) < 36)
43#error LOOS require Boost 1.36 or higher
50#if defined(REQUIRES_UINT)
51typedef unsigned int uint;
54#if defined(REQUIRES_ULONG)
55typedef unsigned long ulong;
58#if defined(__linux__) || defined(__CYGWIN__) || defined(__FreeBSD__)
62 void dsyev_(
char*,
char*,
int*,
double*,
int*,
double*,
double*,
int*,
int*);
63 void dgesvd_(
char*,
char*,
int*,
int*,
double*,
int*,
double*,
double*,
int*,
double*,
int*,
double*,
int*,
int*);
64 void dgesvj_(
char*,
char*,
char*,
int*,
int*,
double*,
int*,
double*,
int*,
double*,
int*,
double*,
int*,
int*);
65 void dgemm_(
const char*
const,
const char*
const,
const int*
const,
const int*
const,
const int*
const,
66 const double*
const,
const double*
const,
const int*
const,
const double*
const,
67 const int*
const,
const double*
const,
double* consnt,
const int*
const);
68 void dggev_(
char*,
char*,
int*,
double*,
int*,
double*,
int*,
double*,
double*,
double*,
double*,
int*,
double*,
int*,
double*,
int*,
int*);
70 void sgesvd_(
char*,
char*,
int*,
int*,
float*,
int*,
float*,
float*,
int*,
float*,
int*,
float*,
int*,
int*);
71 void sgemm_(
char*,
char*,
int*,
int*,
int*,
float*,
float*,
int*,
float*,
int*,
float*,
float*,
int*);
72 void sggev_(
char*,
char*,
int*,
float*,
int*,
float*,
int*,
float*,
float*,
float*,
float*,
int*,
float*,
int*,
float*,
int*,
int*);
73 void ssyev_(
char*,
char*,
int*,
float*,
int*,
float*,
float*,
int*,
int*);
74 void dsyev_(
char*,
char*,
int*,
double*,
int*,
double*,
double*,
int*,
int*);
75 void ssygv_(
int*,
char*,
char*,
int*,
float*,
int*,
float*,
int*,
float*,
float*,
int*,
int*);
76 void ssygvx_(
int*,
char*,
char*,
char*,
int*,
float*,
int*,
float*,
int*,
float*,
float*,
int*,
int*,
float*,
int*,
float*,
float*,
int*,
float*,
int*,
int*,
int*,
int*);
77 void dgels_(
char*,
int*,
int*,
int*,
double*,
int*,
double*,
int*,
double*,
int*,
int*);
78 double dlamch_(
const char*);
84#elif defined(__APPLE__)
88#include <boost/random.hpp>
90#include <Accelerate/Accelerate.h>
93typedef __CLPK_integer f77int;
97#error You are building in an unsupported environment. You will need to specify how to access ATLAS.
105#include <boost/shared_ptr.hpp>
106#include <boost/tuple/tuple.hpp>
113 typedef double greal;
116 typedef float dcd_real;
117 typedef double dcd_double;
119 template<
typename T>
class Coord;
122 typedef Coord<double> GCoord;
123 typedef boost::shared_ptr<GCoord> pGCoord;
126 class TrajectoryWriter;
143 typedef boost::shared_ptr<Atom> pAtom;
144 typedef boost::shared_ptr<Trajectory> pTraj;
145 typedef boost::shared_ptr<DCD> pDCD;
146 typedef boost::shared_ptr<AmberTraj> pAmberTraj;
147 typedef boost::shared_ptr<AmberNetcdf> pAmberNetcdf;
148 typedef boost::shared_ptr<CCPDB> pCCPDB;
149 typedef boost::shared_ptr<TinkerArc> pTinkerArc;
150 typedef boost::shared_ptr<PDBTraj> pPDBTraj;
151 typedef boost::shared_ptr<XTC> pXTC;
152 typedef boost::shared_ptr<TRR> pTRR;
153 typedef boost::shared_ptr<TrajectoryWriter> pTrajectoryWriter;
167 typedef boost::shared_ptr<AtomicGroup> pAtomicGroup;
168 typedef boost::shared_ptr<PDB> pPDB;
169 typedef boost::shared_ptr<PSF> pPSF;
170 typedef boost::shared_ptr<Amber> pAmber;
171 typedef boost::shared_ptr<AmberRst> pAmberRst;
172 typedef boost::shared_ptr<TinkerXYZ> pTinkerXYZ;
173 typedef boost::shared_ptr<Gromacs> pGromacs;
174 typedef boost::shared_ptr<CHARMM> pCHARMM;
175 typedef boost::shared_ptr<MMCIF> pMMCIF;
181 const uint kilobytes = 1024;
182 const uint megabytes = 1024 * kilobytes;
183 const uint gigabytes = 1024 * megabytes;
Namespace for most things not already encapsulated within a class.
Definition version.cpp:3