struct MAGES::MeshDeformations::CalculateCovarianceMatricesJob¶
Overview¶
Calculates the covariance matrix for each simulation mesh. More…
struct CalculateCovarianceMatricesJob: public IJob
{
// fields
NativeArray ParticlesEnabled;
NativeArray ParticlesPosition;
NativeArray ParticlesLocalRestPosition;
NativeArray ParticlesSimulationMeshDescriptorIndex;
NativeArray SimulationMeshCoM;
NativeArray SimulationMeshCovarianceMatrix;
// methods
void Execute();
};
Detailed Documentation¶
Calculates the covariance matrix for each simulation mesh.
Fields¶
NativeArrayParticlesEnabled
The enabled state of the particles.
NativeArrayParticlesPosition
The position of the particles.
NativeArrayParticlesLocalRestPosition
The local position of each particle in the rest configuration.
NativeArrayParticlesSimulationMeshDescriptorIndex
The index of the simulation mesh descriptor for each particle.
NativeArraySimulationMeshCoM
The center of mass of each simulation mesh.
NativeArraySimulationMeshCovarianceMatrix
The covariance matrix for each simulation mesh.