Home
last modified time | relevance | path

Searched refs:namelist (Results 1 – 13 of 13) sorted by relevance

/petsc/src/ts/impls/symplectic/basicsymplectic/
H A Dbasicsymplectic.c333 const char **namelist; in TSSetFromOptions_BasicSymplectic() local
336 PetscCall(PetscMalloc1(count, (char ***)&namelist)); in TSSetFromOptions_BasicSymplectic()
337 …for (link = BasicSymplecticSchemeList, count = 0; link; link = link->next, count++) namelist[count… in TSSetFromOptions_BasicSymplectic()
338 …c integration method", "TSBasicSymplecticSetType", (const char *const *)namelist, count, bsymp->sc… in TSSetFromOptions_BasicSymplectic()
339 if (flg) PetscCall(TSBasicSymplecticSetType(ts, namelist[choice])); in TSSetFromOptions_BasicSymplectic()
340 PetscCall(PetscFree(namelist)); in TSSetFromOptions_BasicSymplectic()
/petsc/src/snes/impls/ms/
H A Dms.c407 const char **namelist; in SNESSetFromOptions_MS() local
414 PetscCall(PetscMalloc1(count, (char ***)&namelist)); in SNESSetFromOptions_MS()
415 …for (link = SNESMSTableauList, count = 0; link; link = link->next, count++) namelist[count] = link… in SNESSetFromOptions_MS()
416 …ype", "Multistage smoother type", "SNESMSSetType", (const char *const *)namelist, count, mstype, &… in SNESSetFromOptions_MS()
417 if (flg) PetscCall(SNESMSSetType(snes, namelist[choice])); in SNESSetFromOptions_MS()
418 PetscCall(PetscFree(namelist)); in SNESSetFromOptions_MS()
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscdmshell.pxi330 char ***namelist,
353 if namelist != NULL and names is not None:
354 CHKERR(PetscMalloc(len(names)*sizeof(char**), namelist))
357 CHKERR(PetscStrallocpy(cname, &namelist[0][i]))
375 char ***namelist,
401 if namelist != NULL and names is not None:
402 CHKERR(PetscMalloc(len(names)*sizeof(char**), namelist))
405 CHKERR(PetscStrallocpy(cname, &namelist[0][i]))
/petsc/src/dm/impls/stag/
H A Dstag.c10 static PetscErrorCode DMCreateFieldDecomposition_Stag(DM dm, PetscInt *len, char ***namelist, IS **… in DMCreateFieldDecomposition_Stag() argument
179 if (namelist) { in DMCreateFieldDecomposition_Stag()
180 PetscCall(PetscMalloc1(n_fields, namelist)); in DMCreateFieldDecomposition_Stag()
184 PetscCall(PetscStrallocpy("vertex", &(*namelist)[cnt])); in DMCreateFieldDecomposition_Stag()
188 PetscCall(PetscStrallocpy("element", &(*namelist)[cnt])); in DMCreateFieldDecomposition_Stag()
193 PetscCall(PetscStrallocpy("vertex", &(*namelist)[cnt])); in DMCreateFieldDecomposition_Stag()
197 PetscCall(PetscStrallocpy("face", &(*namelist)[cnt])); in DMCreateFieldDecomposition_Stag()
201 PetscCall(PetscStrallocpy("element", &(*namelist)[cnt])); in DMCreateFieldDecomposition_Stag()
206 PetscCall(PetscStrallocpy("vertex", &(*namelist)[cnt])); in DMCreateFieldDecomposition_Stag()
210 PetscCall(PetscStrallocpy("edge", &(*namelist)[cnt])); in DMCreateFieldDecomposition_Stag()
[all …]
/petsc/src/dm/impls/da/
H A Ddacreate.c207 static PetscErrorCode DMCreateFieldDecomposition_DA(DM dm, PetscInt *len, char ***namelist, IS **is… in DMCreateFieldDecomposition_DA() argument
226 if (namelist) { in DMCreateFieldDecomposition_DA()
227 PetscCall(PetscMalloc1(dof, namelist)); in DMCreateFieldDecomposition_DA()
229 for (i = 0; i < dof; i++) PetscCall(PetscStrallocpy(dd->fieldname[i], &(*namelist)[i])); in DMCreateFieldDecomposition_DA()
/petsc/src/ts/impls/glee/
H A Dglee.c788 const char **namelist; in TSSetFromOptions_GLEE() local
792 PetscCall(PetscMalloc1(count, (char ***)&namelist)); in TSSetFromOptions_GLEE()
793 …for (link = GLEETableauList, count = 0; link; link = link->next, count++) namelist[count] = link->… in TSSetFromOptions_GLEE()
794 …e_type", "Family of GLEE method", "TSGLEESetType", (const char *const *)namelist, count, gleetype,… in TSSetFromOptions_GLEE()
795 PetscCall(TSGLEESetType(ts, flg ? namelist[choice] : gleetype)); in TSSetFromOptions_GLEE()
796 PetscCall(PetscFree(namelist)); in TSSetFromOptions_GLEE()
/petsc/src/ts/impls/rosw/
H A Drosw.c1525 const char **namelist; in TSSetFromOptions_RosW() local
1528 PetscCall(PetscMalloc1(count, (char ***)&namelist)); in TSSetFromOptions_RosW()
1529 …for (link = RosWTableauList, count = 0; link; link = link->next, count++) namelist[count] = link->… in TSSetFromOptions_RosW()
1530 … "Family of Rosenbrock-W method", "TSRosWSetType", (const char *const *)namelist, count, ros->tabl… in TSSetFromOptions_RosW()
1531 if (flg) PetscCall(TSRosWSetType(ts, namelist[choice])); in TSSetFromOptions_RosW()
1532 PetscCall(PetscFree(namelist)); in TSSetFromOptions_RosW()
/petsc/src/ts/impls/multirate/
H A Dmprk.c1067 const char **namelist; in TSSetFromOptions_MPRK() local
1069 PetscCall(PetscMalloc1(count, (char ***)&namelist)); in TSSetFromOptions_MPRK()
1070 …for (link = MPRKTableauList, count = 0; link; link = link->next, count++) namelist[count] = link->… in TSSetFromOptions_MPRK()
1071 …k_type", "Family of MPRK method", "TSMPRKSetType", (const char *const *)namelist, count, mprk->tab… in TSSetFromOptions_MPRK()
1072 if (flg) PetscCall(TSMPRKSetType(ts, namelist[choice])); in TSSetFromOptions_MPRK()
1073 PetscCall(PetscFree(namelist)); in TSSetFromOptions_MPRK()
/petsc/src/ts/impls/explicit/rk/
H A Drk.c1177 const char **namelist; in TSSetFromOptions_RK() local
1180 PetscCall(PetscMalloc1(count, (char ***)&namelist)); in TSSetFromOptions_RK()
1181 …for (link = RKTableauList, count = 0; link; link = link->next, count++) namelist[count] = link->ta… in TSSetFromOptions_RK()
1184 …ts_rk_type", "Family of RK method", "TSRKSetType", (const char *const *)namelist, count, rk->table… in TSSetFromOptions_RK()
1185 if (flg) PetscCall(TSRKSetType(ts, namelist[choice])); in TSSetFromOptions_RK()
1186 PetscCall(PetscFree(namelist)); in TSSetFromOptions_RK()
/petsc/src/ts/impls/arkimex/
H A Darkimex.c2077 const char **namelist; in TSSetFromOptions_ARKIMEX() local
2082 PetscCall(PetscMalloc1(count, (char ***)&namelist)); in TSSetFromOptions_ARKIMEX()
2084 if (!dirk && link->tab.additive) namelist[count++] = link->tab.name; in TSSetFromOptions_ARKIMEX()
2085 if (dirk && !link->tab.additive) namelist[count++] = link->tab.name; in TSSetFromOptions_ARKIMEX()
2088 …k_type", "Family of DIRK method", "TSDIRKSetType", (const char *const *)namelist, count, ark->tabl… in TSSetFromOptions_ARKIMEX()
2089 if (flg) PetscCall(TSDIRKSetType(ts, namelist[choice])); in TSSetFromOptions_ARKIMEX()
2092 …, "Family of ARK IMEX method", "TSARKIMEXSetType", (const char *const *)namelist, count, ark->tabl… in TSSetFromOptions_ARKIMEX()
2093 if (flg) PetscCall(TSARKIMEXSetType(ts, namelist[choice])); in TSSetFromOptions_ARKIMEX()
2107 PetscCall(PetscFree(namelist)); in TSSetFromOptions_ARKIMEX()
/petsc/src/dm/interface/
H A Ddm.c2092 PetscErrorCode DMCreateFieldDecomposition(DM dm, PetscInt *len, char ***namelist, IS *islist[], DM … in DMCreateFieldDecomposition() argument
2100 if (namelist) { in DMCreateFieldDecomposition()
2101 PetscAssertPointer(namelist, 3); in DMCreateFieldDecomposition()
2102 *namelist = NULL; in DMCreateFieldDecomposition()
2126 if (namelist) PetscCall(PetscMalloc1(numFields, namelist)); in DMCreateFieldDecomposition()
2133 if (namelist) { in DMCreateFieldDecomposition()
2135 PetscCall(PetscStrallocpy(fieldName, &(*namelist)[f])); in DMCreateFieldDecomposition()
2139 PetscCall(DMCreateFieldIS(dm, len, namelist, islist)); in DMCreateFieldDecomposition()
2143 } else PetscUseTypeMethod(dm, createfielddecomposition, len, namelist, islist, dmlist); in DMCreateFieldDecomposition()
2255 PetscErrorCode DMCreateDomainDecomposition(DM dm, PetscInt *n, char ***namelist, IS *innerislist[],… in DMCreateDomainDecomposition() argument
[all …]
/petsc/src/dm/impls/composite/
H A Dpack.c1111 static PetscErrorCode DMCreateFieldDecomposition_Composite(DM dm, PetscInt *len, char ***namelist, … in DMCreateFieldDecomposition_Composite() argument
1117 PetscCall(DMCreateFieldIS_Composite(dm, len, namelist, islist)); in DMCreateFieldDecomposition_Composite()
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas8616 (export/fsi-elemset-namelist ())
8617 (export/fsi-nodeset-namelist ())