Home
last modified time | relevance | path

Searched refs:info (Results 1 – 25 of 374) sorted by relevance

12345678910>>...15

/petsc/src/ts/tutorials/multirate/
H A Dfinitevolume1d.c40 void Limit_Upwind(LimitInfo info, const PetscScalar *jL, const PetscScalar *jR, PetscScalar *lmt) in Limit_Upwind() argument
43 for (i = 0; i < info->m; i++) lmt[i] = 0; in Limit_Upwind()
45 void Limit_LaxWendroff(LimitInfo info, const PetscScalar *jL, const PetscScalar *jR, PetscScalar *l… in Limit_LaxWendroff() argument
48 for (i = 0; i < info->m; i++) lmt[i] = jR[i]; in Limit_LaxWendroff()
50 void Limit_BeamWarming(LimitInfo info, const PetscScalar *jL, const PetscScalar *jR, PetscScalar *l… in Limit_BeamWarming() argument
53 for (i = 0; i < info->m; i++) lmt[i] = jL[i]; in Limit_BeamWarming()
55 void Limit_Fromm(LimitInfo info, const PetscScalar *jL, const PetscScalar *jR, PetscScalar *lmt) in Limit_Fromm() argument
58 for (i = 0; i < info->m; i++) lmt[i] = 0.5 * (jL[i] + jR[i]); in Limit_Fromm()
60 void Limit_Minmod(LimitInfo info, const PetscScalar *jL, const PetscScalar *jR, PetscScalar *lmt) in Limit_Minmod() argument
63 for (i = 0; i < info->m; i++) lmt[i] = MinMod2(jL[i], jR[i]); in Limit_Minmod()
[all …]
/petsc/src/ts/tutorials/autodiff/adolc-utils/
H A Dmatfree.cxx38 DMDALocalInfo info; in PetscAdolcIJacobianVectorProduct() local
48 PetscCall(DMDAGetLocalInfo(da, &info)); in PetscAdolcIJacobianVectorProduct()
60 for (j = info.gys; j < info.gys + info.gym; j++) { in PetscAdolcIJacobianVectorProduct()
61 for (i = info.gxs; i < info.gxs + info.gxm; i++) { in PetscAdolcIJacobianVectorProduct()
63 …if ((i >= info.xs) && (i < info.xs + info.xm) && (j >= info.ys) && (j < info.ys + info.ym)) PetscC… in PetscAdolcIJacobianVectorProduct()
76 for (j = info.gys; j < info.gys + info.gym; j++) { in PetscAdolcIJacobianVectorProduct()
77 for (i = info.gxs; i < info.gxs + info.gxm; i++) { in PetscAdolcIJacobianVectorProduct()
79 … if ((i >= info.xs) && (i < info.xs + info.xm) && (j >= info.ys) && (j < info.ys + info.ym)) { in PetscAdolcIJacobianVectorProduct()
120 DMDALocalInfo info; in PetscAdolcIJacobianVectorProductIDMass() local
130 PetscCall(DMDAGetLocalInfo(da, &info)); in PetscAdolcIJacobianVectorProductIDMass()
[all …]
/petsc/src/snes/tutorials/
H A Dex9.c74 DMDALocalInfo info; in main() local
105 PetscCall(DMDAGetLocalInfo(da_after, &info)); in main()
107 PetscCall(FormExactSolution(&info, u_exact)); in main()
110 error1 /= (PetscReal)info.mx * (PetscReal)info.my; /* average error */ in main()
112 …tscInt_FMT " grid: av |u-uexact| = %.3e, |u-uexact|_inf = %.3e\n", info.mx, info.my, (double)er… in main()
120 PetscErrorCode FormExactSolution(DMDALocalInfo *info, Vec u) in FormExactSolution() argument
126 dx = 4.0 / (PetscReal)(info->mx - 1); in FormExactSolution()
127 dy = 4.0 / (PetscReal)(info->my - 1); in FormExactSolution()
128 PetscCall(DMDAVecGetArray(info->da, u, &au)); in FormExactSolution()
129 for (j = info->ys; j < info->ys + info->ym; j++) { in FormExactSolution()
[all …]
H A Dex55k.kokkos.cxx38 PetscErrorCode FormFunctionLocalVec(DMDALocalInfo *info, Vec x, Vec f, AppCtx *user) in FormFunctionLocalVec() argument
41 …PetscInt xs = info->xs, ys = info->ys, xm = info->xm, ym = info->ym, mx = info->mx, my = info->my; in FormFunctionLocalVec()
50 hx = 1.0 / (PetscReal)(info->mx - 1); in FormFunctionLocalVec()
51 hy = 1.0 / (PetscReal)(info->my - 1); in FormFunctionLocalVec()
57 PetscCall(DMDAVecGetKokkosOffsetView(info->da, x, &xv)); in FormFunctionLocalVec()
58 PetscCall(DMDAVecGetKokkosOffsetViewWrite(info->da, f, &fv)); in FormFunctionLocalVec()
109 PetscCall(DMDAVecRestoreKokkosOffsetView(info->da, x, &xv)); in FormFunctionLocalVec()
110 PetscCall(DMDAVecRestoreKokkosOffsetViewWrite(info->da, f, &fv)); in FormFunctionLocalVec()
112 PetscCall(PetscLogFlops(11.0 * info->ym * info->xm)); in FormFunctionLocalVec()
116 PetscErrorCode FormObjectiveLocalVec(DMDALocalInfo *info, Vec x, PetscReal *obj, AppCtx *user) in FormObjectiveLocalVec() argument
[all …]
H A Dex46.c119 PetscErrorCode FormFunctionLocal(DMDALocalInfo *info, PetscScalar **x, PetscScalar **f, AppCtx *use… in FormFunctionLocal() argument
131 hx = 1.0 / (PetscReal)(info->mx - 1); in FormFunctionLocal()
132 hy = 1.0 / (PetscReal)(info->my - 1); in FormFunctionLocal()
138 PetscCall(DMGetCoordinateDM(info->da, &coordDA)); in FormFunctionLocal()
139 PetscCall(DMGetCoordinates(info->da, &coordinates)); in FormFunctionLocal()
141 for (j = info->ys; j < info->ys + info->ym; j++) { in FormFunctionLocal()
142 for (i = info->xs; i < info->xs + info->xm; i++) { in FormFunctionLocal()
143 if (i == 0 || j == 0 || i == info->mx - 1 || j == info->my - 1) f[j][i] = x[j][i]; in FormFunctionLocal()
156 PetscCall(PetscLogFlops(11.0 * info->ym * info->xm)); in FormFunctionLocal()
163 PetscErrorCode FormJacobianLocal(DMDALocalInfo *info, PetscScalar **x, Mat jac, AppCtx *user) in FormJacobianLocal() argument
[all …]
H A Dex19.c233 PetscErrorCode FormFunctionLocal(DMDALocalInfo *info, Field **x, Field **f, void *ptr) in FormFunctionLocal() argument
253 dhx = (PetscReal)(info->mx - 1); in FormFunctionLocal()
254 dhy = (PetscReal)(info->my - 1); in FormFunctionLocal()
260 xints = info->xs; in FormFunctionLocal()
261 xinte = info->xs + info->xm; in FormFunctionLocal()
262 yints = info->ys; in FormFunctionLocal()
263 yinte = info->ys + info->ym; in FormFunctionLocal()
270 for (i = info->xs; i < info->xs + info->xm; i++) { in FormFunctionLocal()
279 if (yinte == info->my) { in FormFunctionLocal()
280 j = info->my - 1; in FormFunctionLocal()
[all …]
/petsc/src/snes/utils/ftn-custom/
H A Dzdmdasnesf.c22 static PetscErrorCode sourlj1d(DMDALocalInfo *info, PetscScalar *in, Mat A, Mat m, void *ptr) in sourlj1d() argument
28 PetscCall(DMGetDMSNES(info->da, &sdm)); in sourlj1d()
30 PetscCallFortranVoidFunction((*func)(info, &in[info->dof * info->gxs], &A, &m, ctx, &ierr)); in sourlj1d()
34 static PetscErrorCode sourlj2d(DMDALocalInfo *info, PetscScalar **in, Mat A, Mat m, void *ptr) in sourlj2d() argument
40 PetscCall(DMGetDMSNES(info->da, &sdm)); in sourlj2d()
42 …PetscCallFortranVoidFunction((*func)(info, &in[info->gys][info->dof * info->gxs], &A, &m, ctx, &ie… in sourlj2d()
46 static PetscErrorCode sourlj3d(DMDALocalInfo *info, PetscScalar ***in, Mat A, Mat m, void *ptr) in sourlj3d() argument
52 PetscCall(DMGetDMSNES(info->da, &sdm)); in sourlj3d()
54 …PetscCallFortranVoidFunction((*func)(info, &in[info->gzs][info->gys][info->dof * info->gxs], &A, &… in sourlj3d()
84 static PetscErrorCode sourlf1d(DMDALocalInfo *info, PetscScalar *in, PetscScalar *out, void *ptr) in sourlf1d() argument
[all …]
/petsc/src/mat/tutorials/output/
H A Dex7_1.out2 [0] <mat> main(): Mat info on PETSC_COMM_WORLD with no arguments
3 [0] <mat> main(): Mat info on PETSC_COMM_WORLD with 1 argument equal to 1234: 1234
4 [0] <vec> main(): Vec info on PETSC_COMM_WORLD with no arguments
5 [0] <vec> main(): Vec info on PETSC_COMM_WORLD with 1 argument equal to 1234: 1234
6 [0] <sys> main(): Sys info on PETSC_COMM_WORLD with no arguments
7 [0] <sys> main(): Sys info on PETSC_COMM_WORLD with 1 argument equal to 1234: 1234
8 [0] <mat> main(): Mat info on PETSC_COMM_SELF with no arguments
9 [0] <mat> main(): Mat info on PETSC_COMM_SELF with 1 argument equal to 1234: 1234
10 [0] <vec> main(): Vec info on PETSC_COMM_SELF with no arguments
11 [0] <vec> main(): Vec info on PETSC_COMM_SELF with 1 argument equal to 1234: 1234
[all …]
H A Dex7_3.out4 [0] <(null)> main(): Mat info is enabled again through PetscInfoActivateClass
5 [0] <(null)> main(): Sys info is enabled again through PetscInfoActivateClass
6 [0] <(null)> main(): Vec info is enabled again through PetscInfoActivateClass
7 [0] <Mat> main(): Mat info is enabled again through PetscInfoSetClasses
8 [0] <Mat> main(): Mat info is enabled again through inverted PetscInfoSetClasses
9 [0] <Vec> main(): Vec info is enabled again through PetscInfoSetClasses
10 [0] <mat> main(): Mat info is enabled
11 [0] <mat> main(): Mat info on PETSC_COMM_SELF with 1 argument equal to 1234: 1234
12 [0] <mat> main(): Mat info on PETSC_COMM_SELF with no arguments
13 [0] <mat> main(): Mat info on PETSC_COMM_WORLD with 1 argument equal to 1234: 1234
[all …]
H A Dex7_2.out3 [0] <mat> main(): Mat info on PETSC_COMM_WORLD with no arguments
4 [0] <mat> main(): Mat info on PETSC_COMM_WORLD with 1 argument equal to 1234: 1234
5 [0] <vec> main(): Vec info on PETSC_COMM_WORLD with no arguments
6 [0] <vec> main(): Vec info on PETSC_COMM_WORLD with 1 argument equal to 1234: 1234
7 [0] <sys> main(): Sys info on PETSC_COMM_WORLD with no arguments
8 [0] <sys> main(): Sys info on PETSC_COMM_WORLD with 1 argument equal to 1234: 1234
9 [0] <mat> main(): Mat info on PETSC_COMM_SELF with no arguments
10 [0] <mat> main(): Mat info on PETSC_COMM_SELF with 1 argument equal to 1234: 1234
11 [0] <vec> main(): Vec info on PETSC_COMM_SELF with no arguments
12 [0] <vec> main(): Vec info on PETSC_COMM_SELF with 1 argument equal to 1234: 1234
[all …]
H A Dex7_4.out1 [0] <mat> main(): Mat info on PETSC_COMM_WORLD with no arguments
2 [0] <mat> main(): Mat info on PETSC_COMM_WORLD with 1 argument equal to 1234: 1234
3 [0] <vec> main(): Vec info on PETSC_COMM_WORLD with no arguments
4 [0] <vec> main(): Vec info on PETSC_COMM_WORLD with 1 argument equal to 1234: 1234
5 [0] <mat> main(): Mat info on PETSC_COMM_SELF with no arguments
6 [0] <mat> main(): Mat info on PETSC_COMM_SELF with 1 argument equal to 1234: 1234
7 [0] <vec> main(): Vec info on PETSC_COMM_SELF with no arguments
8 [0] <vec> main(): Vec info on PETSC_COMM_SELF with 1 argument equal to 1234: 1234
9 [0] <mat> main(): Mat info is enabled
10 [0] <vec> main(): Vec info is enabled
[all …]
H A Dex7_5.out1 [0] <mat> main(): Mat info on PETSC_COMM_WORLD with no arguments
2 [0] <mat> main(): Mat info on PETSC_COMM_WORLD with 1 argument equal to 1234: 1234
3 [0] <vec> main(): Vec info on PETSC_COMM_WORLD with no arguments
4 [0] <vec> main(): Vec info on PETSC_COMM_WORLD with 1 argument equal to 1234: 1234
5 [0] <mat> main(): Mat info on PETSC_COMM_SELF with no arguments
6 [0] <mat> main(): Mat info on PETSC_COMM_SELF with 1 argument equal to 1234: 1234
7 [0] <vec> main(): Vec info on PETSC_COMM_SELF with no arguments
8 [0] <vec> main(): Vec info on PETSC_COMM_SELF with 1 argument equal to 1234: 1234
9 [0] <mat> main(): Mat info is enabled
10 [0] <vec> main(): Vec info is enabled
[all …]
/petsc/src/ksp/pc/impls/factor/
H A Dfactimpl.c20 ilu->info.zeropivot = z; in PCFactorSetZeroPivot_Factor()
29 …if (shifttype == (MatFactorShiftType)PETSC_DECIDE) dir->info.shifttype = (PetscReal)MAT_SHIFT_NONE; in PCFactorSetShiftType_Factor()
31 dir->info.shifttype = (PetscReal)shifttype; in PCFactorSetShiftType_Factor()
32 …_SHIFT_NONZERO || shifttype == MAT_SHIFT_INBLOCKS) && dir->info.shiftamount == 0.0) dir->info.shif… in PCFactorSetShiftType_Factor()
42 if (shiftamount == (PetscReal)PETSC_DECIDE) dir->info.shiftamount = 100.0 * PETSC_MACHINE_EPSILON; in PCFactorSetShiftAmount_Factor()
43 else dir->info.shiftamount = shiftamount; in PCFactorSetShiftAmount_Factor()
52 …PetscCheck(pc->setupcalled && (!ilu->info.usedt || ilu->info.dt != dt || ilu->info.dtcol != dtcol … in PCFactorSetDropTolerance_Factor()
53 ilu->info.usedt = PETSC_TRUE; in PCFactorSetDropTolerance_Factor()
54 ilu->info.dt = dt; in PCFactorSetDropTolerance_Factor()
55 ilu->info.dtcol = dtcol; in PCFactorSetDropTolerance_Factor()
[all …]
/petsc/src/dm/tests/
H A Dex47.c18 DMDALocalInfo info; in test_3d() local
27 PetscCall(DMDAGetLocalInfo(da, &info)); in test_3d()
30 for (k = info.zs; k < info.zs + info.zm; k++) { in test_3d()
31 for (j = info.ys; j < info.ys + info.ym; j++) { in test_3d()
32 for (i = info.xs; i < info.xs + info.xm; i++) { in test_3d()
61 DMDALocalInfo info; in test_2d() local
69 PetscCall(DMDAGetLocalInfo(da, &info)); in test_2d()
72 for (j = info.ys; j < info.ys + info.ym; j++) { in test_2d()
73 for (i = info.xs; i < info.xs + info.xm; i++) { in test_2d()
100 DMDALocalInfo info; in test_2d_nocoord() local
[all …]
H A Dex42.c20 DMDALocalInfo info; in test_3d() local
29 PetscCall(DMDAGetLocalInfo(da, &info)); in test_3d()
32 for (k = info.zs; k < info.zs + info.zm; k++) { in test_3d()
33 for (j = info.ys; j < info.ys + info.ym; j++) { in test_3d()
34 for (i = info.xs; i < info.xs + info.xm; i++) { in test_3d()
63 DMDALocalInfo info; in test_2d() local
71 PetscCall(DMDAGetLocalInfo(da, &info)); in test_2d()
74 for (j = info.ys; j < info.ys + info.ym; j++) { in test_2d()
75 for (i = info.xs; i < info.xs + info.xm; i++) { in test_2d()
102 DMDALocalInfo info; in test_2d_nocoord() local
[all …]
H A Dex48.c32 DMDALocalInfo info; in test_3d() local
42 PetscCall(DMDAGetLocalInfo(da, &info)); in test_3d()
45 for (k = info.zs; k < info.zs + info.zm; k++) { in test_3d()
46 for (j = info.ys; j < info.ys + info.ym; j++) { in test_3d()
47 for (i = info.xs; i < info.xs + info.xm; i++) { in test_3d()
75 DMDALocalInfo info; in test_2d() local
84 PetscCall(DMDAGetLocalInfo(da, &info)); in test_2d()
87 for (j = info.ys; j < info.ys + info.ym; j++) { in test_2d()
88 for (i = info.xs; i < info.xs + info.xm; i++) { in test_2d()
114 DMDALocalInfo info; in test_3d_compat() local
[all …]
H A Dnoflux_check.c7 PetscErrorCode globalKMat_3d(Mat K, DMDALocalInfo info) in globalKMat_3d() argument
14 for (PetscInt i = info.xs; i < info.xs + info.xm; i++) { in globalKMat_3d()
15 for (PetscInt j = info.ys; j < info.ys + info.ym; j++) { in globalKMat_3d()
16 for (PetscInt k = info.zs; k < info.zs + info.zm; k++) { in globalKMat_3d()
66 PetscErrorCode globalKMat_2d(Mat K, DMDALocalInfo info) in globalKMat_2d() argument
73 for (PetscInt i = info.xs; i < info.xs + info.xm; i++) { in globalKMat_2d()
74 for (PetscInt j = info.ys; j < info.ys + info.ym; j++) { in globalKMat_2d()
/petsc/src/dm/tutorials/
H A Dex14.c16 DMDALocalInfo info; in FillLocalSubdomain() local
22 PetscCall(DMDAGetLocalInfo(da, &info)); in FillLocalSubdomain()
24 if (info.dim == 3) { in FillLocalSubdomain()
28 for (k = info.zs; k < info.zs + info.zm; k++) { in FillLocalSubdomain()
29 for (j = info.ys; j < info.ys + info.ym; j++) { in FillLocalSubdomain()
30 for (i = info.xs; i < info.xs + info.xm; i++) { in FillLocalSubdomain()
31 g[k][j][info.dof * i + 0] = i; in FillLocalSubdomain()
32 g[k][j][info.dof * i + 1] = j; in FillLocalSubdomain()
33 g[k][j][info.dof * i + 2] = k; in FillLocalSubdomain()
39 if (info.dim == 2) { in FillLocalSubdomain()
[all …]
H A Dex2.c55 DMDALocalInfo info; in main() local
59 PetscCall(DMDAGetLocalInfo(da, &info)); in main()
61 for (j = info.ys; j < info.ys + info.ym; j++) { in main()
62 for (i = info.xs; i < info.xs + info.xm; i++) { in main()
88 DMDALocalInfo info; in main() local
92 PetscCall(DMDAGetLocalInfo(da, &info)); in main()
95 for (j = info.ys; j < info.ys + info.ym; j++) { in main()
96 for (i = info.xs; i < info.xs + info.xm; i++) { in main()
/petsc/src/dm/impls/da/
H A Ddaview.c157 PetscErrorCode DMDAGetLocalInfo(DM da, DMDALocalInfo *info) in DMDAGetLocalInfo() argument
164 PetscAssertPointer(info, 2); in DMDAGetLocalInfo()
165 info->da = da; in DMDAGetLocalInfo()
166 info->dim = da->dim; in DMDAGetLocalInfo()
167 if (dd->Mo < 0) info->mx = dd->M; in DMDAGetLocalInfo()
168 else info->mx = dd->Mo; in DMDAGetLocalInfo()
169 if (dd->No < 0) info->my = dd->N; in DMDAGetLocalInfo()
170 else info->my = dd->No; in DMDAGetLocalInfo()
171 if (dd->Po < 0) info->mz = dd->P; in DMDAGetLocalInfo()
172 else info->mz = dd->Po; in DMDAGetLocalInfo()
[all …]
H A Ddadd.c269 DMDALocalInfo info; in DMDASubDomainDA_Private() local
280 PetscCall(DMDAGetLocalInfo(dm, &info)); in DMDASubDomainDA_Private()
287 dim = info.dim; in DMDASubDomainDA_Private()
289 M = info.xm; in DMDASubDomainDA_Private()
290 N = info.ym; in DMDASubDomainDA_Private()
291 P = info.zm; in DMDASubDomainDA_Private()
325 zs = info.zs; in DMDASubDomainDA_Private()
328 ys = info.ys; in DMDASubDomainDA_Private()
330 xs = info.xs; in DMDASubDomainDA_Private()
352 PetscCall(DMSetDimension(da[idx], info.dim)); in DMDASubDomainDA_Private()
[all …]
/petsc/src/ts/tests/
H A Dex21.c34 static PetscErrorCode FormIFunctionLocal(DMDALocalInfo *info, PetscReal t, PetscScalar **x, PetscSc… in FormIFunctionLocal() argument
42 hx = 1.0 / (PetscReal)(info->mx - 1); in FormIFunctionLocal()
43 hy = 1.0 / (PetscReal)(info->my - 1); in FormIFunctionLocal()
48 for (j = info->ys; j < info->ys + info->ym; j++) { in FormIFunctionLocal()
49 for (i = info->xs; i < info->xs + info->xm; i++) { in FormIFunctionLocal()
50 if (i == 0 || j == 0 || i == info->mx - 1 || j == info->my - 1) { in FormIFunctionLocal()
74 static PetscErrorCode FormIJacobianLocal(DMDALocalInfo *info, PetscReal t, PetscScalar **x, PetscSc… in FormIJacobianLocal() argument
82 hx = 1.0 / (PetscReal)(info->mx - 1); in FormIJacobianLocal()
83 hy = 1.0 / (PetscReal)(info->my - 1); in FormIJacobianLocal()
88 for (j = info->ys; j < info->ys + info->ym; j++) { in FormIJacobianLocal()
[all …]
/petsc/src/ksp/pc/impls/factor/ilu/
H A Dilu.c33 …upcalled || !(((PC_Factor *)ilu)->info.dt != dt || ((PC_Factor *)ilu)->info.dtcol != dtcol || ((PC… in PCFactorSetDropTolerance_ILU()
34 ((PC_Factor *)ilu)->info.dt = dt; in PCFactorSetDropTolerance_ILU()
35 ((PC_Factor *)ilu)->info.dtcol = dtcol; in PCFactorSetDropTolerance_ILU()
36 ((PC_Factor *)ilu)->info.dtcount = dtcount; in PCFactorSetDropTolerance_ILU()
37 ((PC_Factor *)ilu)->info.usedt = 1.0; in PCFactorSetDropTolerance_ILU()
52 …ls", "levels of fill", "PCFactorSetLevels", (PetscInt)((PC_Factor *)ilu)->info.levels, &itmp, &flg… in PCSetFromOptions_ILU()
53 if (flg) ((PC_Factor *)ilu)->info.levels = itmp; in PCSetFromOptions_ILU()
55 …mpty diagonal entry", "PCFactorSetAllowDiagonalFill", ((PC_Factor *)ilu)->info.diagonal_fill ? PET… in PCSetFromOptions_ILU()
56 if (set) ((PC_Factor *)ilu)->info.diagonal_fill = (PetscReal)flg; in PCSetFromOptions_ILU()
71 MatInfo info; in PCSetUp_ILU() local
[all …]
/petsc/src/ksp/pc/impls/tfs/
H A Dxyt.c48 xyt_info *info; member
72 xyt_handle->info = NULL; in XYT_new()
93 xyt_handle->info = (xyt_info *)malloc(sizeof(xyt_info)); in XYT_factor()
128 free(xyt_handle->info->nsep); in XYT_free()
129 free(xyt_handle->info->lnsep); in XYT_free()
130 free(xyt_handle->info->fo); in XYT_free()
131 free(xyt_handle->info->stages); in XYT_free()
132 free(xyt_handle->info->solve_uu); in XYT_free()
133 free(xyt_handle->info->solve_w); in XYT_free()
134 free(xyt_handle->info->x); in XYT_free()
[all …]
/petsc/src/binding/petsc4py/test/
H A Dtest_lgmap.py36 info = self.lgmap.getInfo()
37 self.assertEqual(type(info), dict)
39 self.assertTrue(len(info) == 1)
41 self.assertTrue(len(info) > 1)
42 self.assertTrue(len(info) < 4)
134 info = self.lgmap.getBlockInfo()
135 self.assertEqual(type(info), dict)
137 self.assertTrue(len(info) == 1)
139 self.assertTrue(len(info) > 1)
140 self.assertTrue(len(info) < 4)
[all …]

12345678910>>...15