Searched refs:orient (Results 1 – 4 of 4) sorted by relevance
| /libCEED/include/ceed/jit-source/cuda/ |
| H A D | cuda-ref-restriction-oriented.h | 19 const bool orient = orients[node]; in OrientedNoTranspose() local 24 … RSTR_NUM_ELEM + elem * RSTR_ELEM_SIZE] = u[ind + comp * RSTR_COMP_STRIDE] * (orient ? -1.0 : 1.0); in OrientedNoTranspose() 37 const bool orient = orients[node]; in OrientedTranspose() local 43 …loc_node + comp * RSTR_ELEM_SIZE * RSTR_NUM_ELEM + elem * RSTR_ELEM_SIZE] * (orient ? -1.0 : 1.0)); in OrientedTranspose() 62 const bool orient = orients[t_ind]; in OrientedTranspose() local 67 …[loc_node + comp * RSTR_ELEM_SIZE * RSTR_NUM_ELEM + elem * RSTR_ELEM_SIZE] * (orient ? -1.0 : 1.0); in OrientedTranspose()
|
| /libCEED/include/ceed/jit-source/hip/ |
| H A D | hip-ref-restriction-oriented.h | 19 const bool orient = orients[node]; in OrientedNoTranspose() local 24 … RSTR_NUM_ELEM + elem * RSTR_ELEM_SIZE] = u[ind + comp * RSTR_COMP_STRIDE] * (orient ? -1.0 : 1.0); in OrientedNoTranspose() 37 const bool orient = orients[node]; in OrientedTranspose() local 43 …loc_node + comp * RSTR_ELEM_SIZE * RSTR_NUM_ELEM + elem * RSTR_ELEM_SIZE] * (orient ? -1.0 : 1.0)); in OrientedTranspose() 62 const bool orient = orients[t_ind]; in OrientedTranspose() local 67 …[loc_node + comp * RSTR_ELEM_SIZE * RSTR_NUM_ELEM + elem * RSTR_ELEM_SIZE] * (orient ? -1.0 : 1.0); in OrientedTranspose()
|
| /libCEED/tests/ |
| H A D | t220-elemrestriction.c | 14 bool orient[p * num_elem]; in main() local 30 orient[2 * i + 0] = (i % (2)) * -1 < 0; // flip the dofs on element 1, 3, ... in main() 31 orient[2 * i + 1] = (i % (2)) * -1 < 0; in main() 33 …num_elem, p, dim, 1, num_elem + 1, CEED_MEM_HOST, CEED_USE_POINTER, ind, orient, &elem_restriction… in main()
|
| /libCEED/interface/ |
| H A D | ceed-preconditioning.c | 841 const double orient = elem_orients[i] ? -1.0 : 1.0; in CeedOperatorAssembleSingle() local 844 elem_mat[i * elem_size_in + j] *= orient; in CeedOperatorAssembleSingle()
|