SPHinXsys  alpha version
kernel_wenland_c2.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 * --------------------------------------------------------------------------*/
32 #ifndef KERNEL_WENLAND_C2_H
33 #define KERNEL_WENLAND_C2_H
34 
35 
36 
37 #include "base_kernel.h"
38 
39 namespace SPH
40 {
45  class KernelWendlandC2 : public Kernel
46  {
47  public:
48  explicit KernelWendlandC2(Real h);
49 
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_WENLAND_C2_H
virtual Real d2W_1D(const Real q) const override
Definition: kernel_wenland_c2.cpp:51
Abstract base class of a general SPH kernel function which is a smoothed Dirac delta function...
Definition: base_kernel.h:63
Kernel WendlandC2.
Definition: kernel_wenland_c2.h:45
virtual Real W_1D(const Real q) const override
Definition: kernel_wenland_c2.cpp:21
virtual Real dW_1D(const Real q) const override
Definition: kernel_wenland_c2.cpp:36
This is the base classes of kernel functions. Implementation will be implemented in derived classes...
Definition: solid_body_supplementary.cpp:9