sfepy.terms.utils module

sfepy.terms.utils.check_finiteness(data, info)[source]
sfepy.terms.utils.get_range_indices(num)[source]

Return indices and slices in given range.

Returns:
indx : list of tuples

The list of (ii, slice(ii, ii + 1)) of the indices. The first item is the index itself, the second item is a convenience slice to index components of material parameters.