Material Properties
This module provides functions and classes for material property management and crystallography.
-
arma::mat Schmid(const arma::vec &n, const arma::vec &m)
-
arma::vec Schmid_v(const arma::vec &n, const arma::vec &m)
-
arma::mat F_nm(const arma::vec &N)
-
arma::mat Q_nm(const arma::vec &N, const double &mu, const double &lambda)
-
class variant
- #include <variant.hpp>
Public Functions
-
variant()
Default constructor: zero normal, direction, Schmid tensor and transformation strain.
-
variant(arma::vec n, arma::vec m, double g)
Constructor with parameters; builds the Schmid tensor and the transformation strain.
- Parameters:
n – habit plane normal (size 3)
m – transformation direction (size 3)
g – transformation magnitude, \( \varepsilon^{T}_n = g\,\mathrm{Schmid\_v}(n, m) \)
-
~variant()
Destructor.
-
void build(const double &g)
Rebuild the Schmid tensor R and the transformation strain ETn from the stored n, m.
- Parameters:
g – transformation magnitude (must be > 0)
-
variant()