get_default_strain_states#

atomate2.common.analysis.elastic.get_default_strain_states(order)[source]#

Generate a list of strain-states for calculating 2nd or 3rd order elastic tensors.

Parameters:

order (int) – Order of the tensor expansion to be calculated. Can be either 2 or 3.

Returns:

A list of strain states.

Return type:

list of tuple of int