diff --git a/test/dictionary/testCalc b/test/dictionary/testCalc index 3709da18f0..8f54d65d65 100644 --- a/test/dictionary/testCalc +++ b/test/dictionary/testCalc @@ -67,4 +67,13 @@ Us #calc os << Us; #}; +// List of vectors example +listU ((1.1 2.1 1.1) (2.1 3.2 4.1) (4.3 5.3 0)); +magU1 #calc "mag($>listU[1])"; + +// Field of vectors and scalars example +#calcInclude "Field.H" +magUs #calc "mag($>listU)"; +magSqrU1 #calc "sqr($>magUs[1])"; + // ************************************************************************* //