Home
last modified time | relevance | path

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

/petsc/src/snes/tutorials/
H A Dex31.c129 static void ChebyshevEval(PetscInt N, const PetscScalar *Tf, PetscReal x, PetscReal dx_deta, PetscS… in ChebyshevEval() argument
137 …for (int i = 0; i < 4; i++) f[i] = table[i][0] * Tf[0] + table[i][1] * Tf[1] + table[i][2] * Tf[2]… in ChebyshevEval()
142 for (int j = 0; j < 4; j++) f[j] += table[j][i % 3] * Tf[i]; in ChebyshevEval()
163 const PetscScalar *Tf, *Th; /* Tf and Th are Chebyshev coefficients */ in FormFunction() local
176 PetscCall(VecGetArrayRead(X, &Tf)); in FormFunction()
177 Th = Tf + N; in FormFunction()
181 ChebyshevEval(N, Tf, -1., blasius->dx_deta, f); in FormFunction()
184 ChebyshevEval(N, Tf, 1., blasius->dx_deta, f); in FormFunction()
187 ChebyshevEval(N, Tf, blasius->x[i], blasius->dx_deta, f); in FormFunction()
198 PetscCall(VecRestoreArrayRead(X, &Tf)); in FormFunction()
/petsc/src/ts/tutorials/multirate/
H A Dex3.c15 PetscReal Tf, dt; member
145 ctx.Tf = 0.3; in main()
147 PetscCall(PetscOptionsScalar("-Tf", "", "", ctx.Tf, &ctx.Tf, NULL)); in main()
151 PetscCall(TSSetMaxTime(ts, ctx.Tf)); in main()
H A Dex1.c15 PetscReal a, b, Tf, dt; member
127 ctx.Tf = 2; in main()
129 PetscCall(PetscOptionsReal("-Tf", "", "", ctx.Tf, &ctx.Tf, NULL)); in main()
162 PetscCall(TSSetMaxTime(ts, ctx.Tf)); in main()
H A Dex2.c15 PetscReal a, b, Tf, dt; member
127 ctx.Tf = 5.0; in main()
129 PetscCall(PetscOptionsScalar("-Tf", "", "", ctx.Tf, &ctx.Tf, NULL)); in main()
162 PetscCall(TSSetMaxTime(ts, ctx.Tf)); in main()
H A Dex3fastslowsplit.c20 PetscReal Tf, dt; member
150 ctx.Tf = 0.3; in main()
152 PetscCall(PetscOptionsScalar("-Tf", "", "", ctx.Tf, &ctx.Tf, NULL)); in main()
190 PetscCall(TSSetMaxTime(ts, ctx.Tf)); in main()
/petsc/src/ts/tests/
H A Dex14.c43 const PetscReal Tf = 1; in TestExplicitTS() local
44 const PetscReal dt = Tf / 8; in TestExplicitTS()
57 PetscCall(TSSetMaxTime(ts, Tf)); in TestExplicitTS()
/petsc/src/dm/dt/fe/impls/basic/
H A Dfebasic.c260 PetscTabulation *Tf, *TfAux = NULL; in PetscFEIntegrateBd_Basic() local
282 PetscCall(PetscDSGetFaceTabulation(ds, &Tf)); in PetscFEIntegrateBd_Basic()
295Tf[0]->Np == TfAux[0]->Np, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Number of tabulation points %" P… in PetscFEIntegrateBd_Basic()
376 …PetscCall(PetscFEEvaluateFieldJets_Internal(ds, Nf, face, q, Tf, &cgeom, &coefficients[cOffset], N… in PetscFEIntegrateBd_Basic()
504 PetscTabulation *Tf, *TfAux = NULL; in PetscFEIntegrateBdResidual_Basic() local
529 PetscCall(PetscDSGetFaceTabulation(ds, &Tf)); in PetscFEIntegrateBdResidual_Basic()
542Tf[0]->Np == TfAux[0]->Np, PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Number of tabulation points %" P… in PetscFEIntegrateBdResidual_Basic()
544 NcI = Tf[field]->Nc; in PetscFEIntegrateBdResidual_Basic()
575 …PetscCall(PetscFEEvaluateFieldJets_Internal(ds, Nf, face, q, Tf, &cgeom, &coefficients[cOffset], P… in PetscFEIntegrateBdResidual_Basic()
593 …PetscCall(PetscFEUpdateElementVec_Internal(fe, Tf[field], face, basisReal, basisDerReal, e, fgeom,… in PetscFEIntegrateBdResidual_Basic()
[all …]
/petsc/include/petsc/private/
H A Dpetscdsimpl.h132 …PetscTabulation *Tf; /* Basis function and derivative tabulation for each local fac… member
H A Dpetscfeimpl.h234 …PetscTabulation Tf; /* Tabulation of basis and derivatives at quadrature points… member
/petsc/src/dm/dt/fe/interface/
H A Dfe.c313 PetscCall(PetscTabulationDestroy(&(*fem)->Tf)); in PetscFEDestroy()
361 f->Tf = NULL; in PetscFECreate()
710 PetscCall(PetscTabulationDestroy(&fem->Tf)); in PetscFESetFaceQuadrature()
868 PetscErrorCode PetscFEGetFaceTabulation(PetscFE fem, PetscInt k, PetscTabulation *Tf) in PetscFEGetFaceTabulation() argument
872 PetscAssertPointer(Tf, 3); in PetscFEGetFaceTabulation()
873 if (!fem->Tf) { in PetscFEGetFaceTabulation()
896 PetscCall(PetscFECreateTabulation(fem, eNp / Np, Np, facePoints, k, &fem->Tf)); in PetscFEGetFaceTabulation()
900Tf || k <= fem->Tf->K, PetscObjectComm((PetscObject)fem), PETSC_ERR_ARG_OUTOFRANGE, "Requested %" … in PetscFEGetFaceTabulation()
901 *Tf = fem->Tf; in PetscFEGetFaceTabulation()
/petsc/src/dm/dt/interface/
H A Ddtds.c378 PetscCall(PetscMalloc2(Nf, &prob->T, Nf, &prob->Tf)); in PetscDSSetUp()
456 prob->T[f] = prob->Tf[f] = NULL; in PetscDSSetUp()
482 PetscCall(PetscFEGetFaceTabulation(fe, prob->jetDegree[f], &prob->Tf[f])); in PetscDSSetUp()
531 PetscCall(PetscFree2(prob->T, prob->Tf)); in PetscDSDestroyStructs_Static()
3011 PetscErrorCode PetscDSGetFaceTabulation(PetscDS prob, PetscTabulation *Tf[]) in PetscDSGetFaceTabulation() argument
3015 PetscAssertPointer(Tf, 2); in PetscDSGetFaceTabulation()
3017 *Tf = prob->Tf; in PetscDSGetFaceTabulation()
/petsc/src/ts/utils/dmplexlandau/kokkos/
H A Dlandau.kokkos.cxx140 PetscTabulation *Tf; in LandauKokkosStaticDataSet() local
149 PetscCall(PetscDSGetTabulation(prob, &Tf)); in LandauKokkosStaticDataSet()
150 BB = Tf[0]->T[0]; in LandauKokkosStaticDataSet()
151 DD = Tf[0]->T[1]; in LandauKokkosStaticDataSet()
/petsc/src/ts/utils/dmplexlandau/
H A Dplexland.c209 PetscTabulation *Tf; // used for CPU and print info. Same on all grids and all species in LandauFormJacobian_Internal() local
222 PetscCall(PetscDSGetTabulation(prob, &Tf)); // Bf, &Df same for all grids in LandauFormJacobian_Internal()
223 const PetscReal *const BB = Tf[0]->T[0], *const DD = Tf[0]->T[1]; in LandauFormJacobian_Internal()
1410 PetscTabulation *Tf; in CreateStaticData() local
1458 PetscCall(PetscDSGetTabulation(prob, &Tf)); // Bf, &Df same for all grids in CreateStaticData()
1768 const PetscReal *const DD = Tf[0]->T[1]; in CreateStaticData()