Base_XY_XZ_YZ.h
Go to the documentation of this file.
1 // This file is part of the MercuryDPM project (https://www.mercurydpm.org).
2 // Copyright (c), The MercuryDPM Developers Team. All rights reserved.
3 // License: BSD 3-Clause License; see the LICENSE file in the root directory.
4 
5 #ifndef Base_XY_XZ_YZ_H
6 #define Base_XY_XZ_YZ_H
7 
8 #include <GeneralDefine.h>
9 #include <iostream>
10 #include "Math/Vector.h"
11 #include <vector>
12 #include "BaseCoordinates.h"
13 
14 class BaseParticle;
15 
16 class BaseInteraction;
17 
18 class DPMBase;
19 
20 namespace CGCoordinates
21 {
22 
29 {
30 public:
31 
36  static Mdouble getGaussPrefactor(Mdouble width, Mdouble cutoff);
37 
42  static Mdouble getGaussIntegralPrefactor(Mdouble distance, Mdouble width, Mdouble cutoff);
43 
48  static void normalisePolynomialCoefficients(std::vector<Mdouble>& coefficients, Mdouble cutoff);
49 
53  static const unsigned countVariables();
54 
55 };
56 
57 }
58 #endif
Stores information about interactions between two interactable objects; often particles but could be ...
Definition: BaseInteraction.h:39
Definition: BaseParticle.h:33
Contains common member functions of the X, Y, and Z classes.
Definition: BaseCoordinates.h:22
Contains common member functions of the XY, XZ, and YZ classes.
Definition: Base_XY_XZ_YZ.h:29
static const unsigned countVariables()
Definition: Base_XY_XZ_YZ.cc:49
static Mdouble getGaussIntegralPrefactor(Mdouble distance, Mdouble width, Mdouble cutoff)
Computes the prefactor of the Gauss line integral, which is dependent on the number of non-averaged d...
Definition: Base_XY_XZ_YZ.cc:18
static void normalisePolynomialCoefficients(std::vector< Mdouble > &coefficients, Mdouble cutoff)
Normalises the coefficients of Polynomial CGFunction such that the integral over all non-averaged dim...
Definition: Base_XY_XZ_YZ.cc:39
static Mdouble getGaussPrefactor(Mdouble width, Mdouble cutoff)
Computes the prefactor of the Gauss CGFunction, which is dependent on the number of non-averaged dime...
Definition: Base_XY_XZ_YZ.cc:11
The DPMBase header includes quite a few header files, defining all the handlers, which are essential....
Definition: DPMBase.h:56
The class in this namespace contain the position of a CGPoint, in the non-averaged directions,...
Definition: Base_X_Y_Z.h:21