Home
last modified time | relevance | path

Searched refs:Mc (Results 1 – 6 of 6) sorted by relevance

/petsc/src/dm/impls/stag/
H A Dstagmulti.c450 PetscInt Mc, Mf, factorx, dof[2]; in DMStagPopulateInterpolation1d_Internal() local
458 PetscCall(DMStagGetGlobalSizes(dmc, &Mc, NULL, NULL)); in DMStagPopulateInterpolation1d_Internal()
460 factorx = Mf / Mc; in DMStagPopulateInterpolation1d_Internal()
509 PetscInt Mc, Nc, Mf, Nf, factorx, factory, dof[3]; in DMStagPopulateInterpolation2d_Internal() local
517 PetscCall(DMStagGetGlobalSizes(dmc, &Mc, &Nc, NULL)); in DMStagPopulateInterpolation2d_Internal()
519 factorx = Mf / Mc; in DMStagPopulateInterpolation2d_Internal()
616 …else if (i / factorx == Mc - 1 && !belowHalfx) PetscCall(MergeInterpolationWeightToLeft2d_Private(… in DMStagPopulateInterpolation2d_Internal()
646 PetscInt Mc, Nc, Pc, Mf, Nf, Pf, factorx, factory, factorz, dof[4]; in DMStagPopulateInterpolation3d_Internal() local
654 PetscCall(DMStagGetGlobalSizes(dmc, &Mc, &Nc, &Pc)); in DMStagPopulateInterpolation3d_Internal()
656 factorx = Mf / Mc; in DMStagPopulateInterpolation3d_Internal()
[all …]
H A Dstag1d.c53 PetscInt Mf, Mc, factorx, dof[2]; in DMStagRestrictSimple_1d() local
61 PetscCall(DMStagGetGlobalSizes(dmc, &Mc, NULL, NULL)); in DMStagRestrictSimple_1d()
62 factorx = Mf / Mc; in DMStagRestrictSimple_1d()
H A Dstag2d.c59 PetscInt Mf, Nf, Mc, Nc, factorx, factory, dof[3]; in DMStagRestrictSimple_2d() local
67 PetscCall(DMStagGetGlobalSizes(dmc, &Mc, &Nc, NULL)); in DMStagRestrictSimple_2d()
68 factorx = Mf / Mc; in DMStagRestrictSimple_2d()
H A Dstag3d.c66 PetscInt Mf, Nf, Pf, Mc, Nc, Pc, factorx, factory, factorz, dof[4]; in DMStagRestrictSimple_3d() local
75 PetscCall(DMStagGetGlobalSizes(dmc, &Mc, &Nc, &Pc)); in DMStagRestrictSimple_3d()
76 factorx = Mf / Mc; in DMStagRestrictSimple_3d()
/petsc/src/dm/impls/da/
H A Ddainterp.c1009 PetscInt dimc, Mc, Nc, Pc, mc, nc, pc, dofc, sc, dimf, Mf, Nf, Pf, mf, nf, pf, doff, sf; in DMCreateInterpolation_DA() local
1020 …PetscCall(DMDAGetInfo(dac, &dimc, &Mc, &Nc, &Pc, &mc, &nc, &pc, &dofc, &sc, &bxc, &byc, &bzc, &stc… in DMCreateInterpolation_DA()
1027 …PetscCheck(Mc >= 2 || Mf <= 1, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Coarse grid requires at… in DMCreateInterpolation_DA()
1266 PetscInt dimc, Mc, Nc, Pc, mc, nc, pc, dofc, sc, dimf, Mf, Nf, Pf, mf, nf, pf, doff, sf; in DMCreateInjection_DA() local
1276 …PetscCall(DMDAGetInfo(dac, &dimc, &Mc, &Nc, &Pc, &mc, &nc, &pc, &dofc, &sc, &bxc, &byc, &bzc, &stc… in DMCreateInjection_DA()
1283 …PetscCheck(Mc >= 2, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Coarse grid requires at least 2 po… in DMCreateInjection_DA()
1334 PetscInt dimc, Mc, Nc, Pc, mc, nc, pc, dofc, sc; in DMDACreateAggregates() local
1359 …PetscCall(DMDAGetInfo(dac, &dimc, &Mc, &Nc, &Pc, &mc, &nc, &pc, &dofc, &sc, &bxc, &byc, &bzc, &stc… in DMDACreateAggregates()
1367 …eck(Mf >= Mc, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "Coarse grid has more points than fine grid, … in DMDACreateAggregates()
1396 max_agg_size = (Mf / Mc + 1) * (Nf / Nc + 1) * (Pf / Pc + 1); in DMDACreateAggregates()
[all …]
/petsc/doc/
H A Dpetsc.bib13832 author = {Lois Curfman Mc{I}nnes and Mario Palumbo},