PeriDyno 1.0.0
Loading...
Searching...
No Matches
VirtualParticleGenerator.h
Go to the documentation of this file.
1/*
2*@Brief: Base class for the virtual particle generator in Dual-particle SPH method.
3*@Paper: Liu et al., ACM Trans Graph (TOG). 2024. (A Dual-Particle Approach for Incompressible SPH Fluids) doi.org/10.1145/3649888
4*/
5
6#pragma once
8
9namespace dyno
10{
11 template<typename TDataType>
13 {
14 public:
15 typedef typename TDataType::Real Real;
16 typedef typename TDataType::Coord Coord;
17
20
24 DEF_ARRAY_OUT(Coord, VirtualParticles, DeviceType::GPU, "Output virtual particle position");
25 };
26}
DEF_ARRAY_OUT(Coord, VirtualParticles, DeviceType::GPU, "Output virtual particle position")
Virtual Particle positions.
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25