27#include "neml2/tensors/PrimitiveTensor.h"
Represention of a crystal direction or plane a Miller Index.
Definition MillerIndex.h:38
Vec to_normalized_vec(const TensorOptions &options=default_tensor_options()) const
Convert back to a normalized real Vec.
Definition MillerIndex.cxx:58
Vec to_vec(const TensorOptions &options=default_tensor_options()) const
Convert back to a (real) Vec.
Definition MillerIndex.cxx:52
Scalar operator()(Size i) const
Accessor.
Definition MillerIndex.cxx:33
static MillerIndex fill(Integer a, Integer b, Integer c, const TensorOptions &options=default_integer_tensor_options())
Most likely construction method – make from three ints.
Definition MillerIndex.cxx:39
MillerIndex reduce() const
Reduce to the greatest common demoninator.
Definition MillerIndex.cxx:45
PrimitiveTensor()=default
Scalar.
Definition Scalar.h:38
3-vector.
Definition Vec.h:42
Definition DiagnosticsInterface.cxx:30
int64_t Integer
Definition types.h:70
TensorOptions default_tensor_options()
Default floating point tensor options.
Definition defaults.cxx:44
int64_t Size
Definition types.h:69
TensorOptions default_integer_tensor_options()
Default integral tensor options.
Definition defaults.cxx:50
c10::TensorOptions TensorOptions
Definition types.h:63