Blender  V3.3
Public Attributes | List of all members
SPHData Struct Reference

#include <BKE_particle.h>

Public Attributes

ParticleSystempsys [10]
 
ParticleDatapa
 
float mass
 
struct EdgeHasheh
 
floatgravity
 
float hfac
 
int pass
 
float element_size
 
float flow [3]
 
BLI_Buffer 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 83 of file BKE_particle.h.

Member Data Documentation

◆ density_cb

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

Definition at line 101 of file BKE_particle.h.

Referenced by psys_sph_density(), and psys_sph_init().

◆ eh

struct EdgeHash* SPHData::eh

Definition at line 87 of file BKE_particle.h.

Referenced by psys_sph_finalize(), psys_sph_init(), and sph_force_cb().

◆ element_size

float SPHData::element_size

Definition at line 93 of file BKE_particle.h.

Referenced by sph_particle_courant(), and update_courant_num().

◆ flow

float SPHData::flow[3]

Definition at line 94 of file BKE_particle.h.

Referenced by sph_particle_courant(), and update_courant_num().

◆ force_cb

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

Definition at line 100 of file BKE_particle.h.

Referenced by psys_sph_init(), and sph_integrate().

◆ gravity

float* SPHData::gravity

Definition at line 88 of file BKE_particle.h.

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

◆ hfac

float SPHData::hfac

◆ mass

float SPHData::mass

◆ new_springs

BLI_Buffer SPHData::new_springs

◆ pa

ParticleData* SPHData::pa

Definition at line 85 of file BKE_particle.h.

Referenced by psys_sph_init(), sph_force_cb(), sph_integrate(), and sphclassical_force_cb().

◆ pass

int SPHData::pass

Definition at line 92 of file BKE_particle.h.

Referenced by sph_force_cb(), sph_integrate(), and sphclassical_force_cb().

◆ psys

ParticleSystem* SPHData::psys[10]

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