Home
last modified time | relevance | path

Searched defs:v0 (Results 1 – 25 of 43) sorted by relevance

12

/petsc/src/ts/tests/
H A Dex81.c6 PetscReal v0; /* constant velocity */ member
11 static void Exact(PetscReal t, PetscReal v0, PetscReal u0, PetscScalar *ut) in Exact()
H A Dex80.c7 PetscReal u0, v0; /* initial conditions */ member
11 static void Exact(PetscReal t, PetscReal a0, PetscReal u0, PetscReal v0, PetscScalar *ut, PetscScal… in Exact()
H A Dex27.c67 PetscReal *centroid, *coords, *velocity, *xi0, *v0, *J, *invJ, detJ, *vals; in SetInitialCoordinates() local
/petsc/src/vec/vec/tests/
H A Dbenchmark_veccreate.c12 PetscLogDouble v0, v1; in main() local
/petsc/src/ksp/ksp/impls/tcqmr/
H A Dtcqmrimpl.h19 #define v0 ksp->work[VEC_OFFSET + 6] macro
/petsc/src/mat/tests/
H A Dex18.c13 PetscScalar v, v0, v1, v2, a0 = 0.1, a, rhsval, *boundary_values, diag = 1.0; in main() local
/petsc/src/dm/impls/swarm/tests/
H A Dex8.c22 PetscReal v0[2]; /* Species mean velocity in 1D */ member
H A Dex5.c53 PetscReal v0[1] = {1.}; in CreateSwarm() local
389 PetscReal v0[1] = {1.}; in InitializeSolveAndSwarm() local
449 const PetscReal v0 = DMPlex_NormD_Internal(dim, &vel[p * dim]); in ComputeError() local
H A Dex4.c91 PetscReal v0[1] = {0.}; // Initialize velocities to 0 in CreateSwarm() local
375 PetscReal v0[1] = {1.}; in InitializeSolve() local
H A Dex2.c178 PetscReal *centroid, *coords, *xi0, *v0, *J, *invJ, detJ; in CreateParticles() local
271 PetscReal *v0, *J, *invJ, detJ, *coords, *xi0; in CreateParticles_Shape() local
H A Dex6.c186 PetscReal v0[1] = {1.}; in CreateSwarm() local
925 PetscReal v0[1] = {1.}; in InitializeSolveAndSwarm() local
987 const PetscReal v0 = DMPlex_NormD_Internal(dim, &vel[p * dim]); in ComputeError() local
/petsc/src/ts/tutorials/
H A Dex43.c8 PetscReal u0, v0; /* initial conditions */ member
12 static void Exact(PetscReal t, PetscReal omega, PetscReal xi, PetscReal u0, PetscReal v0, PetscReal… in Exact()
/petsc/src/dm/impls/swarm/
H A Dswarmpic.c1011 PetscReal v0[3], J[9], invJ[9], detJ, detJp = 2. / (gmax[0] - gmin[0]), xr[3], den; in DMSwarmComputeLocalSize() local
1167 PetscReal v0[3], J[9], invJ[9], detJ; in DMSwarmInitializeCoordinates() local
1213 PetscErrorCode DMSwarmInitializeVelocities(DM sw, PetscProbFn *sampler, const PetscReal v0[]) in DMSwarmInitializeVelocities()
1274 PetscErrorCode DMSwarmInitializeVelocitiesFromOptions(DM sw, const PetscReal v0[]) in DMSwarmInitializeVelocitiesFromOptions()
1310 PetscReal *xi, *v0, *J, *invJ, detJ = 1.0, v0ref[3] = {-1.0, -1.0, -1.0}; in DMProjectFieldLocal_Swarm() local
H A Dswarm.c477 PetscReal *xi, *v0, *J, *invJ, detJ = 1.0, v0ref[3] = {-1.0, -1.0, -1.0}; in DMSwarmComputeMassMatrix_Private() local
700 PetscReal *xi, *v0, *J, *invJ, detJ = 1.0, v0ref[3] = {-1.0, -1.0, -1.0}; in DMSwarmComputeMassMatrixSquare_Private() local
951 PetscReal *xi, *v0, *J, *invJ, detJ = 1.0, v0ref[3] = {-1.0, -1.0, -1.0}; in DMSwarmComputeGradientMatrix_Private() local
2213 PetscReal *centroid, *coords, *xi0, *v0, *J, *invJ, detJ; in DMSwarmSetPointCoordinatesRandom() local
/petsc/src/dm/impls/plex/transform/impls/refine/regular/
H A Dplexrefregular.c45 …eFaceTransforms(DMPlexTransform tr, DMPolytopeType ct, PetscInt *Nf, PetscReal *v0[], PetscReal *J… in DMPlexRefineRegularGetAffineFaceTransforms()
133 …ffineTransforms(DMPlexTransform tr, DMPolytopeType ct, PetscInt *Nc, PetscReal *v0[], PetscReal *J… in DMPlexRefineRegularGetAffineTransforms()
/petsc/src/dm/impls/plex/tests/
H A Dex8.c17 PetscReal *v0, *J, *invJ, *detJ; /* FEM data */ member
148 PetscReal v0[3], J[9], invJ[9], detJ; in CheckFEMGeometry() local
634 PetscReal *v0 = PetscSafePointerPlusOffset(user.v0, c * dim); in main() local
/petsc/src/dm/dt/fe/impls/composite/
H A Dfecomposite.c256 …ompositeGetMapping(PetscFE fem, PeOp PetscInt *numSubelements, PeOp const PetscReal *v0[], PeOp co… in PetscFECompositeGetMapping()
/petsc/src/dm/impls/plex/
H A Dplexgeometry.c425 PetscReal v0, J, invJ, detJ; in DMPlexLocatePoint_Simplex_1D_Internal() local
441 PetscReal x[3], v0[3], J[9], invJ[9], detJ; in DMPlexLocatePoint_Simplex_2D_Internal() local
461 PetscReal v0[2], J[4], invJ[4], detJ; in DMPlexClosestPoint_Simplex_2D_Internal() local
576 PetscReal v0[3], J[9], invJ[9], detJ; in DMPlexLocatePoint_Simplex_3D_Internal() local
1668 static PetscErrorCode DMPlexComputePointGeometry_Internal(DM dm, PetscInt e, PetscReal v0[], PetscR… in DMPlexComputePointGeometry_Internal()
1798 static PetscErrorCode DMPlexComputeLineGeometry_Internal(DM dm, PetscInt e, PetscReal v0[], PetscRe… in DMPlexComputeLineGeometry_Internal()
1868 static PetscErrorCode DMPlexComputeTriangleGeometry_Internal(DM dm, PetscInt e, PetscReal v0[], Pet… in DMPlexComputeTriangleGeometry_Internal()
2078 static PetscErrorCode DMPlexComputeTetrahedronGeometry_Internal(DM dm, PetscInt e, PetscReal v0[], … in DMPlexComputeTetrahedronGeometry_Internal()
2372 PetscReal xi0[3] = {-1., -1., -1.}, v0[3], J0[9], detJ0; in DMPlexComputeCellGeometryFEM_Implicit() local
2482 PetscErrorCode DMPlexComputeCellGeometryAffineFEM(DM dm, PetscInt cell, PetscReal v0[], PetscReal J… in DMPlexComputeCellGeometryAffineFEM()
[all …]
/petsc/src/snes/utils/dm/
H A Ddminterpolatesnes.c373 PetscReal v0, J, invJ, detJ, xir[1]; in DMInterpolate_Segment_Private() local
400 PetscReal *v0, *J, *invJ, detJ; in DMInterpolate_Triangle_Private() local
428 PetscReal *v0, *J, *invJ, detJ; in DMInterpolate_Tetrahedron_Private() local
/petsc/src/ts/tutorials/power_grid/stability_9bus/
H A Dex9busadj.c215 PetscScalar PD, QD, Vm0, *v0; in ResidualFunction() local
451 PetscScalar PD, QD, Vm0, *v0, Vm4; in ResidualJacobian() local
H A Dex9busoptfd.c217 PetscScalar PD, QD, Vm0, *v0; in ResidualFunction() local
452 PetscScalar PD, QD, Vm0, *v0, Vm4; in ResidualJacobian() local
H A Dex9bus.c443 PetscScalar PD, QD, Vm0, *v0; in ResidualFunction() local
710 const PetscScalar *v0; in ResidualJacobian() local
H A Dex9busopt.c362 PetscScalar PD, QD, Vm0, *v0; in ResidualFunction() local
595 PetscScalar PD, QD, Vm0, *v0, Vm4; in ResidualJacobian() local
/petsc/include/petsc/private/
H A Dpetscfeimpl.h270 PetscReal *v0; /* The affine transformation for each subelement */ member
276 …fToReal(PetscInt dimReal, PetscInt dimRef, const PetscReal xi0[], const PetscReal v0[], const Pets… in CoordinatesRefToReal()
286 …alToRef(PetscInt dimReal, PetscInt dimRef, const PetscReal xi0[], const PetscReal v0[], const Pets… in CoordinatesRealToRef()
/petsc/src/tao/tutorials/
H A Dex3.c123 PetscReal v0[3], J[9], invJ[9], detJ; in CreateMesh() local

12