ABI 12: fluid_neighbour_overflow in the view; column, floor and pour assert 0; Mr, Md, Mo readings
Mr (rings forced 1) claims KERNEL_REACH (0 vs 2.53e-3) and the floor (0.258); Md (fluid pairs from both rows) claims column mean (0.467 vs 0.0133), floor and the column max; Mo (capacity 8) overflows 597364 / 25823 / 28049 against 0. Existing bounds keep their values (midpoints would rise). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
9963da70b2
commit
f91450a97a
4 changed files with 45 additions and 25 deletions
|
|
@ -58,7 +58,7 @@ enum
|
|||
YMIR_SOA_JOINT_REMOVED = 4 // a destroyed joint's lane: never accepted by add_joint
|
||||
};
|
||||
|
||||
#define YMIR_SOA_ABI_VERSION 11u
|
||||
#define YMIR_SOA_ABI_VERSION 12u
|
||||
|
||||
// A body to create. `size` by kind: sphere {radius}, capsule {radius, half_length} (segment along
|
||||
// local Y), box and static box {half_x, half_y, half_z}. `parent` is the lane index of an earlier body
|
||||
|
|
@ -127,6 +127,8 @@ typedef struct ymir_box3d_soa_view
|
|||
// Particle and constraint high-water counts and capacities (all 0 for a world created without capacities).
|
||||
int32_t particle_count;
|
||||
int32_t particle_capacity;
|
||||
// Kernel neighbours past a fluid particle's list (96) in the last step, summed over substeps: 0 means the correction and XSPH saw every pair.
|
||||
int32_t fluid_neighbour_overflow;
|
||||
int32_t distance_count;
|
||||
int32_t distance_capacity;
|
||||
int32_t bend_count;
|
||||
|
|
@ -1447,6 +1449,7 @@ YMIR_EXPORT int32_t YMIR_CALL ymir_box3d_soa_get_view(const ymir_box3d_soa_world
|
|||
.step_count = world->step_count,
|
||||
.particle_count = pt != NULL ? pt->particle_count : 0,
|
||||
.particle_capacity = pt != NULL ? pt->particle_capacity : 0,
|
||||
.fluid_neighbour_overflow = pt != NULL ? pt->fluid_overflow : 0,
|
||||
.distance_count = pt != NULL ? pt->distance_count : 0,
|
||||
.distance_capacity = pt != NULL ? pt->distance_capacity : 0,
|
||||
.bend_count = pt != NULL ? pt->bend_count : 0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue