Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/FEvolutionLinearSystem
Description
Df1Dx2 is Derivative of F for ParticleIndex1 with respect to X of Particle2. Components of Df1Dx2 are Df1Dx2[j][i] = DF1_i / DX2_j This is consistent with UnrealMath which assumes row-major matrices and treats positions as row vectors (left multiply)
We're assuming all forces are symmetric. This will add Df1Dfx2 and Df2Dfx1 = Df1Dfx2^T (and same for Df2Dv1 = Df1Dv2^T) when ParticleIndex1 != ParticleIndex2
| Name | AddSymmetricForceDerivative |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/SoftsEvolutionLinearSystem.h |
| Include Path | #include "Chaos/SoftsEvolutionLinearSystem.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/SoftsEvolutionLinearSystem.cpp |
void AddSymmetricForceDerivative
(
const FSolverParticlesRange & Particles,
const FSolverMatrix33 *const Df1Dx2,
const FSolverMatrix33 *const Df1Dv2,
int32 ParticleIndex1,
int32 ParticleIndex2,
const FSolverReal Dt
)