25#include "neml2/models/crystallography/user_tensors/SymmetryFromOrbifold.h"
27#include "neml2/models/crystallography/crystallography.h"
31namespace crystallography
39 options.
doc() =
"Returns a tensor of symmetry operations for a given symmetr group represented "
40 "in orbifold notation.";
42 options.
set<std::string>(
"orbifold");
43 options.
set(
"orbifold").doc() =
44 "A string giving the orbifold representation of the group, for example 432 for the typical "
45 "cubic crystal system defined by chiral octahedral symmetry";
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:52
A custom map-like data structure. The keys are strings, and the values can be nonhomogeneously typed.
Definition OptionSet.h:59
const std::string & doc() const
A readonly reference to the option set's docstring.
Definition OptionSet.h:91
T & set(const std::string &)
Definition OptionSet.h:436
A basic R2.
Definition R2.h:42
Definition UserTensor.h:33
static OptionSet expected_options()
Definition UserTensor.cxx:30
Provide the correct symmetry operators for a given crystal class.
Definition SymmetryFromOrbifold.h:39
SymmetryFromOrbifold(const OptionSet &options)
Setup the symmetry operators.
Definition SymmetryFromOrbifold.cxx:49
static OptionSet expected_options()
Definition SymmetryFromOrbifold.cxx:36
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:84
Definition CrossRef.cxx:32