BSpline Finite Element Exterior Calculus
Loading...
Searching...
No Matches
m_bspline_linalg::l2_projection Interface Reference

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.
 

Detailed Description

Compute the L2-projection of a user function onto the basis functions.

Member Function/Subroutine Documentation

◆ l2_projection_1d()

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.

Parameters
[out]bfunThe resulting B-spline function
[in]bsplineThe B-spline basis
[in]userfunThe 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

The documentation for this interface was generated from the following file: