Create criterion data from Data At Nodes On Elements results.
s=criterion(r)
s=criterion(r,'max')
s=criterion(r,type)
CRITERION processes Data At Nodes On Elements results (i.e. stress) and Data On Elements At Nodes in the result object R and returns the output in the imat_result object S. This is useful for creating the results necessary for a criterion plot.
Results other than Data At Nodes On Elements are returned unprocessed. If the result being processed contains centroidal results for 'mean' output, these are returned. Otherwise, the results at the nodes for each unique combination of element, component, and layer are processed and returned. They are tagged as being located at the centroid ("node" 0).
TYPE is an optional string specifying the processing type. The available choices are
'mean' | (Default) Average of nodal results |
'min' | Take the minimum of the results on the nodes |
'max' |
Take the maximum of the results on the nodes |
'absmax' |
Take the absolute maximum of the results on the nodes |
Please note that if you are not using the 'mean' processing type, and your results have actual node numbers, performance will be much slower.