ParMooN
 All Classes Functions Variables Friends Pages
convolution.h
1 #ifndef MPIMIS_CONVOLUTION
2 #define MPIMIS_CONVOLUTION
3 
4 #include "basictools.h"
5 
6 // Computes discrete version of w(x) = \int u(x-y) * v(y) dy on h-refined grid (a, b]
7 // Here is assumed that a and b are pieacewise linear, and c is also projected onto space
8 // of piecewise linear functions
9 void linear_convolution(double* u, double* v, double* w, int start_n, int L, double a, double b);
10 
11 // Gets Legendre coefficients for linear functions
12 void get_Legendre_coefficients(double* fi, double* fiplus1, double* xi, double* xiplus1, double* coeff0, double* coeff1);
13 
14 #endif // MPIMIS_CONVOLUTION
15