Home
last modified time | relevance | path

Searched defs:coords (Results 1 – 25 of 137) sorted by relevance

123456

/petsc/src/snes/tests/
H A Dex8.c149 PetscErrorCode constant(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nc, PetscS… in constant()
161 PetscErrorCode constantDer(PetscInt dim, PetscReal time, const PetscReal coords[], const PetscReal … in constantDer()
175 PetscErrorCode linear(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nc, PetscSca… in linear()
187 PetscErrorCode linearDer(PetscInt dim, PetscReal time, const PetscReal coords[], const PetscReal n[… in linearDer()
205 PetscErrorCode quadratic(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nc, Petsc… in quadratic()
224 PetscErrorCode quadraticDer(PetscInt dim, PetscReal time, const PetscReal coords[], const PetscReal… in quadraticDer()
245 PetscErrorCode cubic(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nc, PetscScal… in cubic()
264 PetscErrorCode cubicDer(PetscInt dim, PetscReal time, const PetscReal coords[], const PetscReal n[]… in cubicDer()
285 PetscErrorCode quartic(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nc, PetscSc… in quartic()
304 PetscErrorCode quarticDer(PetscInt dim, PetscReal time, const PetscReal coords[], const PetscReal n… in quarticDer()
[all …]
/petsc/src/binding/petsc4py/demo/legacy/dmplex/
H A Ddistribute_field.py15 coords = np.asarray([[0.0, 0.0], variable
29 coords = np.zeros((0, 2), dtype=PETSc.RealType) variable
/petsc/src/dm/impls/plex/tests/
H A Dex18.c209 PetscScalar coords[128]; member
322 PetscReal *coords; in CreateMesh_1D() local
422 PetscReal coords[4] = {-0.5, 0.5, 0.0, 0.0}; in CreateSimplex_2D() local
431 PetscReal coords[4] = {0.0, 1.0, 0.5, 0.5}; in CreateSimplex_2D() local
447 PetscReal coords[4] = {0.0, 1.0, 0.0, 0.0}; in CreateSimplex_2D() local
456 PetscReal coords[4] = {0.5, 0.5, 1.0, 1.0}; in CreateSimplex_2D() local
465 PetscReal coords[2] = {1.0, 0.0}; in CreateSimplex_2D() local
481 PetscReal coords[4] = {0.5, 0.5, 0.0, 1.0}; in CreateSimplex_2D() local
490 PetscReal coords[4] = {0.0, 0.0, 1.0, 1.0}; in CreateSimplex_2D() local
499 PetscReal coords[2] = {1.0, 0.0}; in CreateSimplex_2D() local
[all …]
H A Dex3.c40 PetscErrorCode constant(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nf, PetscS… in constant()
47 PetscErrorCode constantDer(PetscInt dim, PetscReal time, const PetscReal coords[], const PetscReal … in constantDer()
55 PetscErrorCode rt0(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nf, PetscScalar… in rt0()
62 PetscErrorCode rt0Der(PetscInt dim, PetscReal time, const PetscReal coords[], const PetscReal n[], … in rt0Der()
73 PetscErrorCode linear(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nf, PetscSca… in linear()
79 PetscErrorCode linearDer(PetscInt dim, PetscReal time, const PetscReal coords[], const PetscReal n[… in linearDer()
90 PetscErrorCode rt1(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nf, PetscScalar… in rt1()
103 PetscErrorCode rt1Der(PetscInt dim, PetscReal time, const PetscReal coords[], const PetscReal n[], … in rt1Der()
117 PetscErrorCode quadratic(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nf, Petsc… in quadratic()
131 PetscErrorCode quadraticDer(PetscInt dim, PetscReal time, const PetscReal coords[], const PetscReal… in quadraticDer()
[all …]
H A Dex38.c5 static PetscErrorCode bc_func(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt num_… in bc_func()
H A Dex75.c13 PetscScalar *coords; in main() local
/petsc/src/mat/tests/
H A Dex246.cxx9 PetscReal diff = 0.0, *coords = (PetscReal *)(ctx); in GenEntries() local
23 PetscReal *coords; member in MyIMatrix
49 PetscReal *coords, *gcoords, norm, epsilon, relative; in main() local
H A Dex241.c8 PetscReal diff = 0.0, *coords = (PetscReal *)(ctx); in GenEntries() local
24 PetscReal diff = 0.0, **coords = (PetscReal **)(ctx); in GenEntriesRectangular() local
43 …PetscReal *coords, *gcoords, *scoords, *gscoords, *ctx[2], norm, epsilon = PetscSqrtReal(PE… in main() local
H A Dex268.c8 PetscReal diff = 0.0, *coords = (PetscReal *)(ctx); in GenEntries() local
27 PetscReal *coords, *gcoords, norm, epsilon; in main() local
/petsc/src/ksp/pc/impls/mg/
H A Dmgadapt.c4 static PetscErrorCode xfunc(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nc, Pe… in xfunc()
11 static PetscErrorCode yfunc(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nc, Pe… in yfunc()
18 static PetscErrorCode zfunc(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nc, Pe… in zfunc()
25 static PetscErrorCode xsin(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nc, Pet… in xsin()
32 static PetscErrorCode ysin(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nc, Pet… in ysin()
39 static PetscErrorCode zsin(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nc, Pet… in zsin()
/petsc/src/ksp/ksp/tutorials/
H A Dex82.c8 PetscReal diff = 0.0, *coords = (PetscReal *)(ctx); in GenEntries() local
35 PetscReal *coords, *gcoords; in main() local
H A Dex43.c143 …PetscScalar GNi[][NODES_PER_EL], PetscScalar GNx[][NODES_PER_EL], PetscScalar coords[], PetscScala… in ConstructQ12D_GNx()
316 Vec coords; in DMDACoordViewGnuplot2d() local
353 Vec coords, local_fields; in DMDAViewGnuplot2d() local
491 static void FormStressOperatorQ1(PetscScalar Ke[], PetscScalar coords[], PetscScalar eta[]) in FormStressOperatorQ1()
541 static void FormGradientOperatorQ1(PetscScalar Ke[], PetscScalar coords[]) in FormGradientOperatorQ1()
574 static void FormDivergenceOperatorQ1(PetscScalar De[], PetscScalar coords[]) in FormDivergenceOperatorQ1()
591 static void FormStabilisationOperatorQ1(PetscScalar Ke[], PetscScalar coords[], PetscScalar eta[]) in FormStabilisationOperatorQ1()
626 static void FormScaledMassMatrixOperatorQ1(PetscScalar Ke[], PetscScalar coords[], PetscScalar eta[… in FormScaledMassMatrixOperatorQ1()
661 static void FormMomentumRhsQ1(PetscScalar Fe[], PetscScalar coords[], PetscScalar fx[], PetscScalar… in FormMomentumRhsQ1()
706 Vec coords; in AssembleA_Stokes() local
[all …]
H A Dex70.c71 …(PetscScalar dN[][NODES_PER_EL], PetscScalar dNx[][NODES_PER_EL], PetscScalar coords[], PetscScala… in EvaluateDerivatives()
143 static void BForm_DivT(PetscScalar Ke[], PetscScalar coords[], PetscScalar eta[]) in BForm_DivT()
191 static void BForm_Grad(PetscScalar Ke[], PetscScalar coords[]) in BForm_Grad()
221 static void BForm_Div(PetscScalar De[], PetscScalar coords[]) in BForm_Div()
237 static void BForm_Stabilisation(PetscScalar Ke[], PetscScalar coords[], PetscScalar eta[]) in BForm_Stabilisation()
269 static void BForm_ScaledMassMatrix(PetscScalar Ke[], PetscScalar coords[], PetscScalar eta[]) in BForm_ScaledMassMatrix()
301 static void LForm_MomentumRHS(PetscScalar Fe[], PetscScalar coords[], PetscScalar fx[], PetscScalar… in LForm_MomentumRHS()
338 Vec coords; in AssembleStokes_A() local
401 Vec coords; in AssembleStokes_PC() local
463 Vec coords; in AssembleStokes_RHS() local
[all …]
H A Dex42.c179 …PetscScalar GNi[][NODES_PER_EL], PetscScalar GNx[][NODES_PER_EL], PetscScalar coords[], PetscScala… in ShapeFunctionQ13D_Evaluate_dx()
457 static PetscErrorCode GetElementCoords3D(DMDACoor3d ***coords, PetscInt i, PetscInt j, PetscInt k, … in GetElementCoords3D()
592 static void FormStressOperatorQ13D(PetscScalar Ke[], PetscScalar coords[], PetscScalar eta[]) in FormStressOperatorQ13D()
665 static void FormGradientOperatorQ13D(PetscScalar Ke[], PetscScalar coords[]) in FormGradientOperatorQ13D()
698 static void FormDivergenceOperatorQ13D(PetscScalar De[], PetscScalar coords[]) in FormDivergenceOperatorQ13D()
715 static void FormStabilisationOperatorQ13D(PetscScalar Ke[], PetscScalar coords[], PetscScalar eta[]) in FormStabilisationOperatorQ13D()
769 static void FormScaledMassMatrixOperatorQ13D(PetscScalar Ke[], PetscScalar coords[], PetscScalar et… in FormScaledMassMatrixOperatorQ13D()
823 static void FormMomentumRhsQ13D(PetscScalar Fe[], PetscScalar coords[], PetscScalar fx[], PetscScal… in FormMomentumRhsQ13D()
851 static void FormContinuityRhsQ13D(PetscScalar Fe[], PetscScalar coords[], PetscScalar hc[]) in FormContinuityRhsQ13D()
899 Vec coords; in AssembleA_Stokes() local
[all …]
H A Dex49.c148 …PetscScalar GNi[][NODES_PER_EL], PetscScalar GNx[][NODES_PER_EL], PetscScalar coords[], PetscScala… in ConstructQ12D_GNx()
264 Vec coords; in DMDACoordViewGnuplot2d() local
300 Vec coords, local_fields; in DMDAViewGnuplot2d() local
417 static void FormStressOperatorQ1(PetscScalar Ke[], PetscScalar coords[], PetscScalar E[], PetscScal… in FormStressOperatorQ1()
481 static void FormMomentumRhsQ1(PetscScalar Fe[], PetscScalar coords[], PetscScalar fx[], PetscScalar… in FormMomentumRhsQ1()
569 Vec coords; in AssembleA_Elasticity() local
639 Vec coords; in AssembleF_Elasticity() local
1052 Vec coords; in BCApply_EAST() local
1117 Vec coords; in BCApply_WEST() local
/petsc/src/dm/impls/plex/
H A Dplexgeometry.c205 …tersection_Coords_Internal(DM dm, PetscInt dim, PetscInt cdim, const PetscScalar coords[], const P… in DMPlexGetPlaneSimplexIntersection_Coords_Internal()
272 PetscScalar *coords = NULL; in DMPlexGetPlaneSimplexIntersection_Internal() local
293 PetscScalar *coords = NULL; in DMPlexGetPlaneQuadIntersection_Internal() local
324 PetscScalar *coords = NULL; in DMPlexGetPlaneHexIntersection_Internal() local
485 PetscScalar *coords = NULL; in DMPlexLocatePoint_Quad_2D_Linear_Internal() local
532 Vec coords; in DMPlexLocatePoint_Quad_2D_Internal() local
596 PetscScalar *coords = NULL; in DMPlexLocatePoint_Hex_3D_Linear_Internal() local
648 Vec coords; in DMPlexLocatePoint_Hex_3D_Internal() local
734 PetscScalar *coords = NULL; in DMPlexCreateGridHash() local
1018 PetscScalar *coords = NULL; in DMPlexComputeGridHash_Internal() local
[all …]
/petsc/src/dm/impls/stag/tests/
H A Dex50.c10 PetscBool coords; in main() local
/petsc/src/dm/tests/
H A Dex32.c25 Vec coords, gcoords, gcoords2; in TestQ2Q1DA() local
/petsc/src/dm/impls/plex/tutorials/
H A Dex20.c135 const PetscScalar *coords[3]; in main() local
190 PetscScalar *coords[3]; in main() local
/petsc/src/snes/tutorials/
H A Dex46.c93 PetscScalar funcU(DMDACoor2d *coords) in funcU()
123 DMDACoor2d **coords; in FormFunctionLocal() local
/petsc/src/dm/impls/swarm/tests/
H A Dex1.c54 PetscReal *coords, upper[3], lower[3]; in CreateSwarm() local
171 PetscReal *coords; in CheckPointInsertion_Boundary() local
H A Dex5.c96 const PetscReal *coords, *vel; in RHSFunction() local
134 const PetscReal *coords, *vel; in RHSJacobian() local
188 const PetscReal *coords, *vel; in RHSFunctionV() local
428 const PetscReal *coords, *vel; in ComputeError() local
/petsc/src/dm/impls/swarm/tutorials/
H A Dex1.c19 PetscReal *wq, *coords; in main() local
/petsc/src/dm/impls/da/tests/
H A Dex1.c40 PetscReal *coords, r, dr; in main() local
/petsc/src/ts/tests/
H A Dex28.c64 PetscReal *centroid, *coords, *xi0, *v0, *J, *invJ, detJ, *vals; in SetInitialCoordinates() local
278 PetscScalar *r, *coords; in RHSFunctionParticles() local
386 PetscReal *v, *coords; in SPMonitor() local
419 PetscReal *v, *coords, T = 0., vel = 0., step_cast, w_sum; in KSConv() local

123456