#include "petscts.h" PetscErrorCode TSErrorWeightedNorm2(TS ts,Vec U,Vec Y,PetscReal *norm,PetscReal *norma,PetscReal *normr)Collective on TS
| ts | - time stepping context | |
| U | - state vector, usually ts->vec_sol | |
| Y | - state vector to be compared to U |
| norm | - weighted norm, a value of 1.0 means that the error matches the tolerances | |
| norma | - weighted norm based on the absolute tolerance, a value of 1.0 means that the error matches the tolerances | |
| normr | - weighted norm based on the relative tolerance, a value of 1.0 means that the error matches the tolerances |