Open luchete80 opened 2 years ago
Particle and trimesh v and x should be unified internally
Particles properties
Used in nb search:
Vec3_t xij = Particles[P1]->x - Particles[P2]->x;
Used in contact
Vec3_t vr = Particles[P1]->v - Particles[P2]->v; //Fraser 3-137
Trimesh properties: Used in contact:
Element* e = trimesh-> element[Particles[P2]->element];
double pplane = e -> pplane;
double deltat_cont = ( Particles[P1]->h + pplane - dot (Particles[P2]->normal, Particles[P1]->x) ) / (-delta_); //Eq 3-142
Does not make any sense to apply 2 BC for same thing: