| /petsc/src/dm/dt/tests/output/ |
| H A D | ex2_1.out | 1 Degree 1 target interval (-0.3,0.) 3 Degree 1 target interval (0.,0.2) 5 Degree 2 target interval (-0.3,0.) 7 Degree 2 target interval (0.,0.2) 9 Degree 3 target interval (-0.3,0.) 11 Degree 3 target interval (0.,0.2)
|
| /petsc/src/sys/ftn-src/ |
| H A D | f90_fwrap.F90 | 9 PetscScalar, target :: array(start:start + len1 - 1) 19 PetscReal, target :: array(start:start + len1 - 1) 29 PetscInt, target :: array(start:start + len1 - 1) 39 PetscMPIInt, target :: array(start:start + len1 - 1) 49 PetscFortranAddr, target :: array(start:start + len1 - 1) 179 PetscScalar, target :: array(start1:start1 + len1 - 1, start2:start2 + len2 - 1) 190 PetscReal, target :: array(start1:start1 + len1 - 1, start2:start2 + len2 - 1) 201 PetscInt, target :: array(start1:start1 + len1 - 1, start2:start2 + len2 - 1) 212 PetscFortranAddr, target :: array(start1:start1 + len1 - 1, start2:start2 + len2 - 1) 308 …PetscScalar, target :: array(start1:start1 + len1 - 1, start2:start2 + len2 - 1, start3:start3 + l… [all …]
|
| /petsc/src/dm/impls/plex/tutorials/ |
| H A D | ex3f90.F90 | 20 PetscReal, target, dimension(dim) :: centroid 21 PetscReal, target, dimension(dim) :: normal 25 PetscReal, target, dimension(dim) :: v0 26 PetscReal, target, dimension(dim*dim) :: J 27 PetscReal, target, dimension(dim*dim) :: invJ
|
| H A D | ex1f90.F90 | 15 PetscInt, target, dimension(3) :: numComp 17 PetscInt, target, dimension(12) :: numDof 19 PetscInt, target, dimension(1) :: bcField 23 IS, target, dimension(1) :: bcCompIS 24 IS, target, dimension(1) :: bcPointIS
|
| /petsc/src/snes/tutorials/ |
| H A D | build.zig | 6 // Standard target options allows the person running `zig build` to choose 7 // what target to build for. Here we do not override the defaults, which 8 // means any target is allowed, and the default is native. Other options 9 // for restricting supported target set are available. 10 const target = b.standardTargetOptions(.{}); 30 exe.setTarget(target);
|
| /petsc/src/dm/impls/plex/transform/impls/refine/tobox/ |
| H A D | plexreftobox.c | 213 …topeType source, PetscInt p, PetscInt *rt, PetscInt *Nt, DMPolytopeType *target[], PetscInt *size[… in DMPlexTransformCellRefine_ToBox() argument 502 PetscCall(DMPlexTransformCellRefine_Regular(tr, source, p, rt, Nt, target, size, cone, ornt)); in DMPlexTransformCellRefine_ToBox() 506 *target = tedgeT; in DMPlexTransformCellRefine_ToBox() 513 *target = tsegT; in DMPlexTransformCellRefine_ToBox() 520 *target = ctripT; in DMPlexTransformCellRefine_ToBox() 527 *target = triT; in DMPlexTransformCellRefine_ToBox() 534 *target = tetT; in DMPlexTransformCellRefine_ToBox() 541 *target = tripT; in DMPlexTransformCellRefine_ToBox() 548 *target = tquadpT; in DMPlexTransformCellRefine_ToBox() 555 *target = NULL; in DMPlexTransformCellRefine_ToBox() [all …]
|
| /petsc/src/dm/impls/plex/transform/impls/refine/sbr/ |
| H A D | plexrefsbr.c | 336 static PetscErrorCode SBRGetTriangleSplitSingle(PetscInt o, PetscInt *Nt, DMPolytopeType *target[],… in SBRGetTriangleSplitSingle() argument 354 *target = triT1; in SBRGetTriangleSplitSingle() 447 static PetscErrorCode SBRGetTriangleSplitDouble(PetscInt o, PetscInt *Nt, DMPolytopeType *target[],… in SBRGetTriangleSplitDouble() argument 487 *target = triT2; in SBRGetTriangleSplitDouble() 494 …topeType source, PetscInt p, PetscInt *rt, PetscInt *Nt, DMPolytopeType *target[], PetscInt *size[… in DMPlexTransformCellTransform_SBR() argument 514 …PetscCall(DMPlexTransformCellTransformIdentity(tr, source, p, NULL, Nt, target, size, cone, ornt)); in DMPlexTransformCellTransform_SBR() 517 … PetscCall(DMPlexTransformCellTransformIdentity(tr, source, p, NULL, Nt, target, size, cone, ornt)… in DMPlexTransformCellTransform_SBR() 518 …else PetscCall(DMPlexTransformCellRefine_Regular(tr, source, p, NULL, Nt, target, size, cone, ornt… in DMPlexTransformCellTransform_SBR() 523 PetscCall(SBRGetTriangleSplitSingle(2, Nt, target, size, cone, ornt)); in DMPlexTransformCellTransform_SBR() 526 PetscCall(SBRGetTriangleSplitSingle(0, Nt, target, size, cone, ornt)); in DMPlexTransformCellTransform_SBR() [all …]
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex26f90.F90 | 70 PetscInt, dimension(3), target :: dofS2D = [0, 0, 3] 71 PetscInt, dimension(3), target :: dofUP1Tri = [2, 0, 0] 72 PetscInt, dimension(3), target :: dofAP1Tri = [1, 0, 0] 73 PetscInt, dimension(3), target :: dofUP2Tri = [2, 2, 0] 74 PetscInt, dimension(3), target :: dofAP2Tri = [1, 1, 0] 75 PetscInt, dimension(3), target :: dofUP1Quad = [2, 0, 0] 76 PetscInt, dimension(3), target :: dofAP1Quad = [1, 0, 0] 77 PetscInt, dimension(3), target :: dofUP2Quad = [2, 2, 2] 78 PetscInt, dimension(3), target :: dofAP2Quad = [1, 1, 1] 79 PetscInt, dimension(4), target :: dofS3D = [0, 0, 0, 6] [all …]
|
| H A D | ex62f90.F90 | 53 PetscInt, dimension(3), target :: dofS2D = [0, 0, 3] 54 PetscInt, dimension(3), target :: dofUP1Tri = [2, 0, 0] 55 PetscInt, dimension(3), target :: dofAP1Tri = [1, 0, 0] 56 PetscInt, dimension(3), target :: dofUP2Tri = [2, 2, 0] 57 PetscInt, dimension(3), target :: dofAP2Tri = [1, 1, 0] 58 PetscInt, dimension(3), target :: dofUP1Quad = [2, 0, 0] 59 PetscInt, dimension(3), target :: dofAP1Quad = [1, 0, 0] 60 PetscInt, dimension(3), target :: dofUP2Quad = [2, 2, 2] 61 PetscInt, dimension(3), target :: dofAP2Quad = [1, 1, 1] 62 PetscInt, dimension(4), target :: dofS3D = [0, 0, 0, 6] [all …]
|
| /petsc/src/dm/impls/plex/transform/impls/extrude/ |
| H A D | plextrcohesive.c | 154 …PetscCall(PetscMalloc4(ex->Nt[rt], &ex->target[rt], ex->Nt[rt], &ex->size[rt], Nc, &ex->cone[rt], … in DMPlexTransformCohesiveExtrudeSetUp_Point() 155 ex->target[rt][0] = DM_POLYTOPE_POINT; in DMPlexTransformCohesiveExtrudeSetUp_Point() 156 ex->target[rt][1] = ex->useTensor ? DM_POLYTOPE_POINT_PRISM_TENSOR : DM_POLYTOPE_SEGMENT; in DMPlexTransformCohesiveExtrudeSetUp_Point() 172 …PetscCall(PetscMalloc4(ex->Nt[rt], &ex->target[rt], ex->Nt[rt], &ex->size[rt], Nc, &ex->cone[rt], … in DMPlexTransformCohesiveExtrudeSetUp_Point() 173 ex->target[rt][0] = DM_POLYTOPE_POINT; in DMPlexTransformCohesiveExtrudeSetUp_Point() 174 ex->target[rt][1] = ex->useTensor ? DM_POLYTOPE_POINT_PRISM_TENSOR : DM_POLYTOPE_SEGMENT; in DMPlexTransformCohesiveExtrudeSetUp_Point() 202 …PetscCall(PetscMalloc4(ex->Nt[rt], &ex->target[rt], ex->Nt[rt], &ex->size[rt], Nc, &ex->cone[rt], … in DMPlexTransformCohesiveExtrudeSetUp_Segment() 203 ex->target[rt][0] = DM_POLYTOPE_SEGMENT; in DMPlexTransformCohesiveExtrudeSetUp_Segment() 204 ex->target[rt][1] = ex->useTensor ? DM_POLYTOPE_SEG_PRISM_TENSOR : DM_POLYTOPE_QUADRILATERAL; in DMPlexTransformCohesiveExtrudeSetUp_Segment() 269 …PetscCall(PetscMalloc4(ex->Nt[rt], &ex->target[rt], ex->Nt[rt], &ex->size[rt], Nc, &ex->cone[rt], … in DMPlexTransformCohesiveExtrudeSetUp_Segment() [all …]
|
| H A D | plextrextrude.c | 155 …PetscCall(PetscMalloc4(ex->Nt[ct], &ex->target[ct], ex->Nt[ct], &ex->size[ct], Nc, &ex->cone[ct], … in DMPlexTransformExtrudeSetUp_Point() 156 ex->target[ct][0] = DM_POLYTOPE_POINT; in DMPlexTransformExtrudeSetUp_Point() 157 ex->target[ct][1] = ex->useTensor ? DM_POLYTOPE_POINT_PRISM_TENSOR : DM_POLYTOPE_SEGMENT; in DMPlexTransformExtrudeSetUp_Point() 187 …PetscCall(PetscMalloc4(ex->Nt[ct], &ex->target[ct], ex->Nt[ct], &ex->size[ct], Nc, &ex->cone[ct], … in DMPlexTransformExtrudeSetUp_Segment() 188 ex->target[ct][0] = DM_POLYTOPE_SEGMENT; in DMPlexTransformExtrudeSetUp_Segment() 189 ex->target[ct][1] = ex->useTensor ? DM_POLYTOPE_SEG_PRISM_TENSOR : DM_POLYTOPE_QUADRILATERAL; in DMPlexTransformExtrudeSetUp_Segment() 265 …PetscCall(PetscMalloc4(ex->Nt[ct], &ex->target[ct], ex->Nt[ct], &ex->size[ct], Nc, &ex->cone[ct], … in DMPlexTransformExtrudeSetUp_Triangle() 266 ex->target[ct][0] = DM_POLYTOPE_TRIANGLE; in DMPlexTransformExtrudeSetUp_Triangle() 267 ex->target[ct][1] = ex->useTensor ? DM_POLYTOPE_TRI_PRISM_TENSOR : DM_POLYTOPE_TRI_PRISM; in DMPlexTransformExtrudeSetUp_Triangle() 357 …PetscCall(PetscMalloc4(ex->Nt[ct], &ex->target[ct], ex->Nt[ct], &ex->size[ct], Nc, &ex->cone[ct], … in DMPlexTransformExtrudeSetUp_Quadrilateral() [all …]
|
| /petsc/doc/ |
| H A D | fix_pydata_margins.py | 13 with open(filename,'w') as target: 14 target.write(str)
|
| /petsc/src/dm/impls/plex/transform/impls/refine/bl/ |
| H A D | plexrefbl.c | 102 …PetscCall(PetscMalloc5(DM_NUM_POLYTOPES, &bl->Nt, DM_NUM_POLYTOPES, &bl->target, DM_NUM_POLYTOPES,… in DMPlexTransformSetUp_BL() 105 bl->target[ict] = NULL; in DMPlexTransformSetUp_BL() 115 …PetscCall(PetscMalloc4(bl->Nt[ct], &bl->target[ct], bl->Nt[ct], &bl->size[ct], Nc, &bl->cone[ct], … in DMPlexTransformSetUp_BL() 116 bl->target[ct][0] = DM_POLYTOPE_POINT; in DMPlexTransformSetUp_BL() 117 bl->target[ct][1] = DM_POLYTOPE_POINT_PRISM_TENSOR; in DMPlexTransformSetUp_BL() 149 …PetscCall(PetscMalloc4(bl->Nt[ct], &bl->target[ct], bl->Nt[ct], &bl->size[ct], Nc, &bl->cone[ct], … in DMPlexTransformSetUp_BL() 150 bl->target[ct][0] = DM_POLYTOPE_SEGMENT; in DMPlexTransformSetUp_BL() 151 bl->target[ct][1] = DM_POLYTOPE_SEG_PRISM_TENSOR; in DMPlexTransformSetUp_BL() 219 …PetscCall(PetscMalloc4(bl->Nt[ct], &bl->target[ct], bl->Nt[ct], &bl->size[ct], Nc, &bl->cone[ct], … in DMPlexTransformSetUp_BL() 220 bl->target[ct][0] = DM_POLYTOPE_TRIANGLE; in DMPlexTransformSetUp_BL() [all …]
|
| /petsc/src/dm/impls/swarm/tests/ |
| H A D | ex7.c | 161 …st PetscInt Np, const PetscInt a_tid, const PetscInt dim, const PetscInt target, const PetscReal x… in particlesToGrid() argument 183 if (a_tid == target) PetscCall(DMViewFromOptions(sw, NULL, "-swarm_view")); in particlesToGrid() 196 if (a_tid == target) PetscCall(VecViewFromOptions(rho, NULL, "-rho_view")); in particlesToGrid() 221 PetscInt Np[2] = {10, 10}, Np2[2], field = 0, target = 0, Np_t[MAX_NUM_THRDS]; in go() local 239 if (target >= numthreads) target = numthreads - 1; in go() 267 if (tid == target) { in go() 285 if (tid == target) moments_0[0] = moments_0[1] = moments_0[2] = 0; in go() 294 …if (tid == target) { //energy_0 += wp_t[tid][pp]*(PetscSqr(xx_t[tid][pp])+PetscSqr(yy_t[tid][pp])); in go() 310 …SC_COMM_SELF, particlesToGrid(dm_t[tid], sw_t[tid], Np_t[tid], tid, dim, target, xx_t[tid], yy_t[t… in go() 316 …CallAbort(PETSC_COMM_SELF, gridToParticles(dm_t[tid], sw_t[tid], (tid == target) ? moments_1 : NUL… in go()
|
| /petsc/share/petsc/ |
| H A D | Makefile.basic.user | 18 CPPFLAGS = # Used by compile target for C sources 19 FPPFLAGS = # Used by compile target for Fortran sources 20 CXXPPFLAGS = # Used by compile target for Cxx sources 39 # If the default link target above doesn't work (for any reason), and an explicit link target
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex61f.F90 | 62 Mat, target :: Mcol_f_mat(MAXTHREADS) 63 Vec, target :: Mcol_f_vecb(MAXTHREADS) 64 Vec, target :: Mcol_f_vecx(MAXTHREADS) 65 KSP, target :: Mcol_f_ksp(MAXTHREADS) 66 PC, target :: MPC(MAXTHREADS)
|
| /petsc/src/dm/impls/plex/transform/impls/refine/regular/ |
| H A D | plexrefregular.c | 645 …topeType source, PetscInt p, PetscInt *rt, PetscInt *Nt, DMPolytopeType *target[], PetscInt *size[… in DMPlexTransformCellRefine_Regular() argument 1170 *target = vertexT; in DMPlexTransformCellRefine_Regular() 1177 *target = segT; in DMPlexTransformCellRefine_Regular() 1184 *target = tvertT; in DMPlexTransformCellRefine_Regular() 1191 *target = triT; in DMPlexTransformCellRefine_Regular() 1198 *target = quadT; in DMPlexTransformCellRefine_Regular() 1205 *target = tsegT; in DMPlexTransformCellRefine_Regular() 1212 *target = tetT; in DMPlexTransformCellRefine_Regular() 1219 *target = hexT; in DMPlexTransformCellRefine_Regular() 1226 *target = tripT; in DMPlexTransformCellRefine_Regular() [all …]
|
| /petsc/src/binding/petsc4py/conf/ |
| H A D | cythonize.py | 46 target = os.path.join('petsc4py', 'PETSc.c') 48 args += [source, '--output-file', target]
|
| /petsc/src/dm/impls/plex/transform/impls/refine/1d/ |
| H A D | plexref1d.c | 57 …topeType source, PetscInt p, PetscInt *rt, PetscInt *Nt, DMPolytopeType *target[], PetscInt *size[… in DMPlexTransformCellTransform_1D() argument 68 PetscCall(DMPlexTransformCellRefine_Regular(tr, source, p, NULL, Nt, target, size, cone, ornt)); in DMPlexTransformCellTransform_1D() 72 …if (val == 1) PetscCall(DMPlexTransformCellRefine_Regular(tr, source, p, NULL, Nt, target, size, c… in DMPlexTransformCellTransform_1D() 73 …else PetscCall(DMPlexTransformCellTransformIdentity(tr, source, p, NULL, Nt, target, size, cone, o… in DMPlexTransformCellTransform_1D()
|
| /petsc/src/dm/impls/plex/transform/impls/refine/alfeld/ |
| H A D | plexrefalfeld.c | 96 …topeType source, PetscInt p, PetscInt *rt, PetscInt *Nt, DMPolytopeType *target[], PetscInt *size[… in DMPlexTransformCellRefine_Alfeld() argument 152 *target = triT; in DMPlexTransformCellRefine_Alfeld() 158 *target = tetT; in DMPlexTransformCellRefine_Alfeld() 163 … PetscCall(DMPlexTransformCellTransformIdentity(tr, source, p, rt, Nt, target, size, cone, ornt)); in DMPlexTransformCellRefine_Alfeld()
|
| /petsc/include/petsc/private/ |
| H A D | dmplextransformimpl.h | 87 DMPolytopeType **target; /* The array of target types */ member 100 DMPolytopeType **target; // The array of target types member 133 DMPolytopeType **target; /* The array of target types */ member
|
| /petsc/src/dm/impls/plex/transform/impls/filter/ |
| H A D | plextrfilter.c | 70 …topeType source, PetscInt p, PetscInt *rt, PetscInt *Nt, DMPolytopeType *target[], PetscInt *size[… in DMPlexTransformCellTransform_Filter() argument 79 …PetscCall(DMPlexTransformCellTransformIdentity(tr, source, p, NULL, Nt, target, size, cone, ornt)); in DMPlexTransformCellTransform_Filter() 85 *target = NULL; in DMPlexTransformCellTransform_Filter()
|
| /petsc/doc/manual/ |
| H A D | regressor.md | 22 predict a vector of "target" values $y$ (of size $n_{samples}$), where the $i$th entry of $y$ 24 Traditionally, when the target consists of continuous values this is called "regression", 29 Once a fitted model has been obtained, it can be used to predict target values for new observations. 41 (`Mat`) and a target vector (`Vec`) against which to fit the model. 98 where `X` is training data, and `y` is target values. 150 between the actual target values ("observations") in the dataset and the target
|
| /petsc/src/ml/regressor/interface/ |
| H A D | regressor.c | 79 regressor->target = NULL; in PetscRegressorCreate() 266 PetscCall(VecDestroy(®ressor->target)); in PetscRegressorFit() 267 regressor->target = y; in PetscRegressorFit() 327 PetscCall(VecDestroy(®ressor->target)); in PetscRegressorReset()
|
| /petsc/systems/Apple/iOS/examples/Basic/ |
| H A D | examples_Prefix.pch | 2 // Prefix header for all source files of the 'iphone' target in the 'iphone' project
|