![]() |
|
A specialisation of Polynomials for PolynomialType::Lucy. See Polynomial for details. More...
#include <Lucy.h>
Inheritance diagram for CGFunctions::Lucy< Coordinates >:Public Member Functions | |
| Lucy () | |
| Default constructor, simply sets the PolynomialType. More... | |
Public Member Functions inherited from CGFunctions::Polynomial< Coordinates > | |
| Polynomial () | |
| Default constructor, sets all parameters to zero. More... | |
| Polynomial (const Polynomial &p)=default | |
| Copy constructor. It copies all objects the class contains. More... | |
| ~Polynomial ()=default | |
| Destructor, it simply destructs the PolynomialCoordinates and all the objects it contains. More... | |
| void | write (std::ostream &os) const |
| Writes class content into an output stream, usually a stat file. More... | |
| void | setPolynomialType (PolynomialType polynomialType) |
| void | setWidth (Mdouble width) |
| Set the cutoff radius. More... | |
| Mdouble | getWidth () const |
| void | setStandardDeviation (Mdouble std) |
| Set the standard deviation. More... | |
| void | setCutoff (Mdouble cutoff) |
| Mdouble | getCutoff () const |
| Vec3D | getCutoffVector (Mdouble radius, Vec3D cellSize) const |
| Returns the cutoff of the coarse-graining function along each direction. More... | |
| void | computeCoefficients () |
| Mdouble | evaluateCGFunction (const Vec3D &position, const Coordinates &r) |
| Evaluates the coarse-graining function. More... | |
| Mdouble | evaluateCGFunction (const Vec3D &position, Mdouble rad, const Coordinates &r) |
| Evaluates the coarse-graining function. More... | |
| Mdouble | evaluateCGIntegral (const BaseInteraction &i, const Coordinates &r, IntegralType type=IntegralType::I_TO_P) |
| Evaluates the line integral needed for the calculation of stresses. More... | |
| 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. More... | |
| std::vector< Mdouble > | getCoefficients () |
| Vec3D | evaluateCGFunctionDerivatives (const Vec3D &position, const Coordinates &r) |
| Mdouble | evaluateCGFunctionDerivativeWithFD (const Vec3D &position, const Coordinates &r, const int i) |
| Mdouble | getEps () const |
| Returns the finite difference step size used to evaluate derivatives of the CG function. More... | |
| void | setEps (Mdouble eps) |
| Sets the finite difference step size used to evaluate derivatives of the CG function. More... | |
Additional Inherited Members | |
Public Types inherited from CGFunctions::Polynomial< Coordinates > | |
| typedef Coordinates | CoordinatesType |
Protected Attributes inherited from CGFunctions::Polynomial< Coordinates > | |
| std::vector< Mdouble > | coefficients_ |
| PolynomialType | polynomialType_ |
| Mdouble | normalLength_ |
| Vec3D | normal_ |
| unsigned | currentInteraction_ |
| Mdouble | cutoff_ |
| Mdouble | eps_ |
A specialisation of Polynomials for PolynomialType::Lucy. See Polynomial for details.
|
inline |
Default constructor, simply sets the PolynomialType.
References CGFunctions::LUCY, and CGFunctions::Polynomial< Coordinates >::setPolynomialType().