Blender V4.3
SPHData Struct Reference

#include <BKE_particle.h>

Public Attributes

ParticleSystempsys [10]
 
ParticleDatapa
 
float mass
 
std::optional< blender::Map< blender::OrderedEdge, int > > eh
 
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 86 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 104 of file BKE_particle.h.

Referenced by psys_sph_density(), and psys_sph_init().

◆ eh

std::optional<blender::Map<blender::OrderedEdge, int> > SPHData::eh

Definition at line 90 of file BKE_particle.h.

Referenced by psys_sph_init(), and sph_force_cb().

◆ element_size

float SPHData::element_size

Definition at line 96 of file BKE_particle.h.

Referenced by sph_particle_courant(), and update_courant_num().

◆ flow

float SPHData::flow[3]

Definition at line 97 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 103 of file BKE_particle.h.

Referenced by psys_sph_init(), and sph_integrate().

◆ gravity

float* SPHData::gravity

Definition at line 91 of file BKE_particle.h.

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

◆ hfac

◆ mass

◆ new_springs

BLI_Buffer SPHData::new_springs

◆ pa

ParticleData* SPHData::pa

Definition at line 88 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 95 of file BKE_particle.h.

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

◆ psys


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