|
tfel
|
Cubic handles crystallographic operations for cubic crystals. More...
#include </home/runner/work/tfel/tfel/include/NUMODIS/Cubic.hxx>
Public Member Functions | |
| Cubic (Cubic &&) noexcept | |
| Cubic (const Cubic &) | |
| Vect3 | direction (const IDirection &) const override |
| Vect3 | burgers_vector (const IBurgers &) const override |
| Vect3 | normal (const IPlane &) const override |
| double | Norm2 (const IBurgers &iburgers) const override |
| int | getNsymmetries () const override |
| GSystem | Symmetry (int k, const GSystem &gsystem) const override |
| void | GenerateEquivalentIndices (const std::vector< int > &ind0, std::vector< std::vector< int > > &equivalent) const override |
| void | GenerateOrthogonalVector (const IPlane &u, IDirection &v) const override |
| Find a vector v orthogonal to u. | |
| void | CrossProduct (const IPlane &iplane1, const IPlane &iplane2, IDirection &idirection) const override |
| Compute the cross product of two plane normals. | |
| void | CrossProduct (const IBurgers &iburgers, const IDirection &idirection, IPlane &iplane) const override |
| Compute the cross product of a Burgers and a direction. | |
| void | CrossProduct (const IDirection &idirection0, const IDirection &idirection1, IDirection &idirection2) const |
| 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. | |
| int | ScalProduct (const IDirection &idirection0, const IDirection &idirection1) const |
| Compute the scalar product of two IDirections. | |
| bool | SamePlaneFamily (const IPlane &iplane0, const IPlane &iplane1) const override |
| Return true if two planes are equivalent. | |
| bool | SameBurgersFamily (const IBurgers &iburgers0, const IBurgers &iburgers1) const override |
| Return true if two Burgers are equivalent. | |
| bool | SameGlideSystem (const IPlane &iplane0, const IBurgers &iburgers0, const IPlane &iplane1, const IBurgers &iburgers1) const override |
| Public Member Functions inherited from numodis::Crystallo | |
| Crystallo (Crystallo &&) noexcept | |
| Crystallo (const Crystallo &) | |
| GSystem | InitGSystem (const IBurgers &iburgers, const IPlane &iplane) const |
| virtual void | GenerateEquivalentIBurgers (const IBurgers &iburgers, std::vector< IBurgers > &eqiburgers) const |
| virtual void | GenerateEquivalentPlanes (const IPlane &iplane, std::vector< IPlane > &planes) 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. | |
| virtual int | getNindices () const |
| Returns the number of indices used for discrete coordinates. | |
| bool | Collinear (const IDirection &idirection1, const IDirection &idirection2) const |
| Determine whether two directions are collinear or not. | |
| const std::string | getName () const |
Protected Member Functions | |
| virtual void | Init () |
| std::vector< int > | Symmetry (int k, const std::vector< int > &indices) const |
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 | |
Cubic handles crystallographic operations for cubic crystals.
Cubic provides generic tools common to all cubic structures such as FCC or BCC structures. In particular, Cubic takes advantage of the symmetry and the orthogonality of the cubic lattice to perform its calculations.
Reimplemented from numodis::Crystallo.
|
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.
|
nodiscardoverridevirtual |
Reimplemented from numodis::Crystallo.
|
overridevirtual |
Implements 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 |
Implements numodis::Crystallo.
|
nodiscardoverridevirtual |
Implements numodis::Crystallo.
Reimplemented from 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.
|
inlinenodiscard |
Compute the scalar product of two IDirections.
This method returns 0 if these two directions are orthogonal
| idirection0 | first direction |
| idirection1 | second direction |
|
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 direction |
Implements numodis::Crystallo.
Implements numodis::Crystallo.