Home
last modified time | relevance | path

Searched refs:m_nodes (Results 1 – 1 of 1) sorted by relevance

/libCEED/examples/petsc/
H A Dbpsraw.c59 …[3], const PetscInt i_rank[3], PetscInt degree, const PetscInt mesh_elem[3], PetscInt m_nodes[3]) { in GlobalNodes()
60 for (int d = 0; d < 3; d++) m_nodes[d] = degree * mesh_elem[d] + (i_rank[d] == p[d] - 1); in GlobalNodes()
68 PetscInt m_nodes[3], ijk_rank[] = {i, j, k}; in GlobalStart() local
70 GlobalNodes(p, ijk_rank, degree, mesh_elem, m_nodes); in GlobalStart()
71 start += m_nodes[0] * m_nodes[1] * m_nodes[2]; in GlobalStart()
79 CeedInt m_nodes[3], *idx, *idx_p; in CreateRestriction() local
83 for (int d = 0; d < 3; d++) m_nodes[d] = mesh_elem[d] * (P - 1) + 1; in CreateRestriction()
92 … P + jj) * P + kk] = num_comp * (((i * (P - 1) + ii) * m_nodes[1] + (j * (P - 1) + jj)) * m_nodes[… in CreateRestriction()
94 …P * (jj + P * kk)] = num_comp * (((i * (P - 1) + ii) * m_nodes[1] + (j * (P - 1) + jj)) * m_nodes[… in CreateRestriction()
104 …emRestrictionCreate(ceed, num_elem, P * P * P, num_comp, 1, m_nodes[0] * m_nodes[1] * m_nodes[2] *… in CreateRestriction()
[all …]