25#include "neml2/tensors/WWR4.h"
26#include "neml2/tensors/R4.h"
27#include "neml2/misc/math.h"
33 :
WWR4(math::full_to_skew(
34 math::full_to_skew(
F -
F.transpose(0, 1) -
F.transpose(2, 3) +
F.transpose_minor(), 1)))
41 return WWR4(torch::eye(3, options), 0);
The wrapper (decorator) for cross-referencing unresolved values at parse time.
Definition CrossRef.h:52
The (logical) full fourth order tensor.
Definition R4.h:43
The (logical) symmetric fourth order tensor, with skew symmetry in the first two dimensions and last ...
Definition WWR4.h:40
static WWR4 identity(const torch::TensorOptions &options=default_tensor_options())
Create the identity tensor .
Definition WWR4.cxx:39
WWR4(const R4 &F)
Definition WWR4.cxx:32
Definition CrossRef.cxx:32