Home
last modified time | relevance | path

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

12345678910>>...15

/petsc/src/dm/interface/
H A Ddmi.c78 …vate(PetscSection s, PetscSection gs, PetscInt numFields, const PetscInt fields[], const PetscInt … in PetscSectionSelectFields_Private() argument
104 PetscCall(PetscSectionGetFieldComponents(s, fields[f], &Nc)); in PetscSectionSelectFields_Private()
121 PetscCall(PetscSectionGetFieldDof(s, point, fields[f], &fdof)); in PetscSectionSelectFields_Private()
122 PetscCall(PetscSectionGetFieldConstraintDof(s, point, fields[f], &fcdof)); in PetscSectionSelectFields_Private()
129 PetscCall(PetscSectionGetFieldConstraintIndices(s, point, fields[f], &ind)); in PetscSectionSelectFields_Private()
179 for (PetscInt f2 = 0; f2 < fields[f]; ++f2) { in PetscSectionSelectFields_Private()
184 PetscCall(PetscSectionGetFieldDof(s, point, fields[f], &fdof)); in PetscSectionSelectFields_Private()
185 PetscCall(PetscSectionGetFieldConstraintDof(s, point, fields[f], &fcdof)); in PetscSectionSelectFields_Private()
191 PetscCall(PetscSectionGetFieldConstraintIndices(s, point, fields[f], &ind)); in PetscSectionSelectFields_Private()
234 …_Private(DM dm, PetscSection section, PetscInt numFields, const PetscInt fields[], const PetscInt … in DMSelectFields_Private() argument
[all …]
H A Ddm.c1948 PetscErrorCode DMCreateFieldIS(DM dm, PetscInt *numFields, char ***fieldNames, IS *fields[]) in DMCreateFieldIS() argument
1962 if (fields) { in DMCreateFieldIS()
1963 PetscAssertPointer(fields, 4); in DMCreateFieldIS()
1964 *fields = NULL; in DMCreateFieldIS()
2027 if (fields) { in DMCreateFieldIS()
2028 PetscCall(PetscMalloc1(nF, fields)); in DMCreateFieldIS()
2032 …tscObjectComm((PetscObject)dm), fieldSizes[f], fieldIndices[f], PETSC_OWN_POINTER, &(*fields)[f])); in DMCreateFieldIS()
2037 PetscCall(ISSetBlockSize((*fields)[f], bs)); in DMCreateFieldIS()
2041 } else PetscTryTypeMethod(dm, createfieldis, numFields, fieldNames, fields); in DMCreateFieldIS()
2169 PetscErrorCode DMCreateSubDM(DM dm, PetscInt numFields, const PetscInt fields[], IS *is, DM *subdm) in DMCreateSubDM() argument
[all …]
/petsc/src/dm/impls/plex/tests/output/
H A Dex8_1.out26 coordinates with 1 fields
66 coordinates with 1 fields
112 coordinates with 1 fields
161 coordinates with 1 fields
242 coordinates with 1 fields
381 coordinates with 1 fields
510 coordinates with 1 fields
H A Dex65_ext_coord_space.out1 Discrete System with 1 fields
16 Weak Form System with 1 fields
17 Discrete System with 1 fields
44 Weak Form System with 1 fields
H A Dex16_0.out120 coordinates with 1 fields
264 coordinates with 1 fields
428 coordinates with 1 fields
H A Dex69_quad_6w.out124 coordinates with 1 fields
399 coordinates with 1 fields
726 coordinates with 1 fields
H A Dex69_quad_6.out124 coordinates with 1 fields
399 coordinates with 1 fields
726 coordinates with 1 fields
H A Dex69_quad_5.out124 coordinates with 1 fields
377 coordinates with 1 fields
663 coordinates with 1 fields
H A Dex69_tet_0.out102 coordinates with 1 fields
322 coordinates with 1 fields
H A Dex66_1.out30 coordinates with 1 fields
172 coordinates with 1 fields
H A Dex69_tri_1.out40 coordinates with 1 fields
143 coordinates with 1 fields
H A Dex66_0.out28 coordinates with 1 fields
160 coordinates with 1 fields
H A Dex69_tri_0.out40 coordinates with 1 fields
143 coordinates with 1 fields
H A Dex69_quad_1.out52 coordinates with 1 fields
179 coordinates with 1 fields
H A Dex69_tri_2.out68 coordinates with 1 fields
223 coordinates with 1 fields
H A Dex69_quad_0.out52 coordinates with 1 fields
179 coordinates with 1 fields
H A Dex69_hex_3.out348 coordinates with 1 fields
1108 coordinates with 1 fields
2072 coordinates with 1 fields
H A Dex13_0.out120 coordinates with 1 fields
330 coordinates with 1 fields
/petsc/src/dm/impls/stag/tests/
H A Dex42.c11 IS *fields; in main() local
37 PetscCall(DMCreateFieldDecomposition(dm, &n_fields, &field_names, &fields, &sub_dms)); in main()
40 PetscCall(ISView(fields[i], PETSC_VIEWER_STDOUT_WORLD)); in main()
46 PetscCall(ISDestroy(&fields[i])); in main()
49 PetscCall(PetscFree(fields)); in main()
/petsc/src/snes/impls/multiblock/
H A Dmultiblock.c8 PetscInt *fields; /* If block is defined on a DA, the list of DA fields */ member
64 PetscCall(PetscFree(blocks->fields)); in SNESDestroy_Multiblock()
116 IS *fields; in SNESMultiblockSetDefaults() local
120 PetscCall(DMCompositeGetGlobalISs(snes->dm, &fields)); in SNESMultiblockSetDefaults()
125 PetscCall(SNESMultiblockSetIS(snes, name, fields[i])); in SNESMultiblockSetDefaults()
126 PetscCall(ISDestroy(&fields[i])); in SNESMultiblockSetDefaults()
128 PetscCall(PetscFree(fields)); in SNESMultiblockSetDefaults()
211 PetscInt *ii, j, k, nfields = blocks->nfields, *fields = blocks->fields; in SNESSetUp_Multiblock() local
215 for (k = 0; k < nfields; ++k) ii[nfields * j + k] = rstart + bs * j + fields[k]; in SNESSetUp_Multiblock()
219 …reateStride(PetscObjectComm((PetscObject)snes), nslots, rstart + blocks->fields[0], bs, &blocks->i… in SNESSetUp_Multiblock()
[all …]
/petsc/config/
H A Dquery_tests.py92 def query(invDict,fields,labels): argument
100 for field in fields.replace('|',',').split(','):
127 for ufield in fields.split(','):
146 def get_inverse_dictionary(dataDict,fields,srcdir): argument
153 for field in fields.replace('|',',').split(','):
240 fields, labels, searchin): argument
254 invDict=get_inverse_dictionary(dataDict, fields, srcdir)
257 resList=query(invDict, fields, labels)
/petsc/src/vec/is/tests/output/
H A Dex5_1.out3 2 fields
26 2 fields
49 2 fields
H A Dex5_0.out3 2 fields
26 2 fields
49 2 fields
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DDMSwarm.pyx33 """A `DM` object used to represent arrays of data (fields) of arbitrary type."""
110 """Create a global `Vec` object associated with a given set of fields.
140 """Destroy the global `Vec` object associated with a given set of fields.
210 """Create a local `Vec` object associated with a given set of fields.
240 """Destroy the local `Vec` object associated with a given set of fields.
266 """Initiate the registration of fields to a `DMSwarm`.
270 After all fields have been registered, you must call `finalizeFieldRegister`.
280 """Finalize the registration of fields to a `DMSwarm`.
292 """Set the length of all registered fields on the `DMSwarm`.
410 """Set the fields from which to define a `Vec` object.
[all …]
/petsc/src/dm/impls/da/
H A Dgr1.c103 PetscErrorCode DMDASelectFields(DM da, PetscInt *outfields, PetscInt **fields) in DMDASelectFields() argument
116 char **fields; in DMDASelectFields() local
119 PetscCall(PetscMalloc1(step, &fields)); in DMDASelectFields()
120 … PetscCall(PetscOptionsGetStringArray(NULL, NULL, "-draw_fields_by_name", fields, &nfields, &flg)); in DMDASelectFields()
126 PetscCall(PetscStrcmp(fieldname, fields[k], &flg)); in DMDASelectFields()
129 … SETERRQ(PetscObjectComm((PetscObject)da), PETSC_ERR_USER, "Unknown fieldname %s", fields[k]); in DMDASelectFields()
134 for (k = 0; k < nfields; k++) PetscCall(PetscFree(fields[k])); in DMDASelectFields()
135 PetscCall(PetscFree(fields)); in DMDASelectFields()
137 *fields = displayfields; in DMDASelectFields()

12345678910>>...15