27#include "neml2/tensors/R2.h"
32namespace crystallography
34namespace crystal_symmetry_operators
36constexpr Real a = 0.7071067811865476;
37constexpr Real b = 0.8660254037844386;
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:54
Second order tensor without symmetry.
Definition R2.h:42
3-vector.
Definition Vec.h:42
constexpr Real o
Definition crystallography.h:39
constexpr Real z
Definition crystallography.h:40
constexpr Real a
Definition crystallography.h:36
torch::Tensor hexagonal(const torch::TensorOptions &options)
hexagonal symmetry operators
Definition crystallography.cxx:49
torch::Tensor tetragonal(const torch::TensorOptions &options)
tetragonal symmetry operators
Definition crystallography.cxx:35
constexpr Real h
Definition crystallography.h:38
constexpr Real b
Definition crystallography.h:37
torch::Tensor cubic(const torch::TensorOptions &options)
cubic symmetry operators
Definition crystallography.cxx:67
Vec unique_bidirectional(const R2 &ops, const Vec &inp)
Helper to return all symmetrically-equivalent directions from a cartesian vector.
Definition crystallography.cxx:130
R2 symmetry_operations_from_orbifold(const std::string &orbifold, const torch::TensorOptions &options)
Helper function to return the symmetry operators given the Orbifold notation.
Definition crystallography.cxx:80
Definition CrossRef.cxx:31
torch::TensorOptions & default_tensor_options()
Definition types.cxx:157