27#include "neml2/tensors/R2.h"
32namespace crystallography
34namespace crystal_symmetry_operators
36constexpr double a = 0.7071067811865476;
37constexpr double b = 0.8660254037844386;
38constexpr double h = 0.5;
39constexpr double o = 1.0;
40constexpr double z = 0.0;
A batched quaternion.
Definition Quaternion.h:45
Second order tensor without symmetry.
Definition R2.h:42
3-vector.
Definition Vec.h:43
constexpr double a
Definition crystallography.h:36
constexpr double o
Definition crystallography.h:39
Quaternion hexagonal(const TensorOptions &options)
hexagonal symmetry operators
Definition crystallography.cxx:51
constexpr double z
Definition crystallography.h:40
constexpr double h
Definition crystallography.h:38
constexpr double b
Definition crystallography.h:37
Quaternion cubic(const TensorOptions &options)
cubic symmetry operators
Definition crystallography.cxx:69
Quaternion tetragonal(const TensorOptions &options)
tetragonal symmetry operators
Definition crystallography.cxx:37
Vec unique_bidirectional(const R2 &ops, const Vec &inp)
Helper to return all symmetrically-equivalent directions from a cartesian vector.
Definition crystallography.cxx:127
R2 symmetry_operations_from_orbifold(const std::string &orbifold, const TensorOptions &options)
Helper function to return the symmetry operators given the Orbifold notation.
Definition crystallography.cxx:82
Definition DiagnosticsInterface.cxx:30
TensorOptions default_tensor_options()
Default floating point tensor options.
Definition defaults.cxx:42
c10::TensorOptions TensorOptions
Definition types.h:60