Home
last modified time | relevance | path

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

/petsc/src/ksp/ksp/tutorials/
H A Dex36.cxx361 PetscReal *phi, *dphi[3], *phypts, *jxw; in ComputeMatrix_MOAB() local
376 …* npoints, &phi, user->VPERE * npoints, &dphi[0], user->VPERE * npoints, &dphi[1], user->VPERE * n… in ComputeMatrix_MOAB()
394 PetscCall(DMMoabFEMComputeBasis(user->dim, nconn, vpos, quadratureObj, phypts, jxw, phi, dphi)); in ComputeMatrix_MOAB()
409 …= jxw[q] * (rho * (dphi[0][offset + i] * dphi[0][offset + j] + dphi[1][offset + i] * dphi[1][offse… in ComputeMatrix_MOAB()
448 PetscCall(PetscFree6(phi, dphi[0], dphi[1], dphi[2], phypts, jxw)); in ComputeMatrix_MOAB()
H A Dex35.cxx397 PetscReal *phi, *dphi[2], *phypts, *jxw; in ComputeMatrix() local
412 …loc5(user->VPERE * npoints, &phi, user->VPERE * npoints, &dphi[0], user->VPERE * npoints, &dphi[1]… in ComputeMatrix()
434 PetscCall(DMMoabFEMComputeBasis(2, nconn, vpos, quadratureObj, phypts, jxw, phi, dphi)); in ComputeMatrix()
446 …ay[i * nconn + j] += jxw[q] * rho * (dphi[0][q * nconn + i] * dphi[0][q * nconn + j] + dphi[1][q *… in ComputeMatrix()
488 PetscCall(PetscFree5(phi, dphi[0], dphi[1], phypts, jxw)); in ComputeMatrix()
/petsc/src/snes/tutorials/
H A Dex48.c193 static void HexGrad(const PetscReal dphi[][3], const PetscReal zn[], PetscReal dz[]) in HexGrad()
198 dz[0] += dphi[i][0] * zn[i]; in HexGrad()
199 dz[1] += dphi[i][1] * zn[i]; in HexGrad()
200 dz[2] += dphi[i][2] * zn[i]; in HexGrad()
204 …st PetscReal dz[PETSC_RESTRICT], PetscReal phi[PETSC_RESTRICT], PetscReal dphi[PETSC_RESTRICT][3],… in HexComputeGeometry()
222 dphi[i][0] = dphir[0] * ijac[0][0] + dphir[1] * ijac[1][0] + dphir[2] * ijac[2][0]; in HexComputeGeometry()
223 dphi[i][1] = dphir[0] * ijac[0][1] + dphir[1] * ijac[1][1] + dphir[2] * ijac[2][1]; in HexComputeGeometry()
224 dphi[i][2] = dphir[0] * ijac[0][2] + dphir[1] * ijac[1][2] + dphir[2] * ijac[2][2]; in HexComputeGeometry()
710 …st Node n[PETSC_RESTRICT], const PetscReal phi[PETSC_RESTRICT], PetscReal dphi[PETSC_RESTRICT][3],… in PointwiseNonlinearity()
723 du[ll] += dphi[l][ll] * n[l].u; in PointwiseNonlinearity()
[all …]
/petsc/src/ts/tutorials/
H A Dex14.c181 static void HexGrad(const PetscReal dphi[][3], const PetscReal zn[], PetscReal dz[]) in HexGrad()
186 dz[0] += dphi[i][0] * zn[i]; in HexGrad()
187 dz[1] += dphi[i][1] * zn[i]; in HexGrad()
188 dz[2] += dphi[i][2] * zn[i]; in HexGrad()
192 …Real hy, const PetscReal dz[restrict], PetscReal phi[restrict], PetscReal dphi[restrict][3], Petsc… in HexComputeGeometry()
206 dphi[i][0] = dphir[0] * ijac[0][0] + dphir[1] * ijac[1][0] + dphir[2] * ijac[2][0]; in HexComputeGeometry()
207 dphi[i][1] = dphir[0] * ijac[0][1] + dphir[1] * ijac[1][1] + dphir[2] * ijac[2][1]; in HexComputeGeometry()
208 dphi[i][2] = dphir[0] * ijac[0][2] + dphir[1] * ijac[1][2] + dphir[2] * ijac[2][2]; in HexComputeGeometry()
285 static PetscErrorCode QuadComputeGrad4(const PetscReal dphi[][4][2], PetscReal hx, PetscReal hy, co… in QuadComputeGrad4()
296 dpg[q][0][f] += dphi[q][i][0] / hx * pg[i][f]; in QuadComputeGrad4()
[all …]
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas9858 (coll-dphi . 1.744e-08)
10174 (coll-dphi . 1.744e-08)
10490 (coll-dphi . 1.744e-08)
10806 (coll-dphi . 1.744e-08)