1064 auto get_body_id = [&](
auto fe_ent) {
1066 if (
m.second.find(fe_ent) !=
m.second.end()) {
1076 auto fe_ent = getNumeredEntFiniteElementPtr()->getEnt();
1078 auto body_id = get_body_id(fe_ent);
1082 post_proc_ents, &fe_id);
1084 post_proc_ents, &body_id);
1086 auto nb_gauss_pts = getGaussPts().size2();
1087 auto t_u_h1 = getFTensor1FromMat<3>(*
uH1Ptr);
1088 auto t_u_l2 = getFTensor1FromMat<3>(
commonDataPtr->contactDisp);
1089 auto t_coords = getFTensor1CoordsAtGaussPts();
1092 auto t_x_h1 = getFTensor1FromPtr<3>(&x_h1(0, 0));
1094 auto t_x_l2 = getFTensor1FromPtr<3>(&x_l2(0, 0));
1101 for (
auto gg = 0; gg != nb_gauss_pts; ++gg) {
1102 t_x_h1(
i) = t_coords(
i) + t_u_h1(
i);
1103 t_x_l2(
i) = t_coords(
i) + t_u_l2(
i);
1112 CHKERR moab_post_proc_mesh.set_coords(
1113 &*map_gauss_pts.begin(), map_gauss_pts.size(), &*x_h1.data().begin());
1114 CHKERR moab_post_proc_mesh.tag_set_data(
1115 contactTreePtr->thSmallX, &*map_gauss_pts.begin(), map_gauss_pts.size(),
1116 &*x_h1.data().begin());
1117 CHKERR moab_post_proc_mesh.tag_set_data(
1118 contactTreePtr->thLargeX, &*map_gauss_pts.begin(), map_gauss_pts.size(),
1119 &*coords.data().begin());
1120 CHKERR moab_post_proc_mesh.tag_set_data(
1121 contactTreePtr->thTraction, &*map_gauss_pts.begin(), map_gauss_pts.size(),
1122 &*tractions.data().begin());