BSpline Finite Element Exterior Calculus
Loading...
Searching...
No Matches
m_tensorprod_quadrature Module Reference

Module for precomputed quadrature for tensor product B-splines. More...

Data Types

interface  quadrature
 Evaluate the quadrature for a tensor product B-spline space by making use of the precomputed quadrature. More...
 
interface  quadrature_product
 Evaluate the quadrature for a product tensor product B-spline spaces by making use of the precomputed quadratures. More...
 
interface  tensorprodquadrature
 A tensor product of BSplineQuadrature objects. More...
 

Functions/Subroutines

pure subroutine, public evaluate_at_nodes (this, f, ii, jj, kk, f_vals)
 Evaluate the function f at the quadrature nodes on the (ii,jj,kk)-th interval.
 

Detailed Description

Module for precomputed quadrature for tensor product B-splines.

A TensorProdQuadrature object is provided wherein the values of the B-splines at the quadrature nodes are precomputed and stored

Function/Subroutine Documentation

◆ evaluate_at_nodes()

pure subroutine, public m_tensorprod_quadrature::evaluate_at_nodes ( type(tensorprodquadrature), intent(in) this,
procedure(user_function_3d_interface) f,
integer, intent(in) ii,
integer, intent(in) jj,
integer, intent(in) kk,
real(wp), dimension(1:, 1:, 1:), intent(out) f_vals )

Evaluate the function f at the quadrature nodes on the (ii,jj,kk)-th interval.

Parameters
[in]thisThe TensorProdQuadrature object
[in]fThe function to evaluate
[in]iiThe index of the interval in the x direction
[in]jjThe index of the interval in the y direction
[in]kkThe index of the interval in the z direction
[out]f_valsThe values of the function at the quadrature nodes, shape (n_quad_z, n_quad_y, n_quad_x)
Note
The output array f_vals is intentionally in reverse order, as this facilitates its use with the current loop-order in the mass matrix assembly