51 : Parameters(
Other.Parameters)
52 , NumCompactIndices(
Other.NumCompactIndices)
56 , bDfDxTimesVTerm(
Other.bDfDxTimesVTerm)
61 Parameters =
Other.Parameters;
62 NumCompactIndices =
Other.NumCompactIndices;
66 bDfDxTimesVTerm =
Other.bDfDxTimesVTerm;
92 return LastSolveIterations;
97 return LastSolveError;
109 int32 NumCompactIndices;
113 bool bDfDxTimesVTerm =
false;
116 int32 LastSolveIterations = 0;
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
void Init()
Definition LockFreeList.h:4
UE_INTRINSIC_CAST UE_REWRITE constexpr std::remove_reference_t< T > && MoveTemp(T &&Obj) noexcept
Definition UnrealTemplate.h:520
Definition SoftsEvolutionLinearSystem.h:45
FEvolutionLinearSystem(const FEvolutionLinearSystem &)=delete
CHAOS_API void AddSymmetricForceDerivative(const FSolverParticlesRange &Particles, const FSolverMatrix33 *const Df1Dx2, const FSolverMatrix33 *const Df1Dv2, int32 ParticleIndex1, int32 ParticleIndex2, const FSolverReal Dt)
Definition SoftsEvolutionLinearSystem.cpp:125
bool RequiresSPDForceDerivatives() const
Definition SoftsEvolutionLinearSystem.h:100
bool Solve(FSolverParticlesRange &Particles, const FSolverReal Dt)
Definition SoftsEvolutionLinearSystem.cpp:179
FEvolutionLinearSystem()=default
~FEvolutionLinearSystem()=default
FEvolutionLinearSystem(FEvolutionLinearSystem &&Other)
Definition SoftsEvolutionLinearSystem.h:50
FSolverReal GetLastSolveError() const
Definition SoftsEvolutionLinearSystem.h:95
int32 GetLastSolveIterations() const
Definition SoftsEvolutionLinearSystem.h:90
FEvolutionLinearSystem & operator=(const FEvolutionLinearSystem &)=delete
FEvolutionLinearSystem & operator=(FEvolutionLinearSystem &&Other)
Definition SoftsEvolutionLinearSystem.h:59
void ReserveForParallelAdd(const int32 NumDiagonalEntries, const int32 NumOffDiagonalEntries)
Definition SoftsEvolutionLinearSystem.h:74
Definition SoftsSolverParticlesRange.h:12
Definition BlockSparseLinearSystem.h:11
void ReserveForParallelAdd(int32 NumDiagEntries, int32 NumOffDiagEntries)
Definition BlockSparseLinearSystem.cpp:165
Definition CollectionEmbeddedSpringConstraintFacade.cpp:6
FRealSingle FSolverReal
Definition PBDSoftsEvolutionFwd.h:31
Definition SoftsEvolutionLinearSystem.h:10
FEvolutionLinearSystemSolverParameters & operator=(FEvolutionLinearSystemSolverParameters &&)=default
int32 MaxNumCGIterations
Definition SoftsEvolutionLinearSystem.h:36
bool bCheckCGResidual
Definition SoftsEvolutionLinearSystem.h:38
~FEvolutionLinearSystemSolverParameters()=default
static constexpr FSolverReal DefaultCGTolerance
Definition SoftsEvolutionLinearSystem.h:12
static constexpr bool bDefaultCheckCGResidual
Definition SoftsEvolutionLinearSystem.h:13
bool bDoQuasistatics
Definition SoftsEvolutionLinearSystem.h:34
FEvolutionLinearSystemSolverParameters(const FEvolutionLinearSystemSolverParameters &)=default
FEvolutionLinearSystemSolverParameters(FEvolutionLinearSystemSolverParameters &&)=default
FSolverReal CGResidualTolerance
Definition SoftsEvolutionLinearSystem.h:37
FEvolutionLinearSystemSolverParameters()=default
FEvolutionLinearSystemSolverParameters(bool bInDoQuasistatics, bool bInXPBDInitialGuess, int32 InMaxNumCGIterations, FSolverReal InCGResidualTolerance, bool bInCheckResidual)
Definition SoftsEvolutionLinearSystem.h:16
static constexpr int32 DefaultMaxNumCGIterations
Definition SoftsEvolutionLinearSystem.h:11
FEvolutionLinearSystemSolverParameters & operator=(const FEvolutionLinearSystemSolverParameters &)=default
bool bXPBDInitialGuess
Definition SoftsEvolutionLinearSystem.h:35