8#ifndef INTERPOLATION_H_
9#define INTERPOLATION_H_
151 Eigen::Vector3d
interpolateVector(
const std::vector<double>& times,
const std::vector<Eigen::Vector3d>& values,
double itime);
Represents a body in the space forming by a group of materials points and identified by a number.
Definition Body.h:19
Class representing a rectangular grid mesh.
Definition Mesh.h:29
Represents the interpolation operations in the MPM.
void nodalMomentumFluid(Mesh *mesh, vector< Body * > *bodies)
Interpolate fluid momentum from particles to nodes.
void nodalInternalForceFluid(Mesh *mesh, vector< Body * > *bodies)
Interpolate internal force of fluid from particles to nodes.
void nodalMass(Mesh *mesh, vector< Body * > *bodies)
Interpolate solid mass from particles to nodes.
void nodalDragForceFluid(Mesh *mesh, vector< Body * > *bodies)
Interpolate drag force of fluid from particles to nodes.
void nodalInternalForce(Mesh *mesh, vector< Body * > *bodies)
Interpolate internal force of solid from particles to nodes.
void particleStrainIncrementFluid(Mesh *mesh, vector< Body * > *bodies, double time_step)
Interpolate the strain increment of fluid at particle.
void nodalExternalForce(Mesh *mesh, vector< Body * > *bodies)
Interpolate external force of solid from particles to nodes.
void nodalExternalForceFluid(Mesh *mesh, vector< Body * > *bodies)
Interpolate external force of fluid from particles to nodes.
void particleVorticityIncrement(Mesh *mesh, vector< Body * > *bodies, double time_step)
Interpolate vorticity increment of solid at particle.
void particleStrainIncrement(Mesh *mesh, vector< Body * > *bodies, double time_step)
Interpolate the strain increment of solid at particle.
void particleDeformationGradient(Mesh *mesh, vector< Body * > *bodies, double time_step)
Interpolate deformation gradient of solid at particle.
Eigen::Vector3d interpolateVector(const std::vector< double > ×, const std::vector< Eigen::Vector3d > &values, double itime)
void nodalMomentum(Mesh *mesh, vector< Body * > *bodies)
Interpolate solid momentum from particles to nodes.
void nodalMassFuid(Mesh *mesh, vector< Body * > *bodies)
Interpolate fluid mass from particles to nodes.