Lines Matching refs:DM

3 # DM Basics
8 will not get widely used. Thus PETSc provides a set of abstractions represented by the `DM` object …
10 `DM` is an orphan initialism or orphan acronym, the letters have no meaning and never did.
13 classes `DM` currently supports are PDEs on structured and staggered grids with finite difference m…
20 In previous chapters, we have demonstrated some simple usage of `DM` to provide the input for the s…
21 we will dive deep into the capabilities of `DM`.
23 It is possible to create a `DM` with
26 DM dm;
27 DMCreate(MPI_Comm comm, DM *dm);
28 DMSetType(DM dm, DMType type);
31 but more commonly, a `DM` is created with a type-specific constructor; the construction process for…
33 on commonalities between all the `DM` so we assume the `DM` already exists and we wish to work with…
35 As discussed earlier, a `DM` can construct vectors and matrices appropriate for a model and discret…
39 DMCreateLocalVector(DM dm,Vec *l);
40 DMCreateGlobalVector(DM dm,Vec *g);
49 A given `DM` can be refined for certain `DMType`s with `DMRefine()` or coarsened with `DMCoarsen()`.
50 Mappings between `DM`s may be obtained with routines such as `DMCreateInterpolation()`, `DMCreateRe…
52 One attaches a `DM` to a PETSc solver object, `KSP`, `SNES`, `TS`, or `Tao` with
55 KSPSetDM(KSP ksp,DM dm);
56 SNESSetDM(SNES snes,DM dm);
57 TSSetDM(TS ts,DM dm);
60 Once the `DM` is attached, the solver can utilize it to create and process much of the data that th…
61 For example, with `PCMG` simply providing a `DM` can allow it to create all the data structures nee…
65 See {any}`ch_dmcommonality` for an advanced discussion of the commonalities between the various `DM
66 the material below for each of the `DM`.