class to define a kernel function for SPH simulations  
 More...
#include <SPHKernels.h>
|  | 
| static double | getKernelSupportRadius () | 
|  | Get the kernelSupportRadius. 
 | 
|  | 
| static double | W (const std::array< double, 3 > &dr, const double h) | 
|  | A kernel function for SPH simulations. 
 | 
|  | 
| static double | W (const double dr2, const double h) | 
|  | A kernel function for sph simulations. 
 | 
|  | 
| static unsigned long | getFlopsW () | 
|  | returns the flops for one full calculation of the kernel 
 | 
|  | 
| static std::array< double, 3 > | gradW (const std::array< double, 3 > &dr, const double h) | 
|  | gradient of the kernel function W 
 | 
|  | 
class to define a kernel function for SPH simulations 
◆ getFlopsW()
  
  | 
        
          | unsigned long sphLib::SPHKernels::getFlopsW | ( |  | ) |  |  | static | 
 
returns the flops for one full calculation of the kernel 
- Returns
- flops for one full calculation of the kernel 
 
 
◆ getKernelSupportRadius()
  
  | 
        
          | static double sphLib::SPHKernels::getKernelSupportRadius | ( |  | ) |  |  | inlinestatic | 
 
Get the kernelSupportRadius. 
- Returns
- the kernel support radius 
 
 
◆ gradW()
  
  | 
        
          | static std::array< double, 3 > sphLib::SPHKernels::gradW | ( | const std::array< double, 3 > & | dr, |  
          |  |  | const double | h |  
          |  | ) |  |  |  | inlinestatic | 
 
gradient of the kernel function W 
- Parameters
- 
  
    | dr | distance vector |  | h | kernel support radius |  
 
- Returns
- gradient of W evaluated at dr and h 
 
 
◆ W() [1/2]
  
  | 
        
          | static double sphLib::SPHKernels::W | ( | const double | dr2, |  
          |  |  | const double | h |  
          |  | ) |  |  |  | inlinestatic | 
 
A kernel function for sph simulations. 
- Parameters
- 
  
    | dr2 | squared absolute distance |  | h | relative kernel support radius |  
 
- Returns
- value of the kernel function 
 
 
◆ W() [2/2]
  
  | 
        
          | static double sphLib::SPHKernels::W | ( | const std::array< double, 3 > & | dr, |  
          |  |  | const double | h |  
          |  | ) |  |  |  | inlinestatic | 
 
A kernel function for SPH simulations. 
- Parameters
- 
  
    | dr | distance vector |  | h | relative kernel support radius |  
 
- Returns
- value of the kernel function 
 
 
The documentation for this class was generated from the following files:
- /github/workspace/applicationLibrary/sph/SPHLibrary/SPHKernels.h
- /github/workspace/applicationLibrary/sph/SPHLibrary/SPHKernels.cpp