Utilities

Functions

colorbar(fsc[, input, type])

Creates RGB color information from -1 to 1 scaled values.

combine_all_sets(sets_a, sets_b)

Combines two nested lists of node or element sets into the minimum ammount of set combinations.

group_keys_by_attribute(adict, name[, tol])

Make group keys by shared attribute values.

group_keys_by_attributes(adict, names[, tol])

Make group keys by shared values of attributes.

identify_ranges(data)

Identifies continuous interger series from a list and returns a list of ranges.

mesh_from_shell_elements(structure)

Returns a Mesh datastructure object from a Structure's ShellElement objects.

network_order(start, structure, network)

Extract node and element orders from a Network for a given start-point.

normalise_data(data, cmin, cmax)

Normalise a vector of data to between -1 and 1.

principal_stresses(data, ptype, scale, rotate)

Performs principal stress calculations.

process_data(data, dtype, iptype, nodal, ...)

Process the raw data.

postprocess(nodes, elements, ux, uy, uz, ...)

Post-process data from analysis results for given step and field.

plotvoxels(values, U, vdx[, indexing])

Plot values as voxel data.