Blender V5.3
blender::SPHData Struct Reference

#include <BKE_particle.h>

Public Attributes

ParticleSystem * psys [10]
ParticleData * pa
float mass
const Map< OrderedEdge, int > * eh
const float * gravity
float hfac
int pass
float element_size
float flow [3]
Vector< ParticleSpring > new_springs
void(*) force_cb (void *sphdata_v, ParticleKey *state, float *force, float *impulse)
void(*) density_cb (void *rangedata_v, int index, const float co[3], float squared_dist)

Detailed Description

Definition at line 86 of file BKE_particle.h.

Member Data Documentation

◆ density_cb

void(*) blender::SPHData::density_cb(void *rangedata_v, int index, const float co[3], float squared_dist)

Definition at line 107 of file BKE_particle.h.

Referenced by blender::psys_sph_density(), and blender::psys_sph_init().

◆ eh

const Map<OrderedEdge, int>* blender::SPHData::eh

Definition at line 90 of file BKE_particle.h.

Referenced by blender::psys_sph_init(), and blender::sph_force_cb().

◆ element_size

float blender::SPHData::element_size

Definition at line 99 of file BKE_particle.h.

Referenced by blender::sph_particle_courant(), and blender::update_courant_num().

◆ flow

float blender::SPHData::flow[3]

Definition at line 100 of file BKE_particle.h.

Referenced by blender::sph_particle_courant(), and blender::update_courant_num().

◆ force_cb

void(*) blender::SPHData::force_cb(void *sphdata_v, ParticleKey *state, float *force, float *impulse)

Definition at line 106 of file BKE_particle.h.

Referenced by blender::psys_sph_init(), and blender::sph_integrate().

◆ gravity

const float* blender::SPHData::gravity

The gravity as a float[3], may also be null when the simulation doesn't use gravity.

Definition at line 93 of file BKE_particle.h.

Referenced by blender::psys_sph_init(), blender::sph_force_cb(), and blender::sphclassical_force_cb().

◆ hfac

◆ mass

◆ new_springs

Vector<ParticleSpring> blender::SPHData::new_springs

◆ pa

◆ pass

int blender::SPHData::pass

◆ psys


The documentation for this struct was generated from the following file: