Home
last modified time | relevance | path

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

/petsc/src/dm/field/tutorials/
H A Dex1.c7 …t dim, PetscScalar *B, PetscScalar *D, PetscScalar *H, PetscReal *rB, PetscReal *rD, PetscReal *rH) in ViewResults() argument
20 PetscCall(PetscRealView(N * dim, rD, viewer)); in ViewResults()
31 PetscReal *rB, *rD, *rH; in TestEvaluate() local
47 …PetscCall(PetscMalloc6(n * nc, &B, n * nc, &rB, n * nc * dim, &D, n * nc * dim, &rD, n * nc * dim … in TestEvaluate()
49 PetscCall(DMFieldEvaluate(field, points, PETSC_REAL, rB, rD, rH)); in TestEvaluate()
54 PetscCall(ViewResults(viewer, n * nc, dim, B, D, H, rB, rD, rH)); in TestEvaluate()
56 PetscCall(PetscFree6(B, rB, D, rD, H, rH)); in TestEvaluate()
67 PetscReal *rB, *rD, *rH; in TestEvaluateFE() local
90 …PetscCall(PetscMalloc6(N, &B, N, &rB, N * dim, &D, N * dim, &rD, N * dim * dim, &H, N * dim * dim,… in TestEvaluateFE()
92 PetscCall(DMFieldEvaluateFE(field, cellIS, quad, PETSC_REAL, rB, rD, rH)); in TestEvaluateFE()
[all …]
/petsc/src/dm/field/tutorials/output/
H A Dex1_shell.out38 rD:
68 rD:
97 rD:
H A Dex1_ds.out161 rD:
191 rD:
220 rD:
H A Dex1_da.out36 rD:
97 rD:
140 rD:
H A Dex1_da_1.out18 rD:
H A Dex1_ds_simplex_0.out33 rD:
H A Dex1_da_2.out33 rD:
H A Dex1_ds_tensor_2_1.out33 rD:
H A Dex1_ds_tensor_2_0.out33 rD:
H A Dex1_ds_simplex_2.out33 rD:
H A Dex1_ds_simplex_1.out33 rD:
H A Dex1_ds_tensor_2_2.out33 rD:
H A Dex1_ds_tensor_3_2.out85 rD:
H A Dex1_da_3.out85 rD:
H A Dex1_ds_tensor_3_0.out85 rD:
H A Dex1_ds_tensor_3_1.out85 rD:
/petsc/src/dm/field/impls/shell/
H A Ddmfieldshell.c71 PetscReal *rD = (PetscReal *)D; in DMFieldShellEvaluateFEDefault() local
80 for (i = 0; i < dimC; i++) d[i] = rD[(p * Nc + q) * dimC + i]; in DMFieldShellEvaluateFEDefault()
81 for (i = 0; i < dimC; i++) rD[(p * Nc + q) * dimC + i] = 0.; in DMFieldShellEvaluateFEDefault()
83 …for (j = 0; j < dimC; j++) rD[(p * Nc + q) * dimC + i] += geom->J[(p * dimC + j) * dimC + i] * d[j… in DMFieldShellEvaluateFEDefault()
/petsc/src/dm/field/impls/ds/
H A Ddmfieldds.c553 PetscReal *rD = (PetscReal *)D; in DMFieldEvaluateFV_DS() local
559 for (j = 0; j < Nc * dimC; j++) rD[i * Nc * dimC + j] = 0.; in DMFieldEvaluateFV_DS()
568 …for (l = 0; l < dimC; l++) rD[(i * Nc + j) * dimC + l] += geom->detJ[i * Nq + k] * weights[k] * pD… in DMFieldEvaluateFV_DS()
571 for (k = 0; k < Nc * dimC; k++) rD[i * Nc * dimC + k] /= vol; in DMFieldEvaluateFV_DS()