%AVERAGE_FS%
average of a functional based on all MESHFREE free surface points with respect to given material flags
Average of a given functional \( f\) (
ExpressionOfIntegrand) with respect to the set \( P_\text{FS}\) of all
MESHFREE free surface points with given material flags:
\begin{align} I_{\text{AvgFS}} = \frac{1}{\#P_\text{FS}} \sum_{i \in P_\text{FS}} f_i,\end{align}
where \( \#P_\text{FS}\) denotes the number of points in \( P_\text{FS}\).
Example: