MercuryDPM  Trunk
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
CGFunctions::Lucy< Coordinates > Class Template Reference

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
 
void computeCoefficients ()
 
Mdouble evaluateCGFunction (const Vec3D &position, 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< MdoublegetCoefficients ()
 
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< Mdoublecoefficients_
 
PolynomialType polynomialType_
 
Mdouble normalLength_
 
Vec3D normal_
 
unsigned currentInteraction_
 
Mdouble cutoff_
 
Mdouble eps_
 

Detailed Description

template<class Coordinates>
class CGFunctions::Lucy< Coordinates >

A specialisation of Polynomials for PolynomialType::Lucy. See Polynomial for details.

Definition at line 38 of file Lucy.h.

Constructor & Destructor Documentation

template<class Coordinates >
CGFunctions::Lucy< Coordinates >::Lucy ( )
inline

Default constructor, simply sets the PolynomialType.

Definition at line 46 of file Lucy.h.

References CGFunctions::LUCY, and CGFunctions::Polynomial< Coordinates >::setPolynomialType().

46  : Polynomial<Coordinates>()
47  {
49  }
void setPolynomialType(PolynomialType polynomialType)

The documentation for this class was generated from the following file: