Skip to main content

shape_function_gradient_ty

Function shape_function_gradient_ty 

Source
pub fn shape_function_gradient_ty() -> Expr
Expand description

ShapeFunctionGradient : ReferenceTriangle → Nat → (Real → Real → Real × Real)

Gradient of the k-th shape function on the reference element. For P1: ∇φ₁ = (-1,-1), ∇φ₂ = (1,0), ∇φ₃ = (0,1).