4#include <webgpu/webgpu.hpp>
35 wgpu::Buffer particle_buffer;
36 size_t particle_size{0};
37 size_t particle_data_size{0};
38 size_t workgroup_size{32};
Class for managing a DEM simulation.
Definition simulation.hpp:21
Definition webgpu_manager.hpp:11
void MergeParticleData(VecXT< ParticleDataGPU > const &particle_data_list)
Definition webgpu_manager.cpp:54
void Init(Simulation *const sim)
Definition webgpu_manager.cpp:17
void SendDomainData()
Definition webgpu_manager.cpp:29
void SendParticleData()
Definition webgpu_manager.cpp:31
~WebGPUManager()
Definition webgpu_manager.cpp:137
WebGPUManager()
Definition webgpu_manager.cpp:15
void Solve()
Definition webgpu_manager.cpp:66
VecXT< ParticleDataGPU > RecvParticleData()
Definition webgpu_manager.cpp:46
wgpu::Device GetDevice()
Definition webgpu_manager.cpp:64
Definition bond_entry.hpp:7
std::vector< T > VecXT
Definition utils_macros.hpp:31