Gromacs  2024.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Enumerations | Functions | Variables
#include "gmxpre.h"
#include "angle.h"
#include <algorithm>
#include <memory>
#include <vector>
#include "gromacs/analysisdata/analysisdata.h"
#include "gromacs/analysisdata/modules/average.h"
#include "gromacs/analysisdata/modules/histogram.h"
#include "gromacs/analysisdata/modules/plot.h"
#include "gromacs/math/units.h"
#include "gromacs/math/vec.h"
#include "gromacs/options/basicoptions.h"
#include "gromacs/options/filenameoption.h"
#include "gromacs/options/ioptionscontainer.h"
#include "gromacs/pbcutil/pbc.h"
#include "gromacs/selection/selection.h"
#include "gromacs/selection/selectionoption.h"
#include "gromacs/trajectory/trajectoryframe.h"
#include "gromacs/trajectoryanalysis/analysissettings.h"
#include "gromacs/utility/classhelpers.h"
#include "gromacs/utility/enumerationhelpers.h"
#include "gromacs/utility/exceptions.h"
#include "gromacs/utility/gmxassert.h"
#include "gromacs/utility/stringutil.h"
+ Include dependency graph for angle.cpp:

Description

Implements gmx::analysismodules::Angle.

Author
Teemu Murtola teemu.nosp@m..mur.nosp@m.tola@.nosp@m.gmai.nosp@m.l.com

Classes

class  gmx::analysismodules::anonymous_namespace{angle.cpp}::AnglePositionIterator
 Helper to encapsulate logic for looping over input selections. More...
 

Enumerations

enum  gmx::analysismodules::anonymous_namespace{angle.cpp}::Group1Type : int {
  Angle, Dihedral, Vector, Plane,
  Count
}
 How to interpret the selections in -group1.
 
enum  gmx::analysismodules::anonymous_namespace{angle.cpp}::Group2Type : int {
  None, Vector, Plane, TimeZero,
  Z, SphereNormal, Count
}
 How to interpret the selections in -group2.
 

Functions

void gmx::analysismodules::anonymous_namespace{angle.cpp}::calc_vec (int natoms, rvec x[], t_pbc *pbc, rvec xout, rvec cout)
 Helper method to calculate a vector from two or three positions.
 

Variables

const EnumerationArray
< Group1Type, const char * > 
gmx::analysismodules::anonymous_namespace{angle.cpp}::c_group1TypeEnumNames
 String values corresponding to Group1Type. More...
 
const EnumerationArray
< Group2Type, const char * > 
gmx::analysismodules::anonymous_namespace{angle.cpp}::c_group2TypeEnumNames
 String values corresponding to Group2Type. More...