pymem3dg.boilerplate.prescribeGaussianPointForce¶
- pymem3dg.boilerplate.prescribeGaussianPointForce(vertexPositions: ndarray[Any, dtype[float64]], vertexDualAreas: list, time: float, geodesicDistances: list, Kf: float, std: float, tau: float)¶
form function that generate external force on a single vertex following a Gaussian distribution of geodesic distance
- Parameters:
vertexPositions (npt.NDArray[np.float64]) – vertex position matrix of the mesh
vertexDualAreas (list) – vertex dual area. Unused
time (float) – time of the simulation. Unused
geodesicDistances (list) – geodesic distance centered at the vertex
Kf (float) – force magnitude coefficient
std (float) – standard deviation of the Gaussian distribution
tau (float) – time scale of decay in the form of exp(-time/tau)
- Returns:
vertex force matrix
- Return type:
(npt.NDArray[np.float64])