#include "petscdmmesh.h" PetscErrorCode MatSetValuesTopology(Mat mat, DM dmr, PetscInt nrow, const PetscInt rowPoints[], DM dmc, PetscInt ncol, const PetscInt colPoints[], const PetscScalar v[], InsertMode mode)Not Collective
| mat | - the matrix | |
| dmr | - The row DM | |
| nrow, rowPoints | - number of rows and their local Sieve points | |
| dmc | - The column DM | |
| ncol, colPoints | - number of columns and their local Sieve points | |
| v | - a logically two-dimensional array of values | |
| mode | - either ADD_VALUES or INSERT_VALUES, where ADD_VALUES adds values to any existing entries, and INSERT_VALUES replaces existing entries with new values |
Level:intermediate
Location:src/dm/impls/mesh/mesh.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages