Home
last modified time | relevance | path

Searched refs:c (Results 1 – 25 of 702) sorted by relevance

12345678910>>...29

/petsc/systems/Apple/iOS/PETSc/PETSc.xcodeproj/
H A Dproject.pbxproj10 …D89D1C83207AA1AB00FACC19 /* dmi.c in Sources */ = {isa = PBXBuildFile; fileRef = D89D199B207AA1A90…
11 …89D1C84207AA1AB00FACC19 /* dmsnes.c in Sources */ = {isa = PBXBuildFile; fileRef = D89D199C207AA1A…
12 …D89D1C85207AA1AB00FACC19 /* dm.c in Sources */ = {isa = PBXBuildFile; fileRef = D89D199D207AA1A900…
13 …A1AB00FACC19 /* matmatmatmult.c in Sources */ = {isa = PBXBuildFile; fileRef = D89D199E207AA1A900F…
14 …D89D1C87207AA1AB00FACC19 /* tssen.c in Sources */ = {isa = PBXBuildFile; fileRef = D89D199F207AA1A…
15 …D1C88207AA1AB00FACC19 /* matrart.c in Sources */ = {isa = PBXBuildFile; fileRef = D89D19A0207AA1A9…
16 …D89D1C89207AA1AB00FACC19 /* dmts.c in Sources */ = {isa = PBXBuildFile; fileRef = D89D19A1207AA1A9…
17 …89D1C8A207AA1AB00FACC19 /* mpiadj.c in Sources */ = {isa = PBXBuildFile; fileRef = D89D19A2207AA1A…
18 …D89D1C8B207AA1AB00FACC19 /* gtype.c in Sources */ = {isa = PBXBuildFile; fileRef = D89D19A3207AA1A…
19 …A1AB00FACC19 /* bddcnullspace.c in Sources */ = {isa = PBXBuildFile; fileRef = D89D19A4207AA1A900F…
[all …]
/petsc/src/ts/characteristic/interface/
H A Dcharacteristic.c21 static PetscErrorCode CharacteristicView(Characteristic c, PetscViewer viewer) in CharacteristicView() argument
26 PetscValidHeaderSpecific(c, CHARACTERISTIC_CLASSID, 1); in CharacteristicView()
27 if (!viewer) PetscCall(PetscViewerASCIIGetStdout(PetscObjectComm((PetscObject)c), &viewer)); in CharacteristicView()
29 PetscCheckSameComm(c, 1, viewer, 2); in CharacteristicView()
32 if (!isascii) PetscTryTypeMethod(c, view, viewer); in CharacteristicView()
48 PetscErrorCode CharacteristicDestroy(Characteristic *c) in CharacteristicDestroy() argument
51 if (!*c) PetscFunctionReturn(PETSC_SUCCESS); in CharacteristicDestroy()
52 PetscValidHeaderSpecific(*c, CHARACTERISTIC_CLASSID, 1); in CharacteristicDestroy()
53 if (--((PetscObject)*c)->refct > 0) PetscFunctionReturn(PETSC_SUCCESS); in CharacteristicDestroy()
55 PetscTryTypeMethod(*c, destroy); in CharacteristicDestroy()
[all …]
/petsc/src/ts/tutorials/hamiltonian/output/
H A Dex2_two_stream_rt.out4 c:0 [x_a,x_b] = 0.000000000000000,0.349066666666667 -> cell weight = 0.352539638258674
5 c:1 [x_a,x_b] = 0.349066666666667,0.698133333333333 -> cell weight = 0.352434113281987
6 c:2 [x_a,x_b] = 0.698133333333333,1.047200000000000 -> cell weight = 0.352226269666591
7 c:3 [x_a,x_b] = 1.047200000000000,1.396266666666667 -> cell weight = 0.351922422665025
8 c:4 [x_a,x_b] = 1.396266666666667,1.745333333333333 -> cell weight = 0.351531804557746
9 c:5 [x_a,x_b] = 1.745333333333333,2.094400000000000 -> cell weight = 0.351066284133648
10 c:6 [x_a,x_b] = 2.094400000000000,2.443466666666667 -> cell weight = 0.350540006061240
11 c:7 [x_a,x_b] = 2.443466666666667,2.792533333333333 -> cell weight = 0.349968961108035
12 c:8 [x_a,x_b] = 2.792533333333333,3.141600000000000 -> cell weight = 0.349370500266919
13 c:9 [x_a,x_b] = 3.141600000000000,3.490666666666667 -> cell weight = 0.348762807552540
[all …]
H A Dex2_two_stream_c0.out4 c:0 [x_a,x_b] = 0.000000000000000,0.349066666666667 -> cell weight = 0.352539638258674
5 c:1 [x_a,x_b] = 0.349066666666667,0.698133333333333 -> cell weight = 0.352434113281987
6 c:2 [x_a,x_b] = 0.698133333333333,1.047200000000000 -> cell weight = 0.352226269666591
7 c:3 [x_a,x_b] = 1.047200000000000,1.396266666666667 -> cell weight = 0.351922422665025
8 c:4 [x_a,x_b] = 1.396266666666667,1.745333333333333 -> cell weight = 0.351531804557746
9 c:5 [x_a,x_b] = 1.745333333333333,2.094400000000000 -> cell weight = 0.351066284133648
10 c:6 [x_a,x_b] = 2.094400000000000,2.443466666666667 -> cell weight = 0.350540006061240
11 c:7 [x_a,x_b] = 2.443466666666667,2.792533333333333 -> cell weight = 0.349968961108035
12 c:8 [x_a,x_b] = 2.792533333333333,3.141600000000000 -> cell weight = 0.349370500266919
13 c:9 [x_a,x_b] = 3.141600000000000,3.490666666666667 -> cell weight = 0.348762807552540
[all …]
H A Dex2_uniform_primal_1d_real.out4 c:0 [x_a,x_b] = 0.000000000000000,1.256640000000000 -> cell weight = 1.268395728819320
5 c:1 [x_a,x_b] = 1.256640000000000,2.513280000000000 -> cell weight = 1.263905419667826
6 c:2 [x_a,x_b] = 2.513280000000000,3.769920000000000 -> cell weight = 1.256639954596585
7 c:3 [x_a,x_b] = 3.769920000000000,5.026560000000000 -> cell weight = 1.249374506867984
8 c:4 [x_a,x_b] = 5.026560000000000,6.283200000000000 -> cell weight = 1.244884243120080
9 c:5 [x_a,x_b] = 6.283200000000000,7.539840000000000 -> cell weight = 1.244884299241914
10 c:6 [x_a,x_b] = 7.539840000000000,8.796479999999999 -> cell weight = 1.249374653796754
11 c:7 [x_a,x_b] = 8.796479999999999,10.053120000000000 -> cell weight = 1.256640136210245
12 c:8 [x_a,x_b] = 10.053120000000000,11.309760000000001 -> cell weight = 1.263905566595814
13 c:9 [x_a,x_b] = 11.309760000000001,12.566400000000000 -> cell weight = 1.268395784939883
[all …]
H A Dex2_landau_damping_1d_dg.out4 c:0 [x_a,x_b] = 0.000000000000000,1.256640000000000 -> cell weight = 1.268395728819320
5 c:1 [x_a,x_b] = 1.256640000000000,2.513280000000000 -> cell weight = 1.263905419667826
6 c:2 [x_a,x_b] = 2.513280000000000,3.769920000000000 -> cell weight = 1.256639954596585
7 c:3 [x_a,x_b] = 3.769920000000000,5.026560000000000 -> cell weight = 1.249374506867984
8 c:4 [x_a,x_b] = 5.026560000000000,6.283200000000000 -> cell weight = 1.244884243120080
9 c:5 [x_a,x_b] = 6.283200000000000,7.539840000000000 -> cell weight = 1.244884299241914
10 c:6 [x_a,x_b] = 7.539840000000000,8.796479999999999 -> cell weight = 1.249374653796754
11 c:7 [x_a,x_b] = 8.796479999999999,10.053120000000000 -> cell weight = 1.256640136210245
12 c:8 [x_a,x_b] = 10.053120000000000,11.309760000000001 -> cell weight = 1.263905566595814
13 c:9 [x_a,x_b] = 11.309760000000001,12.566400000000000 -> cell weight = 1.268395784939883
[all …]
H A Dex2_landau_damping_1d_c0.out4 c:0 [x_a,x_b] = 0.000000000000000,1.256640000000000 -> cell weight = 1.268395728819320
5 c:1 [x_a,x_b] = 1.256640000000000,2.513280000000000 -> cell weight = 1.263905419667826
6 c:2 [x_a,x_b] = 2.513280000000000,3.769920000000000 -> cell weight = 1.256639954596585
7 c:3 [x_a,x_b] = 3.769920000000000,5.026560000000000 -> cell weight = 1.249374506867984
8 c:4 [x_a,x_b] = 5.026560000000000,6.283200000000000 -> cell weight = 1.244884243120080
9 c:5 [x_a,x_b] = 6.283200000000000,7.539840000000000 -> cell weight = 1.244884299241914
10 c:6 [x_a,x_b] = 7.539840000000000,8.796479999999999 -> cell weight = 1.249374653796754
11 c:7 [x_a,x_b] = 8.796479999999999,10.053120000000000 -> cell weight = 1.256640136210245
12 c:8 [x_a,x_b] = 10.053120000000000,11.309760000000001 -> cell weight = 1.263905566595814
13 c:9 [x_a,x_b] = 11.309760000000001,12.566400000000000 -> cell weight = 1.268395784939883
[all …]
H A Dex2_landau_damping_1d_mixed.out4 c:0 [x_a,x_b] = 0.000000000000000,1.256640000000000 -> cell weight = 1.268395728819320
5 c:1 [x_a,x_b] = 1.256640000000000,2.513280000000000 -> cell weight = 1.263905419667826
6 c:2 [x_a,x_b] = 2.513280000000000,3.769920000000000 -> cell weight = 1.256639954596585
7 c:3 [x_a,x_b] = 3.769920000000000,5.026560000000000 -> cell weight = 1.249374506867984
8 c:4 [x_a,x_b] = 5.026560000000000,6.283200000000000 -> cell weight = 1.244884243120080
9 c:5 [x_a,x_b] = 6.283200000000000,7.539840000000000 -> cell weight = 1.244884299241914
10 c:6 [x_a,x_b] = 7.539840000000000,8.796479999999999 -> cell weight = 1.249374653796754
11 c:7 [x_a,x_b] = 8.796479999999999,10.053120000000000 -> cell weight = 1.256640136210245
12 c:8 [x_a,x_b] = 10.053120000000000,11.309760000000001 -> cell weight = 1.263905566595814
13 c:9 [x_a,x_b] = 11.309760000000001,12.566400000000000 -> cell weight = 1.268395784939883
[all …]
H A Dex2_uniform_equilibrium_1d_real.out4 c:0 [x_a,x_b] = 0.000000000000000,1.256640000000000 -> cell weight = 1.256640000000000
5 c:1 [x_a,x_b] = 1.256640000000000,2.513280000000000 -> cell weight = 1.256640000000000
6 c:2 [x_a,x_b] = 2.513280000000000,3.769920000000000 -> cell weight = 1.256640000000000
7 c:3 [x_a,x_b] = 3.769920000000000,5.026560000000000 -> cell weight = 1.256640000000000
8 c:4 [x_a,x_b] = 5.026560000000000,6.283200000000000 -> cell weight = 1.256640000000000
9 c:5 [x_a,x_b] = 6.283200000000000,7.539840000000000 -> cell weight = 1.256640000000000
10 c:6 [x_a,x_b] = 7.539840000000000,8.796479999999999 -> cell weight = 1.256639999999999
11 c:7 [x_a,x_b] = 8.796479999999999,10.053120000000000 -> cell weight = 1.256640000000001
12 c:8 [x_a,x_b] = 10.053120000000000,11.309760000000001 -> cell weight = 1.256640000000001
13 c:9 [x_a,x_b] = 11.309760000000001,12.566400000000000 -> cell weight = 1.256639999999999
[all …]
H A Dex2_uniform_equilibrium_1d.out4 c:0 [x_a,x_b] = 0.000000000000000,1.256640000000000 -> cell weight = 1.256640000000000
5 c:1 [x_a,x_b] = 1.256640000000000,2.513280000000000 -> cell weight = 1.256640000000000
6 c:2 [x_a,x_b] = 2.513280000000000,3.769920000000000 -> cell weight = 1.256640000000000
7 c:3 [x_a,x_b] = 3.769920000000000,5.026560000000000 -> cell weight = 1.256640000000000
8 c:4 [x_a,x_b] = 5.026560000000000,6.283200000000000 -> cell weight = 1.256640000000000
9 c:5 [x_a,x_b] = 6.283200000000000,7.539840000000000 -> cell weight = 1.256640000000000
10 c:6 [x_a,x_b] = 7.539840000000000,8.796479999999999 -> cell weight = 1.256639999999999
11 c:7 [x_a,x_b] = 8.796479999999999,10.053120000000000 -> cell weight = 1.256640000000001
12 c:8 [x_a,x_b] = 10.053120000000000,11.309760000000001 -> cell weight = 1.256640000000001
13 c:9 [x_a,x_b] = 11.309760000000001,12.566400000000000 -> cell weight = 1.256639999999999
[all …]
H A Dex2_uniform_primal_1d_real_pfak.out4 c:0 [x_a,x_b] = 0.000000000000000,1.256640000000000 -> cell weight = 1.268395728819320
5 c:1 [x_a,x_b] = 1.256640000000000,2.513280000000000 -> cell weight = 1.263905419667826
6 c:2 [x_a,x_b] = 2.513280000000000,3.769920000000000 -> cell weight = 1.256639954596585
7 c:3 [x_a,x_b] = 3.769920000000000,5.026560000000000 -> cell weight = 1.249374506867984
8 c:4 [x_a,x_b] = 5.026560000000000,6.283200000000000 -> cell weight = 1.244884243120080
9 c:5 [x_a,x_b] = 6.283200000000000,7.539840000000000 -> cell weight = 1.244884299241914
10 c:6 [x_a,x_b] = 7.539840000000000,8.796479999999999 -> cell weight = 1.249374653796754
11 c:7 [x_a,x_b] = 8.796479999999999,10.053120000000000 -> cell weight = 1.256640136210245
12 c:8 [x_a,x_b] = 10.053120000000000,11.309760000000001 -> cell weight = 1.263905566595814
13 c:9 [x_a,x_b] = 11.309760000000001,12.566400000000000 -> cell weight = 1.268395784939883
[all …]
/petsc/src/dm/impls/stag/tests/
H A Dex13.c125 #define TEST_FUNCTION(i, j, k, idx, c) (8.33 * i + 7.343 * j + 1.234 * idx + 99.011 * c) argument
128 static PetscErrorCode CompareValues(PetscInt i, PetscInt j, PetscInt k, PetscInt c, PetscScalar val… in CompareValues() argument
131 …%" PetscInt_FMT ") Value %.17g does not match the expected %.17g", i, j, k, c, (double)PetscRealPa… in CompareValues()
138 PetscInt i, startx, nx, nExtrax, dof0, dof1, c, idxLeft, idxElement; in Test2_1d() local
151 for (c = 0; c < dof0; ++c) { in Test2_1d()
152 const PetscScalar valRef = TEST_FUNCTION(i, 0, 0, idxLeft, c); in Test2_1d()
153 arr[i][idxLeft + c] = valRef; in Test2_1d()
156 for (c = 0; c < dof1; ++c) { in Test2_1d()
157 const PetscScalar valRef = TEST_FUNCTION(i, 0, 0, idxElement, c); in Test2_1d()
158 arr[i][idxElement + c] = valRef; in Test2_1d()
[all …]
H A Dex40.c32 for (PetscInt c = 0; c < dof[0]; ++c) { in FormFunction1DNoCoupling() local
38 row.c = c; in FormFunction1DNoCoupling()
40 val = (10.0 + c) * x_val * x_val * x_val; // f_i = (10 +c) * x_i^3 in FormFunction1DNoCoupling()
44 for (PetscInt c = 0; c < dof[1]; ++c) { in FormFunction1DNoCoupling() local
50 row.c = c; in FormFunction1DNoCoupling()
52 val = (20.0 + c) * x_val * x_val * x_val; // f_i = (20 + c) * x_i^3 in FormFunction1DNoCoupling()
78 for (PetscInt c = 0; c < dof[0]; ++c) { in FormJacobian1DNoCoupling() local
84 row_vertex.c = c; in FormJacobian1DNoCoupling()
86 val = 3.0 * (10.0 + c) * x_val * x_val; in FormJacobian1DNoCoupling()
90 for (PetscInt c = 0; c < dof[1]; ++c) { in FormJacobian1DNoCoupling() local
[all …]
H A Dex43.c17 for (PetscInt c = 0; c < 4; ++c) { in AssembleSystem() local
18 row[c].loc = DMSTAG_BACK_DOWN_LEFT; in AssembleSystem()
19 row[c].c = c; in AssembleSystem()
20 val[c] = 10.0 + c; in AssembleSystem()
25 row[4].c = 0; in AssembleSystem()
30 row[5].c = 0; in AssembleSystem()
34 row[6].c = 0; in AssembleSystem()
38 row[7].c = 0; in AssembleSystem()
43 row[8].c = 0; in AssembleSystem()
47 row[9].c = 0; in AssembleSystem()
[all …]
/petsc/include/petsc/private/
H A Dpetsclegacycupmblas.h9 …#define cublasXaxpy(a, b, c, d, e, f, g) cublasCaxpy((a), (b), (cuComplex *)( argument
10 …#define cublasXscal(a, b, c, d, e) cublasCscal((a), (b), (cuComplex *)( argument
11 …#define cublasXdotu(a, b, c, d, e, f, g) cublasCdotu((a), (b), (cuComplex *)( argument
12 …#define cublasXdot(a, b, c, d, e, f, g) cublasCdotc((a), (b), (cuComplex *)( argument
13 …#define cublasXswap(a, b, c, d, e, f) cublasCswap((a), (b), (cuComplex *)( argument
14 …#define cublasXnrm2(a, b, c, d, e) cublasScnrm2((a), (b), (cuComplex *)… argument
15 …#define cublasIXamax(a, b, c, d, e) cublasIcamax((a), (b), (cuComplex *)… argument
16 …#define cublasXasum(a, b, c, d, e) cublasScasum((a), (b), (cuComplex *)… argument
17 …#define cublasXgemv(a, b, c, d, e, f, g, h, i, j, k, l) cublasCgemv((a), (b), (c), (d), (cuC… argument
18 …#define cublasXgemm(a, b, c, d, e, f, g, h, i, j, k, l, m, n) cublasCgemm((a), (b), (c), (d), (e),… argument
[all …]
H A Dlogimpldeprecated.h89 …fo is no longer used.") static inline PetscErrorCode PetscClassRegInfoDestroy(PetscClassRegInfo *c) in PetscClassRegInfoDestroy() argument
91 (void)c; in PetscClassRegInfoDestroy()
105 …egLog is no longer used.") static inline PetscErrorCode PetscClassRegLogCreate(PetscClassRegLog *c) in PetscClassRegLogCreate() argument
107 *c = NULL; in PetscClassRegLogCreate()
121 …egLog is no longer used.") static inline PetscErrorCode PetscClassRegLogDestroy(PetscClassRegLog c) in PetscClassRegLogDestroy() argument
123 (void)c; in PetscClassRegLogDestroy()
137 …d.") static inline PetscErrorCode PetscClassRegLogGetClass(PetscClassRegLog c, PetscClassId d, int… in PetscClassRegLogGetClass() argument
139 (void)c; in PetscClassRegLogGetClass()
155 …c inline PetscErrorCode PetscClassRegLogRegister(PetscClassRegLog a, const char *b, PetscClassId c) in PetscClassRegLogRegister() argument
159 (void)c; in PetscClassRegLogRegister()
[all …]
/petsc/share/petsc/datafiles/meshes/
H A Dsquare.cas6 (10 (0 1 5c 1 2))
11 (10 (1 1 5c 1 2)
121 29 4c 0 37
127 21 4c 34 0
133 1e 7 c 0
150 3e c 22 1f
151 d c 1f 5
164 13 12 2c 7
165 13 46 29 2c
174 4c 26 34 53
[all …]
H A Dwedge_cylinder.cas26 4 2b 1 2d 2c 1 8
30 4 4 5 31 30 5 c
41 4 4 30 3a a b c
42 4 4 5 b a c 36
44 4 5 31 3b b c d
45 4 5 6 c b d 37
47 4 6 32 3c c d e
48 4 6 34 3e c e 38
50 4 a b 3b 3a c 13
52 4 b c 3c 3b d 14
[all …]
/petsc/src/snes/tests/
H A Dex20.c454 MatStencil c[7], row; in FormJacobian() local
532 c[0].k = k - 1; in FormJacobian()
533 c[0].j = j; in FormJacobian()
534 c[0].i = i; in FormJacobian()
536 c[1].k = k; in FormJacobian()
537 c[1].j = j - 1; in FormJacobian()
538 c[1].i = i; in FormJacobian()
540 c[2].k = k; in FormJacobian()
541 c[2].j = j; in FormJacobian()
542 c[2].i = i - 1; in FormJacobian()
[all …]
/petsc/src/ts/characteristic/impls/da/
H A Dslda.c5 static PetscErrorCode CharacteristicView_DA(Characteristic c, PetscViewer viewer) in CharacteristicView_DA() argument
7 Characteristic_DA *da = (Characteristic_DA *)c->data; in CharacteristicView_DA()
22 static PetscErrorCode CharacteristicDestroy_DA(Characteristic c) in CharacteristicDestroy_DA() argument
24 Characteristic_DA *da = (Characteristic_DA *)c->data; in CharacteristicDestroy_DA()
31 static PetscErrorCode CharacteristicSetUp_DA(Characteristic c) in CharacteristicSetUp_DA() argument
38 …PetscCall(DMDAGetInfo(c->velocityDA, &dim, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, N… in CharacteristicSetUp_DA()
39 if (c->structured) PetscCall(PetscMPIIntCast(dim, &c->numIds)); in CharacteristicSetUp_DA()
40 else c->numIds = 3; in CharacteristicSetUp_DA()
41c->numFieldComp <= MAX_COMPONENTS, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "The maximum number … in CharacteristicSetUp_DA()
45 blockLen[0] = 1 + c->numIds; in CharacteristicSetUp_DA()
[all …]
/petsc/src/dm/impls/plex/tests/output/
H A Dex36_0.out1 rank 0 c 0 centroid 0.0625,0.5,0.5 vol 0.125
2 rank 0 c 1 centroid 0.1875,0.5,0.5 vol 0.125
3 rank 0 c 2 centroid 0.3125,0.5,0.5 vol 0.125
4 rank 0 c 3 centroid 0.4375,0.5,0.5 vol 0.125
5 rank 1 c 0 centroid 0.4375,0.5,0.5 vol 0.125
6 rank 1 c 1 centroid 0.5625,0.5,0.5 vol 0.125
7 rank 1 c 2 centroid 0.6875,0.5,0.5 vol 0.125
8 rank 1 c 3 centroid 0.3125,0.5,0.5 vol 0.125
9 rank 1 c 4 centroid 0.8125,0.5,0.5 vol 0.125
10 rank 2 c 0 centroid 0.8125,0.5,0.5 vol 0.125
[all …]
/petsc/systems/Apple/iOS/examples/Basic/examples.xcodeproj/
H A Dbarrysmith.pbxuser175 D8084AEB119DC4470089F87B /* maij.c */ = {
178 lastKnownFileType = sourcecode.c.c;
179 name = maij.c;
180 path = "/Users/barrysmith/Src/petsc-dev/arch-uni/xcode-links/maij.c";
195 fRef = D8084AEB119DC4470089F87B /* maij.c */;
196 name = "maij.c: 1";
203 D85D334C119CCACC00C99B9F /* aomapping.c */ = {
206 lastKnownFileType = sourcecode.c.c;
207 name = aomapping.c;
208 path = "/Users/barrysmith/Src/petsc-dev/arch-uni/xcode-links/aomapping.c";
[all …]
/petsc/src/mat/impls/aij/seq/
H A Dfdaij.c10 PetscErrorCode MatFDColoringCreate_SeqXAIJ(Mat mat, ISColoring iscoloring, MatFDColoring c) in MatFDColoringCreate_SeqXAIJ() argument
21 c->brows = m; in MatFDColoringCreate_SeqXAIJ()
22 c->bcols = 1; in MatFDColoringCreate_SeqXAIJ()
42 c->brows = brows; in MatFDColoringCreate_SeqXAIJ()
43 c->bcols = bcols; in MatFDColoringCreate_SeqXAIJ()
46 c->M = mat->rmap->N / bs; /* set total rows, columns and local rows */ in MatFDColoringCreate_SeqXAIJ()
47 c->N = mat->cmap->N / bs; in MatFDColoringCreate_SeqXAIJ()
48 c->m = mat->rmap->N / bs; in MatFDColoringCreate_SeqXAIJ()
49 c->rstart = 0; in MatFDColoringCreate_SeqXAIJ()
50 c->ncolors = nis; in MatFDColoringCreate_SeqXAIJ()
[all …]
/petsc/src/dm/dt/dualspace/impls/refined/
H A Ddualspacerefined.c37 PetscInt cStart, cEnd, c; in PetscDualSpaceRefinedSetCellSpaces_Refined() local
45 for (c = 0; c < cEnd - cStart; c++) { in PetscDualSpaceRefinedSetCellSpaces_Refined()
46 PetscCall(PetscObjectReference((PetscObject)cellSpaces[c])); in PetscDualSpaceRefinedSetCellSpaces_Refined()
47 PetscCall(PetscDualSpaceDestroy(&sp->pointSpaces[c + cStart - pStart])); in PetscDualSpaceRefinedSetCellSpaces_Refined()
48 sp->pointSpaces[c + cStart - pStart] = cellSpaces[c]; in PetscDualSpaceRefinedSetCellSpaces_Refined()
66 PetscInt cStart, cEnd, c, spdim; in PetscDualSpaceSetUp_Refined() local
76 for (c = cStart; c < cEnd; c++) { in PetscDualSpaceSetUp_Refined()
77 if (sp->pointSpaces[c - pStart]) { in PetscDualSpaceSetUp_Refined()
79 …PetscCheck(sp->pointSpaces[c - pStart]->k == sp->k, PetscObjectComm((PetscObject)sp), PETSC_ERR_AR… in PetscDualSpaceSetUp_Refined()
80 …PetscCheck(sp->pointSpaces[c - pStart]->Nc == sp->Nc, PetscObjectComm((PetscObject)sp), PETSC_ERR_… in PetscDualSpaceSetUp_Refined()
[all …]
/petsc/src/dm/impls/plex/tests/
H A Dex1f90.F9011 PetscInt c, firstCell, numCells
27 do c = firstCell, numCells - 1
28 PetscCallA(DMPlexSetConeSize(dm, c, i4, ierr))
36 c = 0
37 write (*, 1000) 'cell EC 0', c, EC
39 PetscCallA(DMPlexSetCone(dm, c, EC, ierr))
40 PetscCallA(DMPlexGetCone(dm, c, pEC, ierr))
41 write (*, 1000) 'cell pEC 0', c, pEC
42 PetscCallA(DMPlexRestoreCone(dm, c, pEC, ierr))
47 c = 1
[all …]

12345678910>>...29