operations
¶
Add(*args)
dataclass
¶
Bases: _NaryMixin, ScalarExpr
Scalar addition (n-ary).
Source code in geomech/core/operations/addition.py
Cross(l, r)
dataclass
¶
Bases: _BinaryMixin, VectorExpr
Cross product of two 3-vectors → vector.
Source code in geomech/core/operations/geometry.py
Dot(l, r)
dataclass
¶
Bases: _BinaryMixin, ScalarExpr
Dot product of two vectors → scalar.
Source code in geomech/core/operations/geometry.py
Hat(expr)
dataclass
¶
MAdd(*args)
dataclass
¶
Bases: _NaryMixin, MatrixExpr
Matrix addition (n-ary).
Source code in geomech/core/operations/addition.py
MMMul(l, r)
dataclass
¶
Bases: _BinaryMixin, MatrixExpr
Matrix-Matrix multiplication.
Source code in geomech/core/operations/multiplication.py
MVMul(l, r)
dataclass
¶
Bases: _BinaryMixin, VectorExpr
Matrix-Vector multiplication.
Source code in geomech/core/operations/multiplication.py
Mul(l, r)
dataclass
¶
Bases: _BinaryMixin, ScalarExpr
Scalar multiplication.
Source code in geomech/core/operations/multiplication.py
SMMul(l, r)
dataclass
¶
Bases: _BinaryMixin, MatrixExpr
Scalar-Matrix multiplication. Normalized: left=matrix, right=scalar.
Source code in geomech/core/operations/multiplication.py
SVMul(l, r)
dataclass
¶
Bases: _BinaryMixin, VectorExpr
Scalar-Vector multiplication. Normalized: left=vector, right=scalar.
Source code in geomech/core/operations/multiplication.py
TimeDerivative(expr)
dataclass
¶
Bases: _CalcUnaryMixin, Expr
Time derivative d/dt{expr}. Preserves the type of its inner expression.
Source code in geomech/core/operations/calculus.py
TimeIntegral(expr)
dataclass
¶
Bases: _CalcUnaryMixin, Expr
Time integral ∫{expr}dt. Preserves the type of its inner expression.
Source code in geomech/core/operations/calculus.py
Transpose(expr=None)
dataclass
¶
VAdd(*args)
dataclass
¶
Bases: _NaryMixin, VectorExpr
Vector addition (n-ary).
Source code in geomech/core/operations/addition.py
VVMul(l, r)
dataclass
¶
Bases: _BinaryMixin, Expr
Vector-Vector multiplication. Result type depends on Transpose: Transpose(v) * w → scalar v * Transpose(w) → matrix
Source code in geomech/core/operations/multiplication.py
Variation(expr)
dataclass
¶
Bases: _CalcUnaryMixin, Expr
Variation operator δ{expr}. Preserves the type of its inner expression.
Source code in geomech/core/operations/calculus.py
t_diff()
¶
d/dt(δx) — put TimeDerivative on the outside.
δ and d/dt commute, but the expression tree produces TimeDerivative(Variation(x)) when taking the variation of d/dt(x). This override ensures the IBP target matches that structure.