Mantid
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Mantid::Algorithms::NullWeighting Class Reference

#include <WeightingStrategy.h>

Inheritance diagram for Mantid::Algorithms::NullWeighting:
Mantid::Algorithms::WeightingStrategy

Public Member Functions

double weightAt (const double &, const double &, const double &, const double &) override
 Calculate the weight at distance from epicenter. More...
 
double weightAt (const Mantid::Kernel::V3D &) override
 Calculate the weight at distance from epicenter. More...
 
- Public Member Functions inherited from Mantid::Algorithms::WeightingStrategy
virtual double weightAt (const double &adjX, const double &ix, const double &adjY, const double &iy)=0
 Calculate the weight at distance from epicenter. More...
 
virtual double weightAt (const Mantid::Kernel::V3D &distance)=0
 Calculate the weight at distance from epicenter. More...
 
 WeightingStrategy ()
 Constructor. More...
 
 WeightingStrategy (const double cutOff)
 Constructor. More...
 
virtual ~WeightingStrategy ()=default
 Destructor. More...
 

Additional Inherited Members

- Protected Attributes inherited from Mantid::Algorithms::WeightingStrategy
double m_cutOff
 Cutoff member. More...
 

Detailed Description

Definition at line 85 of file WeightingStrategy.h.

Member Function Documentation

◆ weightAt() [1/2]

double Mantid::Algorithms::NullWeighting::weightAt ( const double &  ,
const double &  ,
const double &  ,
const double &   
)
overridevirtual

Calculate the weight at distance from epicenter.

Always throws.

Exceptions
runtime_errorif called

Implements Mantid::Algorithms::WeightingStrategy.

Definition at line 123 of file WeightingStrategy.cpp.

◆ weightAt() [2/2]

double Mantid::Algorithms::NullWeighting::weightAt ( const Mantid::Kernel::V3D )
overridevirtual

Calculate the weight at distance from epicenter.

Always throws.

Exceptions
runtime_errorif used

Implements Mantid::Algorithms::WeightingStrategy.

Definition at line 115 of file WeightingStrategy.cpp.


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