SPHinXsys  alpha version
Classes | Namespaces
base_kernel.h File Reference

This is the base classes of kernel functions. Implementation will be implemented in derived classes. The kernal function define the relevance between two neighboring particles. Basically, the further the two particles, the less relevance they have.
More...

#include "base_data_package.h"
#include <string>
#include <functional>

Go to the source code of this file.

Classes

class  SPH::Kernel
 Abstract base class of a general SPH kernel function which is a smoothed Dirac delta function, a kernel function is radial symmetric, and has a scaling factor. Based on difference data type in 2d or 3d buildings, the kernel is defined for 2 and 3 dimensions. The kernel gives value one at the origin. The naming of kernel function follows the stand SPH literature. Currently, only constant smoothing length is applied. Basically, one can assign different kernel for different particle interactions. More...
 

Namespaces

 SPH
 

Detailed Description

This is the base classes of kernel functions. Implementation will be implemented in derived classes. The kernal function define the relevance between two neighboring particles. Basically, the further the two particles, the less relevance they have.

Author
Luhui Han, Chi ZHang and Xiangyu Hu
Version
0.1
0.3.0 Add the reduced kernel for reduced dynamics of linear structure. – Chi ZHANG