载入中...
搜索中...
未找到
eve::fluids::VolumeFluidFieldSample结构体 参考

Owned liquid/gas field sample for diffuse-particle emission and advection. 更多...

#include <VolumeFluid.h>

Public 属性

glm::vec3 velocity {0.f}
 Poly6-weighted velocity in meters/second; zero without support.
 
glm::vec3 vorticity {0.f}
 Curl of the normalized poly6 velocity interpolation, in inverse seconds.
 
float density = 0.f
 SPH mass density in kg/m3; no container boundary-support correction.
 
unsigned neighborCount = 0
 Liquid/gas samples strictly within twice the particle spacing.
 

详细描述

Owned liquid/gas field sample for diffuse-particle emission and advection.

在文件 VolumeFluid.h 第 316 行定义.

类成员变量说明

◆ density

float eve::fluids::VolumeFluidFieldSample::density = 0.f

SPH mass density in kg/m3; no container boundary-support correction.

在文件 VolumeFluid.h 第 322 行定义.

◆ neighborCount

unsigned eve::fluids::VolumeFluidFieldSample::neighborCount = 0

Liquid/gas samples strictly within twice the particle spacing.

在文件 VolumeFluid.h 第 324 行定义.

◆ velocity

glm::vec3 eve::fluids::VolumeFluidFieldSample::velocity {0.f}

Poly6-weighted velocity in meters/second; zero without support.

在文件 VolumeFluid.h 第 318 行定义.

◆ vorticity

glm::vec3 eve::fluids::VolumeFluidFieldSample::vorticity {0.f}

Curl of the normalized poly6 velocity interpolation, in inverse seconds.

在文件 VolumeFluid.h 第 320 行定义.


该结构体的文档由以下文件生成: