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:56
A basic R2.
Definition R2.h:42
The (logical) 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:51
torch::Tensor tetragonal(const torch::TensorOptions &options)
tetragonal symmetry operators
Definition crystallography.cxx:37
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:69
Vec unique_bidirectional(const R2 &ops, const Vec &inp)
Helper to return all symmetrically-equivalent directions from a cartesian vector.
Definition crystallography.cxx:131
R2 symmetry_operations_from_orbifold(std::string orbifold, const torch::TensorOptions &options)
Helper function to return the symmetry operators given the Orbifold notation.
Definition crystallography.cxx:82
Definition CrossRef.cxx:30
torch::TensorOptions & default_tensor_options()
Definition types.cxx:30