cfd_rangeSynopsisThe cfd_range User Macro processes multi-block data, setting the min/max elements of each block to either the true global values or to user-defined values. Input Ports
ParametersThe following lists all of the parameters found in the parameter block _NAME_Params, which are accessed by the module _NAMELL_ and the UI Macro _NAMEUI_.
Output Ports
DescriptionThe cfd_range User Macro is a true multi-block module, the C code takes an array of blocks in and out. Actually, the output is CONNECTED to the input in V, so this is a pure reference pass-through module. It modifies the data inplace. If locked mode is off, it scans ALL the data in ALL the blocks, and finds each data component range. It then SETS the min/max subelement in EACH block to be this value, to force global consistancy. The first data element in the first component is shown on the user-interface. If lock mode is on, then the user type-in values on the interface or parameter block are used to force this range on all data components. This is likely to work best on just a single component, and is intended to have extract_component_ARR upstream. Input Ports&in The input mult-block array of NodeData. Parameters&CFDRangeParams Reference to the parameter block, which contains real instances of the min, max and lock_mode parameters. min User-defined min value for data if lock_mode is on. max User-defined max value for data if lock_mode is on. lock_mode Toggle the lock_mode. If on, the min/max values of the multi-block data is set to the user-defined values. If off, the true global value from the input blocks is used. Output Portsout The output multi-block node data array with the min/max subelements set accordingly. Utility MacrosThe user interface is provided in the CFDRangeUI macro, and this is combined with the low-level CFDRangeNodeData module to form the User Macro cfd_range. ExampleAn example application is not provided. Filesiac_proj/cfdrange_/cfdrmacs.v contains the cfd_range User Macro and the CFDRangeUI UI Macro V definitions. Other NotesThe CFDRangeMacs library inherits its process. As this library contains no procedural code, the process is not important. The low-level CFDRangeNodeData module, executes under the process specified in its library, not the process defined in the high-level library. Authors
Ian Curington Modifications
Paul G. Lever Contact
International AVS Centre Manchester Visualization Centre Manchester Computing University of Manchester Oxford Road Manchester United Kingdom M13 9PL See AlsoCFDRangeParams, CFDRangeUI, CFDRangeNodeData |
||||||||||||||||||||||||||||||||||||||||||||||||||||