Home
last modified time | relevance | path

Searched refs:c3 (Results 1 – 19 of 19) sorted by relevance

/petsc/src/sys/classes/draw/interface/
H A Ddtri.c24 … x1, PetscReal y_1, PetscReal x2, PetscReal y2, PetscReal x3, PetscReal y3, int c1, int c2, int c3) in PetscDrawTriangle() argument
28 PetscUseTypeMethod(draw, triangle, x1, y_1, x2, y2, x3, y3, c1, c2, c3); in PetscDrawTriangle()
221 int c1, c2, c3, c4, i, j; in PetscDrawTensorContourPatch() local
237 c3 = PetscDrawRealToColor(v[i + j * m + 1 + m], min, max); in PetscDrawTensorContourPatch()
242 PetscCall(PetscDrawTriangle(draw, x1, y_1, x2, y2, x3, y3, c1, c2, c3)); in PetscDrawTensorContourPatch()
243 PetscCall(PetscDrawTriangle(draw, x1, y_1, x3, y3, x4, y4, c1, c3, c4)); in PetscDrawTensorContourPatch()
H A Ddrect.c124 …cDraw draw, PetscReal xl, PetscReal yl, PetscReal xr, PetscReal yr, int c1, int c2, int c3, int c4) in PetscDrawRectangle() argument
128 PetscUseTypeMethod(draw, rectangle, xl, yl, xr, yr, c1, c2, c3, c4); in PetscDrawRectangle()
/petsc/src/sys/classes/draw/impls/win32/
H A Dwin32draw.c157 static PetscErrorCode AverageColorRectangle_Win32(PetscDraw draw, int c1, int c2, int c3, int c4) in AverageColorRectangle_Win32() argument
162 …c2] + RedMap[c3] + RedMap[c4]) / 4, (GreenMap[c1] + GreenMap[c2] + GreenMap[c3] + GreenMap[c4]) / … in AverageColorRectangle_Win32()
166 static PetscErrorCode AverageColorTriangle_Win32(PetscDraw draw, int c1, int c2, int c3) in AverageColorTriangle_Win32() argument
171 …[c1] + RedMap[c2] + RedMap[c3]) / 3, (GreenMap[c1] + GreenMap[c2] + GreenMap[c3]) / 3, (BlueMap[c1… in AverageColorTriangle_Win32()
175 …cDraw draw, PetscReal xl, PetscReal yl, PetscReal xr, PetscReal yr, int c1, int c2, int c3, int c4) in PetscDrawRectangle_Win32() argument
189 if (c1 == c2 && c2 == c3 && c3 == c4) TranslateColor_Win32(draw, c1); in PetscDrawRectangle_Win32()
190 else AverageColorRectangle_Win32(draw, c1, c2, c3, c4); in PetscDrawRectangle_Win32()
470 …x1, PetscReal yone, PetscReal x2, PetscReal y2, PetscReal x3, PetscReal y3, int c1, int c2, int c3) in PetscDrawTriangle_Win32() argument
479 AverageColorTriangle_Win32(draw, c1, c2, c3); in PetscDrawTriangle_Win32()
/petsc/src/sys/classes/draw/impls/null/
H A Ddrawnull.c48 …cDraw draw, PetscReal xl, PetscReal yl, PetscReal xr, PetscReal yr, int c1, int c2, int c3, int c4) in PetscDrawRectangle_Null() argument
60 … X1, PetscReal Y_1, PetscReal X2, PetscReal Y2, PetscReal X3, PetscReal Y3, int c1, int c2, int c3) in PetscDrawTriangle_Null() argument
/petsc/src/sys/classes/draw/impls/image/
H A Ddrawimage.c162 …cDraw draw, PetscReal xl, PetscReal yl, PetscReal xr, PetscReal yr, int c1, int c2, int c3, int c4) in PetscDrawRectangle_Image() argument
169 PetscDrawValidColor(c3); in PetscDrawRectangle_Image()
174 int c = (c1 + c2 + c3 + c4) / 4; in PetscDrawRectangle_Image()
197 … PetscReal Y_1, PetscReal X_2, PetscReal Y_2, PetscReal X_3, PetscReal Y_3, int c1, int c2, int c3) in PetscDrawTriangle_Image() argument
204 PetscDrawValidColor(c3); in PetscDrawTriangle_Image()
208 PetscImageDrawTriangle(img, x_1, y_1, c1, x_2, y_2, c2, x_3, y_3, c3); in PetscDrawTriangle_Image()
/petsc/src/mat/impls/aij/seq/
H A Dmatrart.c111 PetscScalar *d, *c, *c2, *c3, *c4; in MatMatMatMultNumeric_SeqAIJ_SeqAIJ_SeqDense() local
147 c3 = c2 + am; in MatMatMatMultNumeric_SeqAIJ_SeqAIJ_SeqDense()
148 c4 = c3 + am; in MatMatMatMultNumeric_SeqAIJ_SeqAIJ_SeqDense()
181 r3 += (*ra) * c3[*rj]; in MatMatMatMultNumeric_SeqAIJ_SeqAIJ_SeqDense()
H A Dmatmatmult.c1498 PetscScalar *c, r1, r2, r3, r4, *c1, *c2, *c3, *c4; in MatMatMultNumericAdd_SeqAIJ_SeqDense() local
1526 c3 = c2 + clda; in MatMatMultNumericAdd_SeqAIJ_SeqDense()
1527 c4 = c3 + clda; in MatMatMultNumericAdd_SeqAIJ_SeqDense()
1545 c3[i] += r3; in MatMatMultNumericAdd_SeqAIJ_SeqDense()
1550 c3[i] = r3; in MatMatMultNumericAdd_SeqAIJ_SeqDense()
1562 c3 += am4; in MatMatMultNumericAdd_SeqAIJ_SeqDense()
1615 c3[i] += r3; in MatMatMultNumericAdd_SeqAIJ_SeqDense()
1619 c3[i] = r3; in MatMatMultNumericAdd_SeqAIJ_SeqDense()
/petsc/src/sys/objects/ftn-custom/
H A Dzoptionsf.c325 char *c1, *c2, *c3; in petscoptionsgetstring_() local
331 c3 = string; in petscoptionsgetstring_()
334 *ierr = PetscOptionsGetString(*options, c1, c2, c3, len3, &flag); in petscoptionsgetstring_()
/petsc/src/sys/classes/draw/impls/tikz/
H A Dtikz.c96 …cDraw draw, PetscReal xl, PetscReal yl, PetscReal xr, PetscReal yr, int c1, int c2, int c3, int c4) in PetscDrawRectangle_TikZ() argument
106 …l x1, PetscReal y1, PetscReal x2, PetscReal y2, PetscReal x3, PetscReal y3, int c1, int c2, int c3) in PetscDrawTriangle_TikZ() argument
/petsc/src/ts/tutorials/power_grid/
H A Dex8.c285 PetscScalar c1, c3, c5, c1pos, c1neg, c3pos, c3neg; in IJacobian() local
304c3 = (user->ws / (2.0 * user->H)) * (user->PM_min - user->Pmax * PetscSinScalar(xi) - use… in IJacobian()
305 c3pos = PetscMax(c3, 0); in IJacobian()
306 c3neg = PetscMin(c3, 0); in IJacobian()
H A Dex7.c309 PetscScalar c1, c3, c5, c1pos, c1neg, c3pos, c3neg; in IJacobian() local
328c3 = (user->ws / (2.0 * user->H)) * (user->PM_min - user->Pmax * PetscSinScalar(xi)) / us… in IJacobian()
329 c3pos = PetscMax(c3, 0); in IJacobian()
330 c3neg = PetscMin(c3, 0); in IJacobian()
H A Dex6.c314 PetscScalar c1, c3, c5; in IJacobian() local
435c3 = (user->ws / (2.0 * user->H)) * (user->PM_min - user->Pmax * PetscSinScalar(xi)) / (2 *… in IJacobian()
445 val[nc++] = c3 + c5; in IJacobian()
448 val[nc++] = -c3 + c5; in IJacobian()
/petsc/src/ts/impls/arkimex/
H A Darkimex.c486 #define c3 RC(1.0) in TSARKIMEXRegisterAll() macro
487 #define a32 c3 *(c3 - RC(2.0) * g) / (RC(4.0) * g) in TSARKIMEXRegisterAll()
488 #define b2 (-RC(2.0) + RC(3.0) * c3 + RC(6.0) * g * (RC(1.0) - c3)) / (RC(12.0) * g * (c3 - RC(2.0… in TSARKIMEXRegisterAll()
489 #define b3 (RC(1.0) - RC(6.0) * g + RC(6.0) * g2) / (RC(3.0) * c3 * (c3 - RC(2.0) * g)) in TSARKIMEXRegisterAll()
493c3 * (-RC(1.0) + RC(6.0) * g - RC(23.0) * g3 + RC(12.0) * g4 - RC(6.0) * g5) / (RC(4.0) * (RC(2.0)… in TSARKIMEXRegisterAll()
494 …RC(79.0) * g3 - RC(33.0) * g4 + RC(12.0) * g5) / (RC(2.0) * (RC(2.0) * g - c3) * (RC(1.0) - RC(6.0… in TSARKIMEXRegisterAll()
507 {c3 - a32 - g, a32, g, RC(0.0)}, in TSARKIMEXRegisterAll()
516 #undef c3 in TSARKIMEXRegisterAll()
/petsc/src/dm/impls/plex/tests/
H A Dex11.c64 PetscInt c3[4] = {14, 16, 20, 22}; in TestEmptyStrata() local
104 PetscCall(DMPlexSetCone(dm, 3, c3)); in TestEmptyStrata()
/petsc/src/sys/classes/draw/impls/x/
H A Dxops.c131 …cDraw draw, PetscReal xl, PetscReal yl, PetscReal xr, PetscReal yr, int c1, int c2, int c3, int c4) in PetscDrawRectangle_X() argument
134 int x, y, w, h, c = (c1 + c2 + c3 + c4) / 4; in PetscDrawRectangle_X()
167 … X1, PetscReal Y_1, PetscReal X2, PetscReal Y2, PetscReal X3, PetscReal Y3, int c1, int c2, int c3) in PetscDrawTriangle_X() argument
172 if (c1 == c2 && c2 == c3) { in PetscDrawTriangle_X()
190 PetscCall(PetscDrawInterpolatedTriangle_X(XiWin, x1, y_1, c1, x2, y2, c2, x3, y3, c3)); in PetscDrawTriangle_X()
/petsc/src/dm/impls/da/
H A Dgr2.c31 int c1, c2, c3, c4; in VecView_MPI_Draw_DA2d_Zoom() local
62 c3 = PetscDrawRealToColor(PetscRealPart(v[k + dof * id]), min, max); in VecView_MPI_Draw_DA2d_Zoom()
69 PetscCall(PetscDrawTriangle(draw, x1, y_1, x2, y2, x3, y3, c1, c2, c3)); in VecView_MPI_Draw_DA2d_Zoom()
70 PetscCall(PetscDrawTriangle(draw, x1, y_1, x3, y3, x4, y4, c1, c3, c4)); in VecView_MPI_Draw_DA2d_Zoom()
/petsc/src/tao/constrained/impls/ipm/
H A Dipm.c808 PetscInt c1, c2, c3; in IPMUpdateK() local
829 r3 = c3 = r2 + ipmP->nb; in IPMUpdateK()
927 newcol = i + c3; in IPMUpdateK()
953 newcols[1] = c3 + i; in IPMUpdateK()
/petsc/src/dm/impls/plex/
H A Dplexfem.c514 PetscReal c1, s1, c2, s2, c3, s3; in DMPlexBasisTransformSetUp_Rotation_Internal() local
534 c3 = PetscCosReal(rc->gamma); in DMPlexBasisTransformSetUp_Rotation_Internal()
536 rc->R[0] = c1 * c3 - c2 * s1 * s3; in DMPlexBasisTransformSetUp_Rotation_Internal()
537 rc->R[1] = c3 * s1 + c1 * c2 * s3; in DMPlexBasisTransformSetUp_Rotation_Internal()
539 rc->R[3] = -c1 * s3 - c2 * c3 * s1; in DMPlexBasisTransformSetUp_Rotation_Internal()
540 rc->R[4] = c1 * c2 * c3 - s1 * s3; in DMPlexBasisTransformSetUp_Rotation_Internal()
541 rc->R[5] = c3 * s2; in DMPlexBasisTransformSetUp_Rotation_Internal()
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas7863 (drsm-c3-ssg 0.8)
8092 (ke-easm-c3 1.25)
8129 (nut-ke1e-c3 7.)
8871 (10 (0 1 c3 0 3))
9071 7 a8 c3 2a 19 1d
9183 2a 22 c2 c3 1d 0
9200 2a c3 a7 a1 19 0
9209 a8 a6 a7 c3 19 0
9220 a8 c3 c2 a9 1d 0
9258 (10 (1 1 c3 1 3)
[all …]