linear_solver{ }¶

Calling sequence

strain{ linear_solver{ } }

Properties
• using: $$\mathrm{\textcolor{Dandelion}{conditional}}$$

• items: $$\mathrm{maximum\;1}$$

Dependencies
Functionality

Example
strain{
minimized_strain{}
linear_solver{}
}


Nested keywords

iterations¶

Calling sequence

strain{ linear_solver{ iterations } }

Properties
• using: $$\mathrm{\textcolor{ForestGreen}{optional\;within\;the\;scope}}$$

• type: $$\mathrm{integer}$$

• values: {1, 2, 3, 4, ...}

• default: 10000

• unit: $$\mathrm{-}$$

Functionality

Number of iterations for linear equation solver in strain algorithm

Example
strain{
minimized_strain{}
linear_solver{
iterations = 50000
}
}


abs_accuracy¶

Calling sequence

strain{ linear_solver{ abs_accuracy } }

Properties
• using: $$\mathrm{\textcolor{ForestGreen}{optional\;within\;the\;scope}}$$

• type: $$\mathrm{real\;number}$$

• values: [0.0, ...)

• default: 1e-8

• unit: $$\mathrm{GP\,}$$ (1D) / $$\mathrm{GP\,nm\,}$$ (2D) / $$\mathrm{GP\,nm^{2}\,}$$ (3D)

Functionality

Example
strain{
minimized_strain{}
linear_solver{
abs_accuracy = 1e-9
}
}


rel_accuracy¶

Calling sequence

strain{ linear_solver{ rel_accuracy } }

Properties
• using: $$\mathrm{\textcolor{ForestGreen}{optional\;within\;the\;scope}}$$

• type: $$\mathrm{real\;number}$$

• values: [0.0, 1e-2]

• default: 1e-12

• unit: $$\mathrm{-}$$

Functionality

Example
strain{
minimized_strain{}
linear_solver{
rel_accuracy = 1e-10
}
}


use_cscg¶

Calling sequence

strain{ linear_solver{ use_cscg } }

Properties
• using: $$\mathrm{\textcolor{ForestGreen}{optional\;within\;the\;scope}}$$

• type: $$\mathrm{choice}$$

• choices: yes; no

• default: no

Functionality

Composite step conjugate gradient solver (try this one if standard solver fails to converge)

Example
strain{
minimized_strain{}
linear_solver{
use_cscg = yes
}
}


force_diagonal_preconditioner¶

Calling sequence

strain{ linear_solver{ force_diagonal_preconditioner } }

Properties
• using: $$\mathrm{\textcolor{ForestGreen}{optional\;within\;the\;scope}}$$

• type: $$\mathrm{choice}$$

• choices: yes; no

• default: no

Functionality

Example
strain{
minimized_strain{}
linear_solver{
force_diagonal_preconditioner = yes
}
}