petsc-3.13.6 2020-09-29
Report Typos and Errors

DMCreateInterpolationScale

Forms L = 1/(R*1) such that diag(L)*R preserves scale and is thus suitable for state (versus residual) restriction.

Synopsis

#include "petscdm.h"          
#include "petscdmlabel.h"     
#include "petscds.h"     
PetscErrorCode  DMCreateInterpolationScale(DM dac,DM daf,Mat mat,Vec *scale)

Input Parameters

dac - DM that defines a coarse mesh
daf - DM that defines a fine mesh
mat - the restriction (or interpolation operator) from fine to coarse

Output Parameter

scale -the scaled vector

See Also

DMCreateInterpolation()

Level

developer

Location

src/dm/interface/dm.c
Index of all DM routines
Table of Contents for all manual pages
Index of all manual pages