projectmidnodes.f

Also here the procedure is similar to the one for vertex nodes. Projection may lead to bad elements. A quadratic element is bad if the Jacobian determinant in at least one integration point is negative. Then, the projection is successively reduced. In that case, all edges belonging to the shell are listed as bad edges.