Transformation operators

The operator

 ... Cell_interpolation(const Variable& vec);

interpolates a piecewise linear function to a piecewise constant function. Here is an example:

    ...
  Variable u(grid);
  Cell_variable w(grid);
 
    ...
  w = Cell_interpolation(u) * 2.0;


To transform a piecewise constant function to a linear function, one can apply a local stiffness matrix with variable coefficient.


Handbook

Last modified: Fri Jul 13 15:47:34 PDT 2001