42. postproc — Postprocessing functions

Postprocessing functions

Postprocessing means collecting a geometrical model and computed values from a numerical simulation, and render the values on the domain.

postproc.norm2(A)
postproc.norm(A, x)
postproc.max(A)
postproc.min(A)
postproc.niceNumber(f, approx=floor)
Returns a nice number close to but not smaller than f.
postproc.argNearestValue(values, target)

Return the index of the item nearest to target.

values: a list of float values

target: a single value

Return value: the position of the item in values values that is nearest to target.

postproc.nearestValue(values, target)

Return the item nearest to target.

values: a list of float values

target: a single value

Return value: the item in values values that is nearest to target.

postproc.frameScale(nframes=10, cycle='up', shape='linear')

Return a sequence of scale values between -1 and +1.

nframes : the number of steps between 0 and -1/+1 values.

cycle: determines how subsequent cycles occur:

'up': ramping up

'updown': ramping up and down

'revert': ramping up and down then reverse up and down

shape: determines the shape of the amplitude curve:

'linear': linear scaling

'sine': sinusoidal scaling

Documentation

Previous topic

41. fe_post — A postprocessor for ABAQUS output files.

Next topic

43. lima — Lindenmayer Systems

This Page