BSpline Finite Element Exterior Calculus
Loading...
Searching...
No Matches
m_tensorprod_matrix::tensorprodmat Type Reference

Type for the mass matrix of a 3D tensor product B-spline basis. More...

Public Member Functions

procedure init (this, space1, space2, symmetric, spd)
 Initialize the TensorProdMat.
 
procedure destroy (this)
 destroy for the TensorProdMat
 

Public Attributes

type(tensorprodspacespace_row
 The tensor product B-spline space for the row index.
 
type(tensorprodspacespace_col
 The tensor product B-spline space for the column index.
 
real(wp), dimension(:, :, :, :, :, :), allocatable vals
 The values of the mass matrix (:, :, :, local_row)
 
integer, dimension(:, :, :, :, :, :), allocatable cols
 The column indices of the mass matrix (:, :, :, local_row)
 
integer, dimension(:, :, :), allocatable rows
 The row indices of the mass matrix (local_row -> global_row)
 
type(tensorprodindicesrank_actv_bsplines
 
integer total_nz_per_row
 The number of non-zero entries per row.
 
integer nr_rows
 The numer of rows.
 
integer my_nr_rows
 The number of rows for the current rank.
 
integer nr_cols
 The number of columns.
 
integer my_nr_cols
 The number of columns for the current rank.
 
logical symmetric
 Whether the matrix is symmetric.
 
logical spd
 Whether the matrix is symmetric positive definite.
 

Detailed Description

Type for the mass matrix of a 3D tensor product B-spline basis.

Member Function/Subroutine Documentation

◆ destroy()

procedure m_tensorprod_matrix::tensorprodmat::destroy ( class(tensorprodmat), intent(inout) this)

destroy for the TensorProdMat

Parameters
[in,out]thisThe TensorProdMat object

◆ init()

procedure m_tensorprod_matrix::tensorprodmat::init ( class(tensorprodmat), intent(inout) this,
type(tensorprodspace), intent(in) space1,
type(tensorprodspace), intent(in) space2,
logical, intent(in), optional symmetric,
logical, intent(in), optional spd )

Initialize the TensorProdMat.

Parameters
[in,out]thisThe TensorProdMat object
[in]space1The first tensor product B-spline basis
[in]space2The second tensor product B-spline basis
[in]symmetric_(optional)_ Whether the matrix is symmetric
[in]spd_(optional)_ Whether the matrix is symmetric positive definite

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