NDDEM
Public Member Functions | Public Attributes | Private Attributes | List of all members
LibSphere3DIntersect_MonteCarlo Class Reference

#include <WindowLibrary.h>

+ Inheritance diagram for LibSphere3DIntersect_MonteCarlo:

Public Member Functions

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

Public Attributes

double cst
 
double result
 
- Public Attributes inherited from LibBase
struct Datadata
 
double w
 
double d
 

Private Attributes

int Nmc =100
 
std::mt19937 gen
 
std::uniform_real_distribution< double > random
 

Constructor & Destructor Documentation

◆ LibSphere3DIntersect_MonteCarlo()

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

Member Function Documentation

◆ cutoff()

double LibSphere3DIntersect_MonteCarlo::cutoff ( void  )
inlinevirtual

Reimplemented from LibBase.

◆ distance()

double LibSphere3DIntersect_MonteCarlo::distance ( int  id,
v1d  loc 
)
inlinevirtual

function for mixed particle id / vector informations.

Reimplemented from LibBase.

◆ window()

double LibSphere3DIntersect_MonteCarlo::window ( double  r)
inlinevirtual

Implements LibBase.

◆ window_avg()

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

Reimplemented from LibBase.

◆ windowreal()

double LibSphere3DIntersect_MonteCarlo::windowreal ( double  r)
inline

Member Data Documentation

◆ cst

double LibSphere3DIntersect_MonteCarlo::cst

◆ gen

std::mt19937 LibSphere3DIntersect_MonteCarlo::gen
private

◆ Nmc

int LibSphere3DIntersect_MonteCarlo::Nmc =100
private

◆ random

std::uniform_real_distribution<double> LibSphere3DIntersect_MonteCarlo::random
private

◆ result

double LibSphere3DIntersect_MonteCarlo::result

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