| /petsc/src/ksp/pc/impls/mg/ |
| H A D | mgadapt.c | 4 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() 86 …ate(PC pc, PetscInt level, PCMGCoarseSpaceType cstype, DM dm, KSP ksp, PetscInt Nc, Mat initialGue… in PCMGCreateCoarseSpaceDefault_Private() 118 …CMGCreateCoarseSpace_Polynomial(PC pc, PetscInt level, DM dm, KSP ksp, PetscInt Nc, Mat initialGue… in PCMGCreateCoarseSpace_Polynomial() 125 … PCMGCreateCoarseSpace_Harmonic(PC pc, PetscInt level, DM dm, KSP ksp, PetscInt Nc, Mat initialGue… in PCMGCreateCoarseSpace_Harmonic() 150 …uteCoarseSpace_Internal(PC pc, PetscInt l, PCMGCoarseSpaceType cstype, PetscInt Nc, Mat cspace, Ma… in PCMGComputeCoarseSpace_Internal()
|
| /petsc/src/snes/tests/ |
| H A D | ex8.c | 131 PetscInt Nc; /* Number of field components */ member 149 PetscErrorCode constant(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nc, PetscS… in constant() 161 …nt dim, PetscReal time, const PetscReal coords[], const PetscReal n[], PetscInt Nc, PetscScalar *u… in constantDer() 175 PetscErrorCode linear(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nc, PetscSca… in linear() 187 …nt dim, PetscReal time, const PetscReal coords[], const PetscReal n[], PetscInt Nc, PetscScalar *u… in linearDer() 205 PetscErrorCode quadratic(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nc, Petsc… in quadratic() 224 …nt dim, PetscReal time, const PetscReal coords[], const PetscReal n[], PetscInt Nc, PetscScalar *u… in quadraticDer() 245 PetscErrorCode cubic(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nc, PetscScal… in cubic() 264 …nt dim, PetscReal time, const PetscReal coords[], const PetscReal n[], PetscInt Nc, PetscScalar *u… in cubicDer() 285 PetscErrorCode quartic(PetscInt dim, PetscReal time, const PetscReal coords[], PetscInt Nc, PetscSc… in quartic() [all …]
|
| H A D | ex15.c | 48 static PetscErrorCode const_phi(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, Pet… in const_phi() 54 static PetscErrorCode const_q(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, Petsc… in const_q() 61 static PetscErrorCode linear_phi(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, Pe… in linear_phi() 67 static PetscErrorCode linear_q(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, Pets… in linear_q() 75 static PetscErrorCode quadratic_phi(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc,… in quadratic_phi() 81 static PetscErrorCode quadratic_q(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, P… in quadratic_q() 88 static PetscErrorCode quadratic_q_bc(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc… in quadratic_q_bc() 100 static PetscErrorCode trig_phi(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, Pets… in trig_phi() 106 static PetscErrorCode trig_q(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscS… in trig_q() 113 static PetscErrorCode trig_q_bc(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, Pet… in trig_q_bc() [all …]
|
| H A D | ex2.c | 25 static PetscErrorCode constant(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, Pets… in constant() 32 static PetscErrorCode linear(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscS… in linear() 225 static PetscErrorCode CreateDiscretization(DM dm, PetscInt Nc, AppCtx *ctx) in CreateDiscretization() 268 PetscInt dim, spaceDim, Nc, c, Np, p; in main() local
|
| /petsc/src/dm/dt/interface/ftn-custom/ |
| H A D | zdtf90.c | 14 PETSC_EXTERN void petscquadraturegetdata_(PetscQuadrature *q, PetscInt *dim, PetscInt *Nc, PetscInt… in petscquadraturegetdata_() 25 PETSC_EXTERN void petscquadraturerestoredata_(PetscQuadrature *q, PetscInt *dim, PetscInt *Nc, Pets… in petscquadraturerestoredata_() 32 PETSC_EXTERN void petscquadraturesetdata_(PetscQuadrature *q, PetscInt *dim, PetscInt *Nc, PetscInt… in petscquadraturesetdata_()
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex46.c | 11 static PetscErrorCode constant(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, Pets… in constant() 17 static PetscErrorCode linear(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscS… in linear() 23 static PetscErrorCode quadratic(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, Pet… in quadratic() 29 static PetscErrorCode cubic(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscSc… in cubic()
|
| H A D | ex61.c | 5 static PetscErrorCode set_one(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, Petsc… in set_one() 12 static PetscErrorCode set_two(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, Petsc… in set_two()
|
| H A D | ex49.c | 101 PetscInt *offsets, Ncell, Ncl, Nc, n; in CheckOffsets() local 111 PetscInt *offsets, *offsetsNeg, *offsetsPos, Nface, Nc, n, i = 0; in CheckOffsets() local 138 PetscInt cdim, *offsets, Ncell, Ncl, Nc, n; in CheckOffsets() local
|
| H A D | ex73.c | 18 static PetscErrorCode zero(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscSca… in zero() 38 …enoidal_totaldeg_2d(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscScalar *u… in solenoidal_totaldeg_2d() 47 …enoidal_totaldeg_3d(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscScalar *u… in solenoidal_totaldeg_3d() 57 …ode source_totaldeg(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscScalar *u… in source_totaldeg()
|
| H A D | ex5.c | 1045 static PetscErrorCode r(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscScalar… in r() 1052 static PetscErrorCode rp1(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscScal… in rp1() 1059 static PetscErrorCode phi(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscScal… in phi() 1085 const PetscInt Nc = dim + 1; in f0_bd_u_neg() local 1091 const PetscInt Nc = dim + 1; in f0_bd_u_pos() local 1098 const PetscInt Nc = uOff[2] - uOff[1]; in f0_bd_l() local 1106 const PetscInt Nc = dim + 1; in g0_bd_ul_neg() local 1112 const PetscInt Nc = dim + 1; in g0_bd_ul_pos() local 1119 const PetscInt Nc = uOff[2] - uOff[1]; in g0_bd_lu() local
|
| /petsc/src/dm/impls/swarm/tests/ |
| H A D | ex11.c | 29 static PetscErrorCode constant(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, Pets… in constant() 35 static PetscErrorCode linear(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscS… in linear() 42 static PetscErrorCode sinx(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscSca… in sinx() 49 static PetscErrorCode x2_x4(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscSc… in x2_x4() 225 PetscInt dim, cStart, cEnd, Nc; in computeParticleMoments() local 261 const PetscInt Nc = uOff[1] - uOff[0]; in f0_1() local 268 const PetscInt Nc = uOff[1] - uOff[0]; in f0_x() local 275 const PetscInt Nc = uOff[1] - uOff[0]; in f0_r2() local
|
| /petsc/src/snes/tutorials/ |
| H A D | ex17.c | 59 static PetscErrorCode zero(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscSca… in zero() 66 static PetscErrorCode ge_shift(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, Pets… in ge_shift() 74 static PetscErrorCode quadratic_2d_u(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc… in quadratic_2d_u() 81 static PetscErrorCode quadratic_3d_u(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc… in quadratic_3d_u() 147 static PetscErrorCode trig_2d_u(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, Pet… in trig_2d_u() 154 static PetscErrorCode trig_3d_u(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, Pet… in trig_3d_u() 208 static PetscErrorCode axial_disp_u(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, … in axial_disp_u() 262 …de uniform_strain_u(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscScalar *u… in uniform_strain_u() 277 const PetscInt Nc = dim; in f0_mass_u() local 285 const PetscInt Nc = dim; in f1_vlap_u() local [all …]
|
| H A D | ex62.c | 56 const PetscInt Nc = uOff[1] - uOff[0]; in f1_u() local 86 const PetscInt Nc = uOff[1] - uOff[0]; in g3_uu() local 135 static PetscErrorCode quadratic_u(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, P… in quadratic_u() 147 static PetscErrorCode quadratic_p(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, P… in quadratic_p() 196 static PetscErrorCode trig_u(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscS… in trig_u() 208 static PetscErrorCode trig_p(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscS… in trig_p() 328 static PetscErrorCode zero(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscSca… in zero() 334 static PetscErrorCode one(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscScal… in one() 377 PetscInt dim, Nf = 2, f, Nc[2]; in SetupProblem() local
|
| H A D | ex11.c | 103 static PetscErrorCode rhs_constant(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, … in rhs_constant() 110 static PetscErrorCode rhs_analytical(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc… in rhs_analytical() 134 …oefficient_constant(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscScalar *K… in coefficient_constant() 141 …icient_checkerboard(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscScalar *K… in coefficient_checkerboard() 149 …fficient_analytical(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscScalar *K… in coefficient_analytical()
|
| /petsc/src/ts/tutorials/ |
| H A D | ex53.c | 71 static PetscErrorCode zero(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscSca… in zero() 113 static PetscErrorCode quadratic_u(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, P… in quadratic_u() 121 static PetscErrorCode linear_eps(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, Pe… in linear_eps() 127 …ode linear_linear_p(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscScalar *u… in linear_linear_p() 137 …e linear_linear_p_t(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscScalar *u… in linear_linear_p_t() 209 static PetscErrorCode linear_trig_p(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc,… in linear_trig_p() 219 …ode linear_trig_p_t(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscScalar *u… in linear_trig_p_t() 304 static PetscErrorCode trig_u(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscS… in trig_u() 312 static PetscErrorCode trig_eps(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, Pets… in trig_eps() 322 static PetscErrorCode trig_linear_p(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc,… in trig_linear_p() [all …]
|
| H A D | ex45.c | 46 static PetscErrorCode mms_quad_lin(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, … in mms_quad_lin() 55 static PetscErrorCode mms_quad_lin_t(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc… in mms_quad_lin_t() 81 static PetscErrorCode mms_quad_trig(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc,… in mms_quad_trig() 90 …ode mms_quad_trig_t(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscScalar *u… in mms_quad_trig_t() 116 static PetscErrorCode mms_trig_lin(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, … in mms_trig_lin() 125 static PetscErrorCode mms_trig_lin_t(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc… in mms_trig_lin_t() 153 static PetscErrorCode mms_trig_trig(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc,… in mms_trig_trig() 162 …ode mms_trig_trig_t(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc, PetscScalar *u… in mms_trig_trig_t()
|
| /petsc/src/dm/dt/fe/tests/ |
| H A D | ex3.c | 14 const PetscInt Nc = uOff[1] - uOff[0]; in constant() local 20 const PetscInt Nc = uOff[1] - uOff[0]; in linear() local 26 const PetscInt Nc = uOff[1] - uOff[0]; in quadratic() local 32 const PetscInt Nc = uOff[1] - uOff[0]; in trig() local 85 static PetscErrorCode exactSolution(PetscInt dim, PetscReal time, const PetscReal x[], PetscInt Nc,… in exactSolution() 97 const PetscInt Nc = uOff[1] - uOff[0]; in f0() local 103 const PetscInt Nc = uOff[1] - uOff[0]; in g0() local
|
| /petsc/src/dm/dt/fv/interface/ceed/ |
| H A D | fvceed.c | 48 PetscInt dim, Nc, ord; in PetscFVGetCeedBasis() local
|
| /petsc/src/dm/dt/dualspace/interface/ |
| H A D | dualspace.c | 616 PetscErrorCode PetscDualSpaceGetNumComponents(PetscDualSpace sp, PetscInt *Nc) in PetscDualSpaceGetNumComponents() 636 PetscErrorCode PetscDualSpaceSetNumComponents(PetscDualSpace sp, PetscInt Nc) in PetscDualSpaceSetNumComponents() 1137 …ult(PetscDualSpace sp, PetscInt f, PetscReal time, PetscFEGeom *cgeom, PetscInt Nc, PetscErrorCode… in PetscDualSpaceApplyDefault() argument 1299 PetscInt Nc, nrows, ncols; in PetscDualSpaceCreateAllDataDefault() local 1413 PetscInt Nc; in PetscDualSpaceCreateInteriorDataDefault() local 1564 …PetscDualSpace sp, PetscInt f, PetscReal time, PetscFVCellGeom *cgeom, PetscInt Nc, PetscErrorCode… in PetscDualSpaceApplyFVM() argument 1884 …formType trans, PetscBool isInverse, PetscFEGeom *fegeom, PetscInt Nv, PetscInt Nc, PetscScalar va… in PetscDualSpaceTransform() 1940 …formType trans, PetscBool isInverse, PetscFEGeom *fegeom, PetscInt Nv, PetscInt Nc, PetscScalar va… in PetscDualSpaceTransformGradient() 2073 …formType trans, PetscBool isInverse, PetscFEGeom *fegeom, PetscInt Nv, PetscInt Nc, PetscScalar va… in PetscDualSpaceTransformHessian() 2142 …ualSpacePullback(PetscDualSpace dsp, PetscFEGeom *fegeom, PetscInt Nq, PetscInt Nc, PetscScalar po… in PetscDualSpacePullback() [all …]
|
| /petsc/src/dm/dt/fe/interface/ceed/ |
| H A D | feceed.c | 49 PetscInt dim, Nc, deg, ord; in PetscFEGetCeedBasis() local
|
| /petsc/src/dm/impls/plex/transform/impls/extrude/ |
| H A D | plextrcohesive.c | 146 PetscInt rt, Nc, No; in DMPlexTransformCohesiveExtrudeSetUp_Point() local 194 PetscInt rt, Nc, No, coff, ooff; in DMPlexTransformCohesiveExtrudeSetUp_Segment() local 362 PetscInt rt, Nc, No, coff, ooff; in DMPlexTransformCohesiveExtrudeSetUp_Triangle() local 495 PetscInt rt, Nc, No, coff, ooff; in DMPlexTransformCohesiveExtrudeSetUp_Quadrilateral() local 658 PetscInt rt, Nc, No; in DMPlexTransformCohesiveExtrudeSetUp_Tetrahedron() local 710 PetscInt rt, Nc, No; in DMPlexTransformCohesiveExtrudeSetUp_Hexahedron() local
|
| /petsc/src/dm/dt/space/impls/sum/ |
| H A D | spacesum.c | 230 PetscInt Ns, Nc, Nv, deg, i; in PetscSpaceSetFromOptions_Sum() local 277 PetscInt Nv, Ns, Nc, i, sum_Nc = 0, deg = PETSC_INT_MAX, maxDeg = PETSC_INT_MIN; in PetscSpaceSetUp_Sum() local 422 PetscInt Nc = sp->Nc, Nv = sp->Nv, Ns = sum->numSumSpaces; in PetscSpaceEvaluate_Sum() local 508 PetscInt Nc, dim, order; in PetscSpaceGetHeightSubspace_Sum() local 667 PetscInt i, Nv, Nc = 0; in PetscSpaceCreateSum() local
|
| /petsc/include/petsc/private/ |
| H A D | dtimpl.h | 9 PetscInt Nc; /* The number of components */ member
|
| /petsc/src/dm/dt/space/interface/ |
| H A D | space.c | 391 PetscErrorCode PetscSpaceGetNumComponents(PetscSpace sp, PetscInt *Nc) in PetscSpaceGetNumComponents() 411 PetscErrorCode PetscSpaceSetNumComponents(PetscSpace sp, PetscInt Nc) in PetscSpaceSetNumComponents()
|
| /petsc/src/dm/dt/fe/interface/ |
| H A D | fe.c | 644 PetscInt Nc, qNc; in PetscFESetQuadrature() local 702 PetscInt Nc, qNc; in PetscFESetFaceQuadrature() local 814 PetscInt dim, cStart, Nf, Nc, Np, order; in PetscFEExpandFaceQuadrature() local 983 PetscInt Nc; /* Field components */ in PetscFECreateTabulation() local 1050 PetscInt Nc; /* Field components */ in PetscFEComputeTabulation() local 1741 PetscInt dim, Nc; in PetscFEGetHeightSubspace() local 1918 PetscInt Nc; in PetscFECreateFromSpaces() local 1996 static PetscErrorCode PetscFECreate_Internal(MPI_Comm comm, PetscInt dim, PetscInt Nc, DMPolytopeTy… in PetscFECreate_Internal() 2123 PetscErrorCode PetscFECreateDefault(MPI_Comm comm, PetscInt dim, PetscInt Nc, PetscBool isSimplex, … in PetscFECreateDefault() 2153 PetscErrorCode PetscFECreateByCell(MPI_Comm comm, PetscInt dim, PetscInt Nc, DMPolytopeType ct, con… in PetscFECreateByCell() [all …]
|