#include "petscdmforest.h" #include "petscdm.h" #include "petscdmlabel.h" PetscErrorCode DMForestSetCellWeights(DM dm, PetscReal weights[], PetscCopyMode copyMode)Logically collective on dm
dm | - the forest | |
weights | - the array of weights for all cells, or NULL to indicate each cell has weight 1. | |
copyMode | - how weights should reference weights |