#include "petscdt.h" PetscErrorCode PetscDTReconstructPoly(PetscInt degree,PetscInt nsource,const PetscReal *sourcex,PetscInt ntarget,const PetscReal *targetx,PetscReal *R)Not Collective
degree | - degree of reconstruction polynomial | |
nsource | - number of source intervals | |
sourcex | - sorted coordinates of source cell boundaries (length nsource+1) | |
ntarget | - number of target intervals | |
targetx | - sorted coordinates of target cell boundaries (length ntarget+1) |
R | - reconstruction matrix, utarget = sum_s R[t*nsource+s] * usource[s] |