Lines Matching refs:ndofs
590 ndofs = (nx * 2 + 1) * (ny * 2 + 1)
594 x = ceed.Vector(dim * ndofs)
595 x_array = np.zeros(dim * ndofs)
596 for i in range(ndofs):
598 x_array[i + ndofs] = (1. / (ny * 2)) * (i / (nx * 2 + 1))
602 u = ceed.Vector(ndofs)
603 v = ceed.Vector(ndofs)
626 rx = ceed.ElemRestriction(nelem, p, dim, ndofs, dim * ndofs, indx,
629 ru = ceed.ElemRestriction(nelem, p, 1, 1, ndofs, indx,
681 for i in range(ndofs):
697 ndofs = (nx * 2 + 1) * (ny * 2 + 1)
701 x = ceed.Vector(dim * ndofs)
702 x_array = np.zeros(dim * ndofs, dtype=ceed.scalar_type())
703 for i in range(ndofs):
705 x_array[i + ndofs] = (1. / (ny * 2)) * (i / (nx * 2 + 1))
709 u = ceed.Vector(ndofs)
710 v = ceed.Vector(ndofs)
733 rx = ceed.ElemRestriction(nelem, p, dim, ndofs, dim * ndofs, indx,
736 ru = ceed.ElemRestriction(nelem, p, 1, 1, ndofs, indx,
789 for i in range(ndofs):
806 ndofs = (nx * 2 + 1) * (ny * 2 + 1)
810 x = ceed.Vector(dim * ndofs)
811 x_array = np.zeros(dim * ndofs)
815 x_array[i + j * (ny * 2 + 1) + ndofs] = j / (2 * nx)
820 u = ceed.Vector(ndofs)
821 v = ceed.Vector(ndofs)
846 rx_tet = ceed.ElemRestriction(nelem_tet, p_tet, dim, ndofs, dim * ndofs,
849 ru_tet = ceed.ElemRestriction(nelem_tet, p_tet, 1, 1, ndofs, indx_tet,
909 rx_hex = ceed.ElemRestriction(nelem_hex, p_hex * p_hex, dim, ndofs,
910 dim * ndofs, indx_hex, cmode=libceed.USE_POINTER)
912 ru_hex = ceed.ElemRestriction(nelem_hex, p_hex * p_hex, 1, 1, ndofs,
966 for i in range(ndofs):
982 ndofs = (nx * 2 + 1) * (ny * 2 + 1)
986 x = ceed.Vector(dim * ndofs)
987 x_array = np.zeros(dim * ndofs, dtype=ceed.scalar_type())
991 x_array[i + j * (ny * 2 + 1) + ndofs] = j / (2 * nx)
996 u = ceed.Vector(ndofs)
997 v = ceed.Vector(ndofs)
1022 rx_tet = ceed.ElemRestriction(nelem_tet, p_tet, dim, ndofs, dim * ndofs,
1025 ru_tet = ceed.ElemRestriction(nelem_tet, p_tet, 1, 1, ndofs, indx_tet,
1085 rx_hex = ceed.ElemRestriction(nelem_hex, p_hex * p_hex, dim, ndofs,
1086 dim * ndofs, indx_hex, cmode=libceed.USE_POINTER)
1088 ru_hex = ceed.ElemRestriction(nelem_hex, p_hex * p_hex, 1, 1, ndofs,
1142 for i in range(ndofs):
1159 ndofs = (nx * 2 + 1) * (ny * 2 + 1)
1189 rx_tet = ceed.ElemRestriction(nelem_tet, p_tet, dim, ndofs, dim * ndofs,
1192 ru_tet = ceed.ElemRestriction(nelem_tet, p_tet, 1, 1, ndofs, indx_tet,
1254 rx_hex = ceed.ElemRestriction(nelem_hex, p_hex * p_hex, dim, ndofs,
1255 dim * ndofs, indx_hex,
1258 ru_hex = ceed.ElemRestriction(nelem_hex, p_hex * p_hex, 1, 1, ndofs,
1331 ndofs = (nx * 2 + 1) * (ny * 2 + 1)
1335 x = ceed.Vector(dim * ndofs)
1336 x_array = np.zeros(dim * ndofs, dtype=ceed.scalar_type())
1340 x_array[i + j * (ny * 2 + 1) + ndofs] = j / (2 * nx)
1345 u = ceed.Vector(ndofs)
1346 v = ceed.Vector(ndofs)
1371 rx_tet = ceed.ElemRestriction(nelem_tet, p_tet, dim, ndofs, dim * ndofs,
1374 ru_tet = ceed.ElemRestriction(nelem_tet, p_tet, 1, 1, ndofs, indx_tet,
1434 rx_hex = ceed.ElemRestriction(nelem_hex, p_hex * p_hex, dim, ndofs,
1435 dim * ndofs, indx_hex,
1438 ru_hex = ceed.ElemRestriction(nelem_hex, p_hex * p_hex, 1, 1, ndofs,
1492 for i in range(ndofs):
1502 total = -ndofs
1503 for i in range(ndofs):
1521 ndofs = (nx * 2 + 1) * (ny * 2 + 1)
1525 x = ceed.Vector(dim * ndofs)
1526 x_array = np.zeros(dim * ndofs)
1529 x_array[i + j * (nx * 2 + 1) + 0 * ndofs] = i / (2 * nx)
1530 x_array[i + j * (nx * 2 + 1) + 1 * ndofs] = j / (2 * ny)
1534 u = ceed.Vector(ndofs)
1535 v = ceed.Vector(ndofs)
1546 rx = ceed.ElemRestriction(nelem, p * p, dim, ndofs, dim * ndofs,
1549 ru = ceed.ElemRestriction(nelem, p * p, 1, 1, ndofs, indx,