Algebra
SmoothedParticles.FMAT0 — ConstantFMAT0Static 2x2 zero matrix.
SmoothedParticles.FMAT1 — ConstantFMAT1Static 2x2 identity matrix.
SmoothedParticles.MAT0 — ConstantMAT0Static 3x3 zero matrix.
SmoothedParticles.MAT1 — ConstantMAT1Static 3x3 identity matrix.
SmoothedParticles.VEC0 — ConstantVEC0Static zero vector. Equivalent to zero(RealVector).
SmoothedParticles.VECX — ConstantVECXStatic cartesian basis vector in the X direction. Equivalent to RealVector(1.,0.,0.)
SmoothedParticles.VECY — ConstantVECYStatic cartesian basis vector in the Y direction. Equivalent to RealVector(0.,1.,0.).
SmoothedParticles.VECZ — ConstantVECZStatic cartesian basis vector in the Z direction. Equivalent to RealVector(0.,0.,1.).
SmoothedParticles.FlatMatrix — TypeFlatMatrixStatic matrix for faster 2d simulations
SmoothedParticles.RealMatrix — TypeRealMatrixStatic 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)::FlatMatrixCofactor of 2x2 matrix.
SmoothedParticles.cof — Methodcof(A::RealMatrix)::RealMatrixCofactor matrix of 3x3 matrix.
SmoothedParticles.det — Methoddet(A::FlatMatrix)::Float64Determinant of 2x2 matrix.
SmoothedParticles.det — Methoddet(A::RealMatrix)::Float64Determinant of 3x3 matrix.
SmoothedParticles.dev — Methoddev(A::FlatMatrix)::FlatMatrixDeviatoric part of matrix 2x2. That is, dev(A) = A - Tr(A)*I/2.
SmoothedParticles.dev — Methoddev(A::RealMatrix)::RealMatrixDeviatoric part of 3x3 matrix. That is, dev(A) = A - Tr(A)*I/3.
SmoothedParticles.dot — Methoddot(A::FlatMatrix, B::FlatMatrix)::Float64Computes the double dot product of two 2x2 matrices.
SmoothedParticles.dot — Methoddot(A::RealMatrix, B::RealMatrix)::Float64Computes the double dot product of two 3x3 matrices.
SmoothedParticles.dot — Methoddot(x::RealVector, y::RealVector)::Float64Computes the dot product of two vectors.
SmoothedParticles.inv — Methodinv(A::FlatMatrix)::FlatMatrixInverse of 2x2 matrix.
SmoothedParticles.inv — Methodinv(A::RealMatrix)::::RealMatrixInverse matrix of 3x3 matrix.
SmoothedParticles.norm — Methodnorm(x::FlatMatrix)::Float64Computes the norm of a matrix.
SmoothedParticles.norm — Methodnorm(x::RealMatrix)::Float64Computes the norm of a matrix.
SmoothedParticles.norm — Methodnorm(x::RealVector)::Float64Computes the norm of a vector.
SmoothedParticles.trace — Methodtrace(A::FlatMatrix)::Float64Trace of 2x2 matrix.
SmoothedParticles.trace — Methodtrace(A::RealMatrix)::Float64Trace of 3x3 matrix.
SmoothedParticles.trans — Methodtrans(A::FlatMatrix)::FlatMatrixTranspose of 2x2 matrix.
SmoothedParticles.trans — Methodtrans(A::RealMatrix)::RealMatrixTranspose of 3x3 matrix.