You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// if (elastic_model == ElasticModel::NeoHookean){
26
-
// dPsidF = NeoHookeanPiola(Fe);
27
-
// }
28
-
// else if (elastic_model == ElasticModel::Hencky){ // St Venant Kirchhoff with Hencky strain
29
-
// dPsidF = HenckyPiola(Fe);
30
-
// }
31
-
// else{
32
-
// debug("You specified an unvalid ELASTIC model!");
33
-
// }
34
-
35
-
// TM tau = dPsidF * Fe.transpose();
36
-
37
-
// TV xp = particles.x[p];
38
-
// unsigned int i_base = std::max(0, int(std::floor((xp(0)-grid.xc)*one_over_dx)) - 1); // i_base = std::min(i_base, Nx-4); // the subtraction of one is valid for both quadratic and cubic splines
0 commit comments