Skip to content
  • Andrew Heather's avatar
    ENH: Added new limitFields function object · 6709f3ef
    Andrew Heather authored and Mark OLESEN's avatar Mark OLESEN committed
    Limits fields to user-specified min and max bounds
    
    Usage
    Example of function object specification:
    
        limitFields1
        {
            type        limitFields;
            libs        ("libfieldFunctionObjects.so");
            ...
            fields      (U);
            limit       max;
            max         100;
        }
    
    Where the entries comprise:
        Property     | Description                 | Required | Default
        type         | type name: limitFields      | yes |
        fields       | list of fields to process   | yes |
        limit        | bound to limit - see below  | yes |
        min          | min limit value             | partly |
        max          | max limit value             | partly |
    
    The "limit" entry can take the value:
    - min : specify a minimum value
    - max : specify a maximum value
    - both : specify a minimum value and a maximum value
    6709f3ef