SPHinXsys  alpha version
kernel_hyperbolic.h
Go to the documentation of this file.
1 /* -------------------------------------------------------------------------*
2 * SPHinXsys *
3 * --------------------------------------------------------------------------*
4 * SPHinXsys (pronunciation: s'finksis) is an acronym from Smoothed Particle *
5 * Hydrodynamics for industrial compleX systems. It provides C++ APIs for *
6 * physical accurate simulation and aims to model coupled industrial dynamic *
7 * systems including fluid, solid, multi-body dynamics and beyond with SPH *
8 * (smoothed particle hydrodynamics), a meshless computational method using *
9 * particle discretization. *
10 * *
11 * SPHinXsys is partially funded by German Research Foundation *
12 * (Deutsche Forschungsgemeinschaft) DFG HU1527/6-1, HU1527/10-1 *
13 * and HU1527/12-1. *
14 * *
15 * Portions copyright (c) 2017-2020 Technical University of Munich and *
16 * the authors' affiliations. *
17 * *
18 * Licensed under the Apache License, Version 2.0 (the "License"); you may *
19 * not use this file except in compliance with the License. You may obtain a *
20 * copy of the License at http://www.apache.org/licenses/LICENSE-2.0. *
21 * *
22 * --------------------------------------------------------------------------*/
34 #ifndef KERNEL_HYPERBOLIC_H
35 #define KERNEL_HYPERBOLIC_H
36 
37 
38 
39 #include "base_kernel.h"
40 
41 namespace SPH
42 {
47  class KernelHyperbolic : public Kernel
48  {
49  public:
50  KernelHyperbolic(Real h);
51 
52  virtual Real W_1D(const Real q) const override;
53  virtual Real W_2D(const Real q) const override;
54  virtual Real W_3D(const Real q) const override;
55 
56  virtual Real dW_1D(const Real q) const override;
57  virtual Real dW_2D(const Real q) const override;
58  virtual Real dW_3D(const Real q) const override;
59 
60  virtual Real d2W_1D(const Real q) const override;
61  virtual Real d2W_2D(const Real q) const override;
62  virtual Real d2W_3D(const Real q) const override;
63  };
64 }
65 #endif //KERNEL_HYPERBOLIC_H
virtual Real dW_1D(const Real q) const override
Definition: kernel_hyperbolic.cpp:44
Abstract base class of a general SPH kernel function which is a smoothed Dirac delta function...
Definition: base_kernel.h:63
virtual Real W_1D(const Real q) const override
Definition: kernel_hyperbolic.cpp:22
Kernel from Yang el al.
Definition: kernel_hyperbolic.h:47
This is the base classes of kernel functions. Implementation will be implemented in derived classes...
virtual Real d2W_1D(const Real q) const override
Definition: kernel_hyperbolic.cpp:66
Definition: solid_body_supplementary.cpp:9