Remove M matrix structure from mjData.
Introduced in March 2025 as a temporary measure, this is not considered a breaking change. PiperOrigin-RevId: 758311298 Change-Id: Ia08857c18b791f6a62a2d8d136b45fc075507b93
This commit is contained in:
committed by
Copybara-Service
parent
6bc0bbf7df
commit
1e02d66c3d
@@ -340,10 +340,6 @@ struct mjData_ {
|
||||
int* B_rownnz; // body-dof: non-zeros in each row (nbody x 1)
|
||||
int* B_rowadr; // body-dof: address of each row in B_colind (nbody x 1)
|
||||
int* B_colind; // body-dof: column indices of non-zeros (nB x 1)
|
||||
int* M_rownnz; // inertia: non-zeros in each row (nv x 1)
|
||||
int* M_rowadr; // inertia: address of each row in M_colind (nv x 1)
|
||||
int* M_colind; // inertia: column indices of non-zeros (nM x 1)
|
||||
int* mapM2M; // index mapping from M (legacy) to M (CSR) (nM x 1)
|
||||
int* C_rownnz; // reduced dof-dof: non-zeros in each row (nv x 1)
|
||||
int* C_rowadr; // reduced dof-dof: address of each row in C_colind (nv x 1)
|
||||
int* C_colind; // reduced dof-dof: column indices of non-zeros (nC x 1)
|
||||
|
||||
@@ -675,10 +675,6 @@
|
||||
X ( int, B_rownnz, nbody, 1 ) \
|
||||
X ( int, B_rowadr, nbody, 1 ) \
|
||||
X ( int, B_colind, nB, 1 ) \
|
||||
X ( int, M_rownnz, nv, 1 ) \
|
||||
X ( int, M_rowadr, nv, 1 ) \
|
||||
X ( int, M_colind, nM, 1 ) \
|
||||
X ( int, mapM2M, nM, 1 ) \
|
||||
X ( int, C_rownnz, nv, 1 ) \
|
||||
X ( int, C_rowadr, nv, 1 ) \
|
||||
X ( int, C_colind, nC, 1 ) \
|
||||
|
||||
Reference in New Issue
Block a user