NDDEM
Public Member Functions | Public Attributes | List of all members
LibBase Class Referenceabstract

A window base class that needs to be specialised to a specific CG window. More...

#include <WindowLibrary.h>

+ Inheritance diagram for LibBase:

Public Member Functions

 LibBase (struct Data *D, double ww, double dd)
 
 LibBase ()
 
virtual ~LibBase ()
 
virtual double window (double)=0
 
virtual std::pair< double, double > window_contact_weight (int p, int q, const v1d &loc)
 
virtual double window_int (double r1, double r2)
 
virtual double window_avg (double r1, double r2)
 
virtual double distance (int id, v1d loc)
 function for mixed particle id / vector informations. More...
 
virtual double cutoff (void)
 

Public Attributes

struct Datadata
 
double w
 
double d
 

Detailed Description

A window base class that needs to be specialised to a specific CG window.

Constructor & Destructor Documentation

◆ LibBase() [1/2]

LibBase::LibBase ( struct Data D,
double  ww,
double  dd 
)
inline

◆ LibBase() [2/2]

LibBase::LibBase ( )
inline

◆ ~LibBase()

virtual LibBase::~LibBase ( )
inlinevirtual

Member Function Documentation

◆ cutoff()

virtual double LibBase::cutoff ( void  )
inlinevirtual

◆ distance()

virtual double LibBase::distance ( int  id,
v1d  loc 
)
inlinevirtual

function for mixed particle id / vector informations.

Reimplemented in LibLucyND_Periodic, LibSphereNDIntersect, and LibSphere3DIntersect.

◆ window()

virtual double LibBase::window ( double  )
pure virtual

◆ window_avg()

virtual double LibBase::window_avg ( double  r1,
double  r2 
)
inlinevirtual

◆ window_contact_weight()

virtual std::pair<double,double> LibBase::window_contact_weight ( int  p,
int  q,
const v1d loc 
)
inlinevirtual

◆ window_int()

virtual double LibBase::window_int ( double  r1,
double  r2 
)
inlinevirtual

Member Data Documentation

◆ d

double LibBase::d

◆ data

struct Data* LibBase::data

◆ w

double LibBase::w

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