#include <MdtKea.h>
Public Attributes | |
| int | num_partitions |
| Number of partitions described by this structure. More... | |
| int* | num_rows_partition |
| num_rows_partition[i] is number of rows in partition i. More... | |
| int* | num_constraints_partition |
| num_constraints_partition[i] is number of constraints in partition i. More... | |
| int | num_rows |
| Total number of constraint rows. More... | |
| int | num_constraints |
| Total number of constraints. More... | |
| MeReal* | Jstore |
| List of nonzero blocks of jacobian matrix. More... | |
| MeReal* | xi |
| Constraint error vector. More... | |
| MeReal* | c |
| Vector in the constraint equation m{J*v=c}. More... | |
| MeReal* | lo |
| Low limit on Lagrange multiplier. More... | |
| MeReal* | hi |
| High limit on Lagrange multiplier. More... | |
| MeReal* | lambda |
| Calculated Lagrange multiplier READ ONLY. More... | |
| MeReal* | force |
| Vector of forces applied to satisfy constraints READ ONLY. More... | |
| MeReal* | slipfactor |
| First order constraint slipping vector. More... | |
| MeReal* | xgamma |
| Projection constants. More... | |
| int* | Jsize |
| Jsize[i] is the number of rows in constraint i. More... | |
| int* | Jofs |
| Offset of constraint i from the start of its partition. More... | |
| int* | Jbody |
| Jbody[i*3+0],Jbody[i*3+1],Jbody[i*3+2] are the bodies constrained by constraint i. More... | |
To find the total number of rows_to_allocate, find the maximum number of rows the constraints can add, but allow up to an extra three rows padding per partition.
|
Jbody[i*3+0],Jbody[i*3+1],Jbody[i*3+2] are the bodies constrained by constraint i.
3 ints for each constraint added.
|
Offset of constraint i from the start of its partition.
partition_start+Jofs[i] is the offset in the above vectors of the first element corresponding to constraint i, where partition_start is the offset of the first constraint in the partition which i belongs to. One int for each constraint added
|
Jsize[i] is the number of rows in constraint i.
One int for each constraint added.
|
List of nonzero blocks of jacobian matrix.
The size should be 18 MeReals for each rows_to_allocate, initialised to 0.
|
Vector in the constraint equation m{J*v=c}.
One MeReal for each rows_to_allocate initialised to 0.
|
Vector of forces applied to satisfy constraints READ ONLY.
24 MeReals for each constraint added initialised to 0. Currently disabled on PS2.
|
High limit on Lagrange multiplier.
One MeReal for each rows_to_allocate initialised to 0.
|
Calculated Lagrange multiplier READ ONLY.
One MeReal for each rows_to_allocate initialised to 0.
|
Low limit on Lagrange multiplier.
One MeReal for ebach rows_to_allocate initialised to 0.
|
Total number of constraints.
(+ | 0<=i<num_partitions . num_constraints_partition[i])
|
num_constraints_partition[i] is number of constraints in partition i.
The size should be one int for each partition.
|
Number of partitions described by this structure.
|
Total number of constraint rows.
(+ | 0<=i<num_partitions . num_rows_partition[i])
|
num_rows_partition[i] is number of rows in partition i.
The size should be one int for each partition.
|
First order constraint slipping vector.
One MeReal for each rows_to_allocate initialised to 0.
|
Projection constants.
One MeReal for each rows_to_allocate initialised to 0.
|
Constraint error vector.
One MeReal for each rows_to_allocate initialised to 0.
Copyright MathEngine PLC 2000, all rights reserved.