Skip to content

raisim::fem::RecoveryErrorEstimate ​

struct · #include <raisim/fem/ErrorEstimation.hpp>

Zienkiewicz-Zhu estimate of the energy-norm discretization error of a solved linear elastic model.

Public member functions ​

relative ​

cpp
double relative() const

Estimated error relative to the estimated exact energy norm.

Public attributes ​

elementSquared ​

cpp
std::vector<double> elementSquared

Squared energy-norm error per tetrahedron: the stress error times the strain error it causes, integrated over the element (J).

errorSquared ​

cpp
double errorSquared

energySquared ​

cpp
double energySquared

Squared energy norm of the finite element solution: twice its strain energy (J).

RaiSim — physics for robotics and AI.