Lines Matching refs:sdm
432 Here, we create the wrapping `DM`, `sdm`, with `DMClone()`, give it a *dm name*, "dmA", attach `s` …
435 DMClone(dm, &sdm);
436 PetscObjectSetName((PetscObject)sdm, "dmA");
437 DMSetLocalSection(sdm, s);
438 DMPlexSectionView(dm, viewer, sdm);
448 We now create a local vector associated with `sdm`, e.g., as:
453 DMGetLocalVector(sdm, &vec);
460 DMPlexLocalVectorView(dm, viewer, sdm, vec);
623 We then create a new `DM`, `sdm`, with `DMClone()`, give it
624 a *dm name*, "dmA", and load the on-disk data layout into `sdm` as:
629 DMClone(dm, &sdm);
630 PetscObjectSetName((PetscObject)sdm, "dmA");
631 DMPlexSectionLoad(dm, viewer, sdm, sf, &globalDataSF, &localDataSF);
644 attaches it to `sdm`. The objects returned by this function,
647 `Vec`s defined on `sdm`.
649 We now create a local vector associated with `sdm`, e.g., as:
654 DMGetLocalVector(sdm, &vec);
661 DMPlexLocalVectorLoad(dm, viewer, sdm, localDataSF, localVec);
665 data into a local `Vec` defined on `sdm`.
667 `sdm` in the exact same way with trivial changes.