Lines Matching refs:example
27 example, an edge is defined by being covered by two vertices, and a
34 For example, we can encode the doublet mesh as in {numref}`fig_doubletMesh`,
126 …cell coordinates correctly, depending on the periodicity of the mesh. An example of its use is sho…
153 Using the mesh from {numref}`fig_doubletMesh`, we provide an example of creating a `PetscSection` f…
223 For example, for tensor cells such as quadrilaterals, closure data can be permuted to lexicographic…
229 …eate the local section if given a description of the discretization, for example using a `PetscFE`…
269 neighboring entities, or the reverse. For example, in finite elements,
276 level. For example, in finite elements, the entire boundary of any cell
308 arrows in either direction. For example, in a finite element
348 A simple example of this kind of calculation is in
401 To save data to "example.h5" file, we can first create a `PetscViewer` of type `PETSCVIEWERHDF5` in…
406 PetscViewerHDF5Open(PETSC_COMM_WORLD, "example.h5", FILE_MODE_WRITE, &viewer);
429 In this example the set of all global point numbers is $X = [0, 11)$.
471 The output file "example.h5" now looks like the following:
474 $ h5dump --contents example.h5
475 HDF5 "example.h5" {
512 $ h5dump -a /dmplex_storage_version example.h5
520 $ h5dump --contents example.h5
521 HDF5 "example.h5" {
559 To load data from "example.h5" file, we create a `PetscViewer`
563 PetscViewerHDF5Open(PETSC_COMM_WORLD, "example.h5", FILE_MODE_READ, &viewer);
677 saving and for loading; a more comprehensive example is found in