Algebra
SmoothedParticles.FMAT0
— ConstantFMAT0
Static 2x2 zero matrix.
SmoothedParticles.FMAT1
— ConstantFMAT1
Static 2x2 identity matrix.
SmoothedParticles.MAT0
— ConstantMAT0
Static 3x3 zero matrix.
SmoothedParticles.MAT1
— ConstantMAT1
Static 3x3 identity matrix.
SmoothedParticles.VEC0
— ConstantVEC0
Static zero vector. Equivalent to zero(RealVector)
.
SmoothedParticles.VECX
— ConstantVECX
Static cartesian basis vector in the X direction. Equivalent to RealVector(1.,0.,0.)
SmoothedParticles.VECY
— ConstantVECY
Static cartesian basis vector in the Y direction. Equivalent to RealVector(0.,1.,0.)
.
SmoothedParticles.VECZ
— ConstantVECZ
Static cartesian basis vector in the Z direction. Equivalent to RealVector(0.,0.,1.)
.
SmoothedParticles.FlatMatrix
— TypeFlatMatrix
Static matrix for faster 2d simulations
SmoothedParticles.RealMatrix
— TypeRealMatrix
Static Float64 matrix with 3x3 elements.
SmoothedParticles.RealVector
— TypeRealVector(x1::Float64, x2::Float64, x3::Float64)
Static Float64 vector with 3 elements.
SmoothedParticles.cof
— Methodcof(A::FlatMatrix)::FlatMatrix
Cofactor of 2x2 matrix.
SmoothedParticles.cof
— Methodcof(A::RealMatrix)::RealMatrix
Cofactor matrix of 3x3 matrix.
SmoothedParticles.det
— Methoddet(A::FlatMatrix)::Float64
Determinant of 2x2 matrix.
SmoothedParticles.det
— Methoddet(A::RealMatrix)::Float64
Determinant of 3x3 matrix.
SmoothedParticles.dev
— Methoddev(A::FlatMatrix)::FlatMatrix
Deviatoric part of matrix 2x2. That is, dev(A) = A - Tr(A)*I/2.
SmoothedParticles.dev
— Methoddev(A::RealMatrix)::RealMatrix
Deviatoric part of 3x3 matrix. That is, dev(A) = A - Tr(A)*I/3.
SmoothedParticles.dot
— Methoddot(A::FlatMatrix, B::FlatMatrix)::Float64
Computes the double dot product of two 2x2 matrices.
SmoothedParticles.dot
— Methoddot(A::RealMatrix, B::RealMatrix)::Float64
Computes the double dot product of two 3x3 matrices.
SmoothedParticles.dot
— Methoddot(x::RealVector, y::RealVector)::Float64
Computes the dot product of two vectors.
SmoothedParticles.inv
— Methodinv(A::FlatMatrix)::FlatMatrix
Inverse of 2x2 matrix.
SmoothedParticles.inv
— Methodinv(A::RealMatrix)::::RealMatrix
Inverse matrix of 3x3 matrix.
SmoothedParticles.norm
— Methodnorm(x::FlatMatrix)::Float64
Computes the norm of a matrix.
SmoothedParticles.norm
— Methodnorm(x::RealMatrix)::Float64
Computes the norm of a matrix.
SmoothedParticles.norm
— Methodnorm(x::RealVector)::Float64
Computes the norm of a vector.
SmoothedParticles.trace
— Methodtrace(A::FlatMatrix)::Float64
Trace of 2x2 matrix.
SmoothedParticles.trace
— Methodtrace(A::RealMatrix)::Float64
Trace of 3x3 matrix.
SmoothedParticles.trans
— Methodtrans(A::FlatMatrix)::FlatMatrix
Transpose of 2x2 matrix.
SmoothedParticles.trans
— Methodtrans(A::RealMatrix)::RealMatrix
Transpose of 3x3 matrix.