#include <stdio.h>#include <stdlib.h>#include <math.h>#include "Measure.h"#include "AtomSel.h"#include "utilities.h"#include "ResizeArray.h"#include "MoleculeList.h"#include "Inform.h"#include "Timestep.h"#include "VMDApp.h"#include "WKFThreads.h"#include "WKFUtils.h"#include "CUDAAccel.h"#include "CUDAKernels.h"Go to the source code of this file.
Defines | |
| #define | MIN(X, Y) (((X)<(Y))? (X) : (Y)) |
| #define | MAX(X, Y) (((X)>(Y))? (X) : (Y)) |
Functions | |
| double | spherical_cap (const double &radius, const double &boxby2) |
| the volume of a sperical cap. More... | |
| void | rdf_cpu (int natoms1, float *xyz, int natoms2, float *xyz2, float *cell, float *hist, int maxbin, float rmin, float delr) |
| int | measure_rdf (VMDApp *app, AtomSel *sel1, AtomSel *sel2, MoleculeList *mlist, const int count_h, double *gofr, double *numint, double *histog, const float delta, int first, int last, int step, int *framecntr, int usepbc, int selupdate) |
|
|
Definition at line 39 of file MeasureRDF.C. |
|
|
Definition at line 38 of file MeasureRDF.C. |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||
|
Definition at line 50 of file MeasureRDF.C. References MIN. Referenced by measure_rdf. |
|
||||||||||||
|
the volume of a sperical cap. the volume of a spherical cap is defined as: pi / 9 * h^2 * (3 * r - h)with h = height of cap = radius - boxby2. Definition at line 45 of file MeasureRDF.C. References VMD_PI. Referenced by measure_gofr, and measure_rdf. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002