|
BSpline Finite Element Exterior Calculus
|
Compute the L2-projection of a user function onto the basis functions. More...
Public Member Functions | |
| subroutine | l2_projection_1d (bfun, bspline, userfun, coordfun, rtol, l2err) |
| Compute the L2-projection of a user function onto the basis functions of a given B-spline space. | |
Compute the L2-projection of a user function onto the basis functions.
| subroutine m_bspline_linalg::l2_projection::l2_projection_1d | ( | type(bsplinefun), intent(out) | bfun, |
| type(bsplinespace), intent(in) | bspline, | ||
| procedure(user_function_1d_interface) | userfun, | ||
| procedure(user_function_1d_interface), optional | coordfun, | ||
| real(wp), intent(in), optional | rtol, | ||
| real(wp), intent(out), optional | l2err ) |
Compute the L2-projection of a user function onto the basis functions of a given B-spline space.
| [out] | bfun | The resulting B-spline function |
| [in] | bspline | The B-spline basis |
| [in] | userfun | The user function |
| [in] | coordfun | _(optional)_ The coordinate function |
| [in] | rtol | _(optional)_ The relative tolerance of the linear solver |
| [out] | l2err | _(optional)_ A cheap estimate of the L2-error |