78 template<
class Coordinates>
IntegralType
Specifies the two points between which a line integral is computed.
Definition: IntegralType.h:34
Stores information about interactions between two interactable objects; often particles but could be ...
Definition: BaseInteraction.h:60
Definition: BaseParticle.h:54
Defines the non-averaged directions on which spatial coarse-graining is applied (the x-direction for ...
Definition: R.h:52
Defines the position of the CGPoint (e.g. x, y, z) and the parameters of the Gauss coarse-graining fu...
Definition: Gauss.h:80
Mdouble evaluateCylindricalCGFunction(const Vec3D &position, const CGCoordinates::R r)
Definition: Gauss.h:156
Mdouble evaluateCGFunctionDerivativeWithFD(const Vec3D &position, const Coordinates &r, const int i)
~Gauss()=default
Destructor, does nothing, as no new'ed objects are used.
void setWidth(Mdouble width)
Sets the width of the coarse-graining function.
Mdouble getCutoff() const
Returns the cutoff of the coarse-graining function.
unsigned currentInteraction_
Definition: Gauss.h:218
Mdouble evaluateCGIntegral1D(const BaseInteraction &i, const Coordinates r, IntegralType type=IntegralType::I_TO_P)
Evaluates the line integral needed for the calculation of stresses for 1D CGCoordinates.
Mdouble getEps() const
Returns the finite difference step size used to evaluate derivatives of the CG function.
Mdouble evaluateCylindricalCGIntegral(const BaseInteraction &c, const CGCoordinates::R r, IntegralType type=IntegralType::I_TO_P)
Definition: Gauss.h:165
Coordinates CoordinatesType
Definition: Gauss.h:83
Mdouble getWidth() const
Returns the width of the coarse-graining function.
Gauss(const Gauss &c)=default
Copy constructor. It copies the GaussCoordinates and all objects it contains.
Mdouble integralPrefactor_
Definition: Gauss.h:207
Mdouble prefactor_
Definition: Gauss.h:200
Mdouble width_
Definition: Gauss.h:188
void setStandardDeviation(Mdouble std)
Sets the standard deviation of the coarse-graining function.
Mdouble evaluateCGFunction(const Vec3D &position, const Coordinates r)
Evaluates the coarse-graining function.
Vec3D normal_
Definition: Gauss.h:211
void setEps(Mdouble eps)
Sets the finite difference step size used to evaluate derivatives of the CG function.
Vec3D evaluateCGFunctionDerivatives(const Vec3D &position, const Coordinates &r)
Mdouble cutoff_
Definition: Gauss.h:194
Mdouble evaluateCGIntegral(const BaseInteraction &i, const Coordinates r, IntegralType type=IntegralType::I_TO_P)
Evaluates the line integral needed for the calculation of stresses.
void setWidthAndCutoff(Mdouble width, Mdouble cutoff)
Sets the width and cutoff of the coarse-graining function.
Mdouble eps_
Definition: Gauss.h:223
Gauss()
Default constructor, it simply creates an empty GaussCoordinates.
void write(std::ostream &os) const
Writes class content into an output stream, usually a stat file.
Mdouble normalLength_
Definition: Gauss.h:209
Template argument; use a member class of CGCoordinates to instantiate.
The DPMBase header includes quite a few header files, defining all the handlers, which are essential....
Definition: DPMBase.h:77
Contains base classes of CGPoint; CGPoint is always templated with one of these classes; these classe...
Definition: Gauss.h:48
CGFunctions::Gauss< CGCoordinates::X > GaussX
Defines a short notation for the Gaussian CGFunction templated with a certain CGCoordinate.
Definition: Gauss.h:230
CGFunctions::Gauss< CGCoordinates::XYZ > GaussXYZ
Defines a short notation for the Gaussian CGFunction templated with a certain CGCoordinate.
Definition: Gauss.h:242
CGFunctions::Gauss< CGCoordinates::R > GaussR
Defines a short notation for the Gaussian CGFunction templated with a certain CGCoordinate.
Definition: Gauss.h:244
CGFunctions::Gauss< CGCoordinates::XY > GaussXY
Defines a short notation for the Gaussian CGFunction templated with a certain CGCoordinate.
Definition: Gauss.h:240
CGFunctions::Gauss< CGCoordinates::Z > GaussZ
Defines a short notation for the Gaussian CGFunction templated with a certain CGCoordinate.
Definition: Gauss.h:234
CGFunctions::Gauss< CGCoordinates::YZ > GaussYZ
Defines a short notation for the Gaussian CGFunction templated with a certain CGCoordinate.
Definition: Gauss.h:236
CGFunctions::Gauss< CGCoordinates::XZ > GaussXZ
Defines a short notation for the Gaussian CGFunction templated with a certain CGCoordinate.
Definition: Gauss.h:238
CGFunctions::Gauss< CGCoordinates::O > GaussO
Defines a short notation for the Gaussian CGFunction templated with a certain CGCoordinate.
Definition: Gauss.h:228
CGFunctions::Gauss< CGCoordinates::Y > GaussY
Defines a short notation for the Gaussian CGFunction templated with a certain CGCoordinate.
Definition: Gauss.h:232
const Mdouble NaN
Definition: GeneralDefine.h:43
const std::complex< Mdouble > i
Definition: ExtendedMath.h:51