Skip to content
  • Andrew Heather's avatar
    ENH: LimitRange Function1 - extended and renamed · 89ddc271
    Andrew Heather authored and Mark OLESEN's avatar Mark OLESEN committed
    Description
        Function1 wrapper that maps the input value prior to it being used by
        another Function1.
    
        Example usage for limiting a polynomial:
        \verbatim
            <entryName>
            {
                type            inputValueMapper;
                mode            minMax;
    
                min             0.4;
                max             1.4;
    
                value polynomial
                (
                    (5 1)
                    (-2 2)
                    (-2 3)
                    (1 4)
                );
            }
        \endverbatim
    
        Here the return value will be:
        - poly(0.4) for x <= 0.4;
        - poly(1.4) for x >= 1.4; and
        - poly(x) for 0.4 < x < 1.4.
    
        Example usage for supplying a patch mass flux for a table lookup:
        \verbatim
            <entryName>
            {
                type            inputValueMapper;
                mode            function;
    
                function
                {
                    type            functionObjectValue;
                    functionOb...
    89ddc271