PeriDyno 1.0.0
Loading...
Searching...
No Matches
VirtualColocationStrategy.h
Go to the documentation of this file.
1
16
17
18#pragma once
22
23namespace dyno {
24
25 template<typename TDataType> class SummationDensity;
26
27
28 /*
29 *@Brief: Colocaition strategy in Dual-particle SPH method. (Virtual paritlce genorator).
30 *@Note : If the strategy is used, the Dual-particle SPH method will be degenerate to standard ISPH method (Cummins et al., An SPH Projection Method.Journal of Computational Physics 152)
31 *@Paper: Liu et al., ACM Trans Graph (TOG). 2024. (A Dual-Particle Approach for Incompressible SPH Fluids) doi.org/10.1145/3649888
32 */
33
34 template<typename TDataType>
36 {
37
39
40 public:
41 typedef typename TDataType::Real Real;
42 typedef typename TDataType::Coord Coord;
43
46
47 void constrain() override;
48
49 DEF_ARRAY_IN(Coord, RPosition, DeviceType::GPU, "Input real particle position");
50 };
51}
#define DECLARE_TCLASS(name, T1)
Definition Object.h:87
The standard summation density.
DEF_ARRAY_IN(Coord, RPosition, DeviceType::GPU, "Input real particle position")
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25