27#include "neml2/tensors/VecBase.h"
60 const std::string & angle_convention,
61 const std::string & angle_type);
Second order tensor without symmetry.
Definition R2.h:42
Third order tensor without symmetry.
Definition R3.h:41
Rotation stored as modified Rodrigues parameters.
Definition Rot.h:49
Rot rotate(const Rot &r) const
Rotate.
Definition Rot.cxx:188
static Rot fill_rodrigues(const Scalar &rx, const Scalar &ry, const Scalar &rz)
Fill from standard Rodrigues parameters.
Definition Rot.cxx:128
Scalar dist(const Rot &r) const
Distance measure between two rotations, accounting for shadow mapping.
Definition Rot.cxx:239
R3 deuler_rodrigues() const
d(R2)/d(r) – useful in constructing other derivatives
Definition Rot.cxx:173
Rot shadow() const
Return the shadow parameter set (a set of MRPs that define the same orientation)
Definition Rot.cxx:226
static Rot fill_random(unsigned int n)
Fill some number of random orientations.
Definition Rot.cxx:139
R2 dshadow() const
Return the derivative of the shadow map.
Definition Rot.cxx:232
static Rot fill_matrix(const R2 &M)
Fill from rotation matrices.
Definition Rot.cxx:111
static Rot identity(const TensorOptions &options=default_tensor_options())
The identity rotation, helpfully the zero vector.
Definition Rot.cxx:57
static Rot fill_euler_angles(const Vec &v, const std::string &angle_convention, const std::string &angle_type)
Fill from an array of Euler angles.
Definition Rot.cxx:63
R2 euler_rodrigues() const
Generate a rotation matrix using the Euler-Rodrigues formula.
Definition Rot.cxx:162
R2 drotate_self(const Rot &r) const
Derivative of the rotated Rodrigues vector w.r.t. this vector.
Definition Rot.cxx:210
Scalar gdist(const Rot &r) const
Raw distance formula, not accounting for shadown mapping.
Definition Rot.cxx:252
Rot inverse() const
Inversion.
Definition Rot.cxx:156
Rot(const Vec &v)
Definition Rot.cxx:51
Scalar dV() const
Volume element at locations.
Definition Rot.cxx:259
R2 drotate(const Rot &r) const
Derivative of the rotated Rodrigues vector w.r.t. the other Rodrigues vector.
Definition Rot.cxx:194
Scalar.
Definition Scalar.h:38
Base class 3-vector.
Definition VecBase.h:44
3-vector.
Definition Vec.h:42
Definition DiagnosticsInterface.cxx:30
TensorOptions default_tensor_options()
Default floating point tensor options.
Definition defaults.cxx:44
Tensor operator*(const Tensor &a, const Tensor &b)
Definition operators.cxx:134
c10::TensorOptions TensorOptions
Definition types.h:63