MDStressLab++
Loading...
Searching...
No Matches
MethodUser Class Referenceabstract

#include <MethodUser.h>

Inheritance diagram for MethodUser:
Collaboration diagram for MethodUser:

Public Member Functions

 MethodUser (double averagingDomainSize)
 
virtual ~MethodUser ()=default
 
virtual double operator() (const Vector3d &vec) const =0
 
virtual double bondFunction (const Vector3d &vec1, const Vector3d &vec2) const =0
 
- Public Member Functions inherited from Method< MethodUser >
virtual ~Method ()
 
double operator() (const Vector3d &vec) const
 The weighting function \(w\) used to compute stress.
 
double bondFunction (const Vector3d &vec1, const Vector3d &vec2) const
 The bond function \(b(\boldsymbol v^1, \boldsymbol v^2)\) gives the weight associated to a bond formed by two atoms.
 
double getAveragingDomainSize () const
 Gets the spatial size of the averaging domain, i.e. the support of the weighting function.
 

Additional Inherited Members

- Protected Attributes inherited from Method< MethodUser >
double averagingDomainSize
 

Detailed Description

Definition at line 14 of file MethodUser.h.

Constructor & Destructor Documentation

◆ MethodUser()

MethodUser::MethodUser ( double  averagingDomainSize)
inline

Definition at line 17 of file MethodUser.h.

◆ ~MethodUser()

virtual MethodUser::~MethodUser ( )
virtualdefault

Member Function Documentation

◆ bondFunction()

virtual double MethodUser::bondFunction ( const Vector3d vec1,
const Vector3d vec2 
) const
pure virtual

◆ operator()()

virtual double MethodUser::operator() ( const Vector3d vec) const
pure virtual

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