STORMM Source Documentation
Loading...
Searching...
No Matches
structure_ops.h
1// -*-c++-*-
2#ifndef STORMM_STRUCTURE_OPS_H
3#define STORMM_STRUCTURE_OPS_H
4
5#include "copyright.h"
6#include "DataTypes/stormm_vector_types.h"
7#include "Topology/atomgraph.h"
8#include "Trajectory/coordinateframe.h"
9#include "Trajectory/phasespace.h"
10
11namespace stormm {
12namespace structure {
13
14using topology::AtomGraph;
15using trajectory::CoordinateFrame;
16using trajectory::PhaseSpace;
17
42double3 centerOfMass(const AtomGraph &ag, const PhaseSpace &ps, int mol_index);
43
44double3 centerOfMass(const AtomGraph *ag, const PhaseSpace *ps, int mol_index);
45
46double3 centerOfMass(const AtomGraph &ag, const CoordinateFrame &cf, int mol_index);
47
48double3 centerOfMass(const AtomGraph *ag, const CoordinateFrame *cf, int mol_index);
49
50double3 centerOfMass(const double* xcrd, const double* ycrd, const double* zcrd,
51 const double* masses, int mol_start = 0, int mol_end = 0,
52 const int* mol_contents = nullptr);
54
80double3 molecularTorque(const AtomGraph &ag, const PhaseSpace &ps, int mol_index = 0);
81
82double3 molecularTorque(const AtomGraph *ag, const PhaseSpace *ps, int mol_index = 0);
83
84double3 molecularTorque(const double* xcrd, const double* ycrd, const double* zcrd,
85 const double* xfrc, const double* yfrc, const double* zfrc,
86 const double* masses, const int* mol_contents, int mol_start, int mol_end);
88
89
90} // namespace structure
91} // namespace stormm
92
93#endif
A struct to hold information relating to an Amber topology. This struct's member functions are limite...
Definition atomgraph.h:50
Store the coordinates and box information for a frame, only. This abridged struct can serve when the ...
Definition coordinateframe.h:111
An object to complement a topology and hold positions, velocities, and forces of all particles in a s...
Definition phasespace.h:141
Definition stormm_vector_types.h:117