FailureMeasureEnum#

class ansys.dpf.composites.result_definition.FailureMeasureEnum(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)#

Provides available failure measures.

Methods

FailureMeasureEnum.encode(/[, encoding, errors])

Encode the string using the codec registered for encoding.

FailureMeasureEnum.replace(old, new, /[, count])

Return a copy with all occurrences of substring old replaced by new.

FailureMeasureEnum.split(/[, sep, maxsplit])

Return a list of the substrings in the string, using sep as the separator string.

FailureMeasureEnum.rsplit(/[, sep, maxsplit])

Return a list of the substrings in the string, using sep as the separator string.

FailureMeasureEnum.join(iterable, /)

Concatenate any number of strings.

FailureMeasureEnum.capitalize(/)

Return a capitalized version of the string.

FailureMeasureEnum.casefold(/)

Return a version of the string suitable for caseless comparisons.

FailureMeasureEnum.title(/)

Return a version of the string where each word is titlecased.

FailureMeasureEnum.center(width[, fillchar])

Return a centered string of length width.

FailureMeasureEnum.count(sub[, start[, end]], /)

Return the number of non-overlapping occurrences of substring sub in string S[start:end].

FailureMeasureEnum.expandtabs(/[, tabsize])

Return a copy where all tab characters are expanded using spaces.

FailureMeasureEnum.find(sub[, start[, end]], /)

Return the lowest index in S where substring sub is found, such that sub is contained within S[start:end].

FailureMeasureEnum.partition(sep, /)

Partition the string into three parts using the given separator.

FailureMeasureEnum.index(sub[, start[, end]], /)

Return the lowest index in S where substring sub is found, such that sub is contained within S[start:end].

FailureMeasureEnum.ljust(width[, fillchar])

Return a left-justified string of length width.

FailureMeasureEnum.lower(/)

Return a copy of the string converted to lowercase.

FailureMeasureEnum.lstrip([chars])

Return a copy of the string with leading whitespace removed.

FailureMeasureEnum.rfind(sub[, start[, end]], /)

Return the highest index in S where substring sub is found, such that sub is contained within S[start:end].

FailureMeasureEnum.rindex(sub[, start[, end]], /)

Return the highest index in S where substring sub is found, such that sub is contained within S[start:end].

FailureMeasureEnum.rjust(width[, fillchar])

Return a right-justified string of length width.

FailureMeasureEnum.rstrip([chars])

Return a copy of the string with trailing whitespace removed.

FailureMeasureEnum.rpartition(sep, /)

Partition the string into three parts using the given separator.

FailureMeasureEnum.splitlines(/[, keepends])

Return a list of the lines in the string, breaking at line boundaries.

FailureMeasureEnum.strip([chars])

Return a copy of the string with leading and trailing whitespace removed.

FailureMeasureEnum.swapcase(/)

Convert uppercase characters to lowercase and lowercase characters to uppercase.

FailureMeasureEnum.translate(table, /)

Replace each character in the string using the given translation table.

FailureMeasureEnum.upper(/)

Return a copy of the string converted to uppercase.

FailureMeasureEnum.startswith(prefix[, ...)

Return True if the string starts with the specified prefix, False otherwise.

FailureMeasureEnum.endswith(suffix[, start[, ...)

Return True if the string ends with the specified suffix, False otherwise.

FailureMeasureEnum.removeprefix(prefix, /)

Return a str with the given prefix string removed if present.

FailureMeasureEnum.removesuffix(suffix, /)

Return a str with the given suffix string removed if present.

FailureMeasureEnum.isascii(/)

Return True if all characters in the string are ASCII, False otherwise.

FailureMeasureEnum.islower(/)

Return True if the string is a lowercase string, False otherwise.

FailureMeasureEnum.isupper(/)

Return True if the string is an uppercase string, False otherwise.

FailureMeasureEnum.istitle(/)

Return True if the string is a title-cased string, False otherwise.

FailureMeasureEnum.isspace(/)

Return True if the string is a whitespace string, False otherwise.

FailureMeasureEnum.isdecimal(/)

Return True if the string is a decimal string, False otherwise.

FailureMeasureEnum.isdigit(/)

Return True if the string is a digit string, False otherwise.

FailureMeasureEnum.isnumeric(/)

Return True if the string is a numeric string, False otherwise.

FailureMeasureEnum.isalpha(/)

Return True if the string is an alphabetic string, False otherwise.

FailureMeasureEnum.isalnum(/)

Return True if the string is an alpha-numeric string, False otherwise.

FailureMeasureEnum.isidentifier(/)

Return True if the string is a valid Python identifier, False otherwise.

FailureMeasureEnum.isprintable(/)

Return True if the string is printable, False otherwise.

FailureMeasureEnum.zfill(width, /)

Pad a numeric string with zeros on the left, to fill a field of the given width.

FailureMeasureEnum.format(*args, **kwargs)

Return a formatted version of the string, using substitutions from args and kwargs.

FailureMeasureEnum.format_map(mapping, /)

Return a formatted version of the string, using substitutions from mapping.

FailureMeasureEnum.maketrans(x[, y, z])

Return a translation table usable for str.translate().

Attributes