|
tfel
|
HCP crystallography handler using the Wigner-Seitz cell. More...
#include </home/runner/work/tfel/tfel/include/NUMODIS/HCP.hxx>
Public Member Functions | |
| HCP (const double) | |
| HCP (HCP &&) noexcept | |
| HCP (const HCP &) | |
| double | Norm2 (const IBurgers &) const override |
| int | getNsymmetries () const override |
| GSystem | Symmetry (int, const GSystem &) const override |
| void | GenerateEquivalentIBurgers (const IBurgers &, std::vector< IBurgers > &) const override |
| void | GenerateEquivalentPlanes (const IPlane &, std::vector< IPlane > &) const override |
| void | GenerateEquivalentIndices (const std::vector< int > &, std::vector< std::vector< int > > &) const override |
| void | GenerateOrthogonalVector (const IPlane &, IDirection &) const override |
| Find a vector v orthogonal to u. | |
| bool | SamePlaneFamily (const IPlane &, const IPlane &) const override |
| Return true if two planes are equivalent. | |
| bool | SameBurgersFamily (const IBurgers &, const IBurgers &) const override |
| Return true if two Burgers are equivalent. | |
| bool | SameGlideSystem (const IPlane &, const IBurgers &, const IPlane &, const IBurgers &) const override |
| void | CrossProduct (const IPlane &, const IPlane &, IDirection &) const override |
| Compute the cross product of two plane normals. | |
| void | CrossProduct (const IBurgers &, const IDirection &, IPlane &) const override |
| Compute the cross product of a Burgers and a direction. | |
| int | getNindices () const override |
| Returns the number of indices used for discrete coordinates. | |
| int | ScalProduct (const IPlane &iplane, const IBurgers &iburgers) const override |
| Compute the scalar product of a IPlane * IBurgers. | |
| int | ScalProduct (const IPlane &iplane, const IDirection &idirection) const override |
| Compute the scalar product of a IPlane * IDirection. | |
| Public Member Functions inherited from numodis::Crystallo | |
| Crystallo (Crystallo &&) noexcept | |
| Crystallo (const Crystallo &) | |
| GSystem | InitGSystem (const IBurgers &iburgers, const IPlane &iplane) const |
| virtual Vect3 | direction (const IDirection &) const |
| virtual Vect3 | normal (const IPlane &) const |
| virtual Vect3 | burgers_vector (const IBurgers &) const |
| virtual void | GenerateEquivalentGSystems (const GSystem &gsystem, std::vector< GSystem > &allGSystems) const |
| virtual GSystem | ComputeJunctionGSystem (const GSystem &gsystem1, const GSystem &gsystem2) const |
| const std::string & | PrintName () const |
| Returns the name of the Crystallo handler. | |
| bool | Collinear (const IDirection &idirection1, const IDirection &idirection2) const |
| Determine whether two directions are collinear or not. | |
| const std::string | getName () const |
Static Public Attributes | |
| static constexpr double | default_ratio = 1.632993162 |
| default value of the c/a ratio | |
Additional Inherited Members | |
| Protected Attributes inherited from numodis::Crystallo | |
| std::string | _name |
| name of the class | |
| std::vector< Vect3 > | _alattice |
| basis used to compute atomic positions and directions | |
| std::vector< Vect3 > | _blattice |
| basis used to compute Burgers' vector | |
| std::vector< Vect3 > | _plattice |
| basis used to compute plane normal | |
HCP crystallography handler using the Wigner-Seitz cell.
HCP handles hexagonal closed-packed structures using the Wigner-Seitz cell and the standard 4 indices notation.
The unit vectors \(\mathbf{a}_1\), \(\mathbf{a}_2\), \(\mathbf{a}_3\) and \(\mathbf{a}_4\) are defined as follows:
The discrete position \(\mathbf{r}\) of a node is defined by a quadruplet of integer \((i,j,k,l)\) such that:
\[\mathbf{r} = i \mathbf{a}_1 + j \mathbf{a}_2 + k \mathbf{a}_3 + l \mathbf{a}_4 \]
|
explicit |
| [in] | r | c/a ratio |
|
overridevirtual |
Compute the cross product of a Burgers and a direction.
Compute iburgers x idirection
This method returns 0 if iburgers and idirection are collinear.
| iburgers | indices of the Burgers vector |
| idirection | indices of the direction |
| iplane | indices of the corresponding plane |
Implements numodis::Crystallo.
|
overridevirtual |
Compute the cross product of two plane normals.
Compute iplane0 x iplane1
This method returns 0 if iplane0 and iplane1 are collinear.
| iplane0 | index of the first plane |
| iplane1 | index of the second plane |
| idirection | common direction |
Implements numodis::Crystallo.
|
overridevirtual |
Reimplemented from numodis::Crystallo.
|
overridevirtual |
Implements numodis::Crystallo.
|
overridevirtual |
Reimplemented from numodis::Crystallo.
|
overridevirtual |
Find a vector v orthogonal to u.
| u | a vector (input) |
| v | a vector orthonal to u (output) |
Implements numodis::Crystallo.
|
nodiscardoverridevirtual |
Returns the number of indices used for discrete coordinates.
Reimplemented from numodis::Crystallo.
|
nodiscardoverridevirtual |
Implements numodis::Crystallo.
|
nodiscardoverridevirtual |
Implements numodis::Crystallo.
|
nodiscardoverridevirtual |
Return true if two Burgers are equivalent.
Example for cubic crystals: [110] is equivalent to [-101]
| iburgers0 | first Burgers vector |
| iburgers1 | second Burgers vector |
Implements numodis::Crystallo.
|
nodiscardoverridevirtual |
Reimplemented from numodis::Crystallo.
|
nodiscardoverridevirtual |
Return true if two planes are equivalent.
Example for cubic crystals: (110) is equivalent to (-101)
| iplane0 | first plane |
| iplane1 | second plane |
Implements numodis::Crystallo.
|
nodiscardoverridevirtual |
Compute the scalar product of a IPlane * IBurgers.
This method returns 0 if a Burgers vector is included in a plane
| iplane | indices of the glide plane |
| iburgers | indices of the Burgers vector |
Implements numodis::Crystallo.
|
nodiscardoverridevirtual |
Compute the scalar product of a IPlane * IDirection.
This method returns 0 if a discrete direction is included in a plane
| iplane | indices of the glide plane |
| idirection | indices of a discrete vector |
Implements numodis::Crystallo.
Implements numodis::Crystallo.