Expose Solid 0.5.1 state APIs
This commit is contained in:
@@ -31,6 +31,9 @@ extern "C" {
|
||||
#define SPHLITE_STATUS_RESERVED 3
|
||||
|
||||
#define SPHLITE_SOLID_SUMMARY_VALUE_COUNT 16
|
||||
#define SPHLITE_SOLID_PARTICLE_VALUE_COUNT 22
|
||||
#define SPHLITE_SOLID_DIAGNOSTIC_VALUE_COUNT 3
|
||||
#define SPHLITE_SOLID_REFERENCE_VALUE_COUNT 1
|
||||
|
||||
SPHLITE_API int sphlite_initialize(void);
|
||||
SPHLITE_API int sphlite_finalize(void);
|
||||
@@ -103,6 +106,20 @@ SPHLITE_API int sphlite_get_solid_summary(int *active_count,
|
||||
int *failed_count,
|
||||
double *values,
|
||||
int value_capacity);
|
||||
SPHLITE_API int sphlite_get_solid_particle_state(int max_particles,
|
||||
double *values,
|
||||
int value_capacity,
|
||||
int *failure_status,
|
||||
int *reference_neighbor_count,
|
||||
int *reference_degenerate,
|
||||
int *correction_status,
|
||||
int *count);
|
||||
SPHLITE_API int sphlite_get_solid_diagnostics(double *values,
|
||||
int value_capacity);
|
||||
SPHLITE_API int sphlite_get_solid_reference_quality(int *reference_neighbor_min,
|
||||
int *correction_status,
|
||||
double *values,
|
||||
int value_capacity);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user