oILAB
Loading...
Searching...
No Matches
inverse_design_core Namespace Reference

Data Structures

class  InverseDesignResult
 

Functions

 frac_array (x)
 
 to_fraction (x)
 
 frac_dot (a, b)
 
 frac_outer (a, b)
 
 frac_abs (x)
 
 frac_to_float_matrix (M)
 
 inv2_frac (M)
 
 primitive_orthogonal (l)
 
 run_inverse_design (A, b1u, b2u, b3u, l1u, l2u, beta)
 
 print_fraction_matrix (name, M)
 

Function Documentation

◆ frac_abs()

inverse_design_core.frac_abs (   x)

Definition at line 27 of file inverse_design_core.py.

◆ frac_array()

inverse_design_core.frac_array (   x)

Definition at line 9 of file inverse_design_core.py.

◆ frac_dot()

inverse_design_core.frac_dot (   a,
  b 
)

Definition at line 19 of file inverse_design_core.py.

◆ frac_outer()

inverse_design_core.frac_outer (   a,
  b 
)

Definition at line 23 of file inverse_design_core.py.

◆ frac_to_float_matrix()

inverse_design_core.frac_to_float_matrix (   M)

Definition at line 31 of file inverse_design_core.py.

◆ inv2_frac()

inverse_design_core.inv2_frac (   M)
Exact inverse of 2x2 matrix with Fraction entries.

Definition at line 35 of file inverse_design_core.py.

◆ primitive_orthogonal()

inverse_design_core.primitive_orthogonal (   l)
Compute primitive integer vector orthogonal to l = (l1, l2):
    m = (l2, -l1)

Definition at line 56 of file inverse_design_core.py.

◆ print_fraction_matrix()

inverse_design_core.print_fraction_matrix (   name,
  M 
)

Definition at line 155 of file inverse_design_core.py.

◆ run_inverse_design()

inverse_design_core.run_inverse_design (   A,
  b1u,
  b2u,
  b3u,
  l1u,
  l2u,
  beta 
)
Compute deformation gradient F from Burgers vectors and line directions.

Parameters
----------
A : np.ndarray (2x2)
    Structure matrix of reference lattice.
b1u, b2u, b3u : arrays (Fraction)
    Burgers vectors in lattice coordinates.
l1u, l2u : arrays (Fraction)
    Line vectors in lattice coordinates.
beta : Fraction
    Network factor (1 or 3).

Returns
-------
InverseDesignResult

Definition at line 79 of file inverse_design_core.py.

◆ to_fraction()

inverse_design_core.to_fraction (   x)

Definition at line 13 of file inverse_design_core.py.