sfepy.base.goptions module

Various global options/parameters.

Notes

Inspired by rcParams of matplotlib.

class sfepy.base.goptions.ValidatedDict[source]

A dictionary object including validation.

default = False
key = ‘check_term_finiteness’
keys()[source]

Return sorted list of keys.

validate = {‘verbose’: <function validate_bool>, ‘check_term_finiteness’: <function validate_bool>}
validator(val)

Convert b to a boolean or raise a ValueError.

values()[source]

Return values in order of sorted keys.

sfepy.base.goptions.validate_bool(val)[source]

Convert b to a boolean or raise a ValueError.