Defines the position of the CGPoint (e.g. x, y, z) and the parameters of the ExactOverlap coarse-graining function (width and cutoff).
More...
|
| | ExactOverlap () |
| | Default constructor, it simply creates an empty ExactOverlapCoordinates. More...
|
| |
| | ExactOverlap (const ExactOverlap &c)=default |
| | Copy constructor. It copies the ExactOverlapCoordinates and all objects it contains. More...
|
| |
| | ~ExactOverlap ()=default |
| | Destructor, does nothing, as no new'ed objects are used. More...
|
| |
| void | write (std::ostream &os) const |
| | Writes class content into an output stream, usually a stat file. More...
|
| |
| void | setWidth (Mdouble width) |
| | Sets the width of the coarse-graining function. More...
|
| |
| Mdouble | getWidth () const |
| | Returns the width of the coarse-graining function. More...
|
| |
| void | setStandardDeviation (Mdouble std) |
| | Sets the standard deviation of the coarse-graining function. More...
|
| |
| void | setWidthAndCutoff (Mdouble width, Mdouble cutoff) |
| | Sets the width and cutoff of the coarse-graining function. More...
|
| |
| Mdouble | getCutoff () const |
| | Returns the cutoff of the coarse-graining function. More...
|
| |
| Vec3D | getCutoffVector (Mdouble radius, Vec3D cellSize) const |
| | Returns the cutoff of the coarse-graining function along each direction. More...
|
| |
| void | setEps (Mdouble eps) |
| | Returns the finite difference step size used to evaluate derivatives of the CG function. More...
|
| |
| Mdouble | evaluateCGFunction (const Vec3D &position, const Coordinates r) |
| | Evaluates the coarse-graining function. More...
|
| |
| Mdouble | evaluateCGFunction (const Vec3D &position, const Mdouble rad, const Coordinates r) |
| | Evaluates the coarse-graining function. More...
|
| |
| Vec3D | evaluateCGFunctionDerivatives (const Vec3D &position, const Coordinates &r) |
| |
| 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...
|
| |
template<class Coordinates>
class CGFunctions::ExactOverlap< Coordinates >
Defines the position of the CGPoint (e.g. x, y, z) and the parameters of the ExactOverlap coarse-graining function (width and cutoff).
The class is derived from a CGCoordinates class, thus it contains the position of the CGPoint in the non-averaged directions. It also contains the parameters of the ExactOverlap coarse-graining function (width and cutoff), as well as internal variables (not user-defined, but set by the code), like the prefactor of the ExactOverlap function (which depends on width, cutoff, and the coordinate type). It also contains all functions that only depend on the coordinate and function type; e.g. evaluateCGFunction and evaluateCGIntegral.
See CGFunctions for more details.