Utility functions

In the course of defining the material behavior, a set of functions that may be useful outside the package internals are documented here, but these are not exported.

MechanicalMaterialModels.macaulayFunction
function macaulay(x)

Calculate the macaulay bracket of x, $\langle x \rangle$

\[\langle x \rangle = \left\lbrace \begin{matrix} 0 & x\leq 0 \\ x & x>0 \end{matrix} \right .\]

source