ogstools.variables.matrix module#
- class ogstools.variables.matrix.Matrix[source]#
- Bases: - Variable- Represent a matrix variable. - Matrix variables should contain either 4 (2D) or 6 (3D) components. Matrix components can be accesses with brackets e.g. stress[0] - property eigenvectors: VectorList#
- A vector variable as the eigenvectors of the matrix. 
 - property deviator_invariant_1: Scalar#
- A scalar variable as the first invariant of the matrix deviator. 
 - property deviator_invariant_2: Scalar#
- A scalar variable as the second invariant of the matrix deviator. 
 - property deviator_invariant_3: Scalar#
- A scalar variable as the third invariant of the matrix deviator. 
 - property octahedral_shear: Scalar#
- A scalar variable as the octahedral shear component of the matrix. 
 - __init__(data_name, data_unit='', output_unit='', output_name='', symbol='', mask='', func=<function identity>, mesh_dependent=False, process_with_units=False, cmap='coolwarm', bilinear_cmap=False, categoric=False, color=None, linestyle=None)#
 
