76 void pushToCauchy(
const std::vector<Matrix3d>& piolaStress,std::vector<Matrix3d>& cauchyStress);
Represents a particle configuration including simulation box information.
Computes deformation gradients and stress tensors using Moving Least Squares (MLS) interpolation on a...
std::vector< Matrix3d > deformationGradient
Deformation gradient at each grid point (one per grid coordinate).
void writeDeformationGradient()
Writes the deformation gradient at each grid point to a file.
void pushToCauchy(const std::vector< Matrix3d > &piolaStress, std::vector< Matrix3d > &cauchyStress)
Converts Piola-Kirchhoff stress to Cauchy stress at grid points.
double radiusMls
Radius of influence for the MLS weighting function.
std::string name
Identifier name used for output file prefixes.
void writePushedCauchyStress(std::vector< Matrix3d > &cauchyStress)
Writes Cauchy stresses at grid points to a file.
std::vector< Vector3d > gridPushed
Positions of grid points after applying MLS displacements.
void writeGridPushed()
Writes the pushed (deformed) grid point coordinates to a file.