Namespaces | Functions
calc_L2.cpp File Reference
#include "calc_L2.hpp"
#include "Init_Vec.hpp"
#include "set_Vec.hpp"

Namespaces

 SPE
 Namespace containing all functions and data classes for this solver.
 

Functions

int SPE::calc_L2 (PetscReal &error, Vec &x1, Vec &x2, PetscInt n, NormType type=NORM_2)
 calculate the \( L_2 \) norm of the difference between \(x_1\) and \(x_2\) vectors and return More...
 
int SPE::calc_L2 (PetscReal &error, Mat &x1, Mat &x2, PetscInt n, NormType type=NORM_2)
 calculate the \( L_2 \) norm of the difference between \(x_1\) and \(x_2\) matrix diagonals and return More...