BSpline Finite Element Exterior Calculus
Loading...
Searching...
No Matches
m_mform_matrix::massmatrix Type Reference

Mass matrix. More...

Inheritance diagram for m_mform_matrix::massmatrix:
m_mform_matrix::abstractmatrix

Public Member Functions

procedure init (this, space, coord_transform, userfun, userfun_mat, n_quad_extra)
 Initialize the mass matrix for the given m-form space.
 
procedure constraint_coeff (this)
 Coefficient for the imposing a linear constraint on the mass matrix by means of a projection operator.
 
- Public Member Functions inherited from m_mform_matrix::abstractmatrix
procedure(constraint_coeff_interface), deferred constraint_coeff constraint_coeff_interface
 
procedure destroy (this)
 Destroy the AbstractMatrix.
 

Additional Inherited Members

- Public Attributes inherited from m_mform_matrix::abstractmatrix
type(mformspace) space_col
 The m-form space of the solution vector.
 
type(mformspace) space_row
 The m-form space of the residual.
 
logical is_symmetric
 PETSc matrix.
 
logical is_spd
 Whether the matrix is symmetric positive definite.
 

Detailed Description

Mass matrix.

Member Function/Subroutine Documentation

◆ constraint_coeff()

procedure m_mform_matrix::massmatrix::constraint_coeff ( class(massmatrix), intent(in) this)

Coefficient for the imposing a linear constraint on the mass matrix by means of a projection operator.

That is, when mode=CONSTRAINT_PROJECTION is used, the following matrix is constructed: P^T * M * P + \gamma * (I - P)^T M * (I - P), where P is the projection operator and M is the mass matrix. This function provides the coefficient \gamma.

Parameters
[in]thisThe MassMatrix object for which to compute the coefficient
Returns
The coefficient \gamma

◆ init()

procedure m_mform_matrix::massmatrix::init ( class(massmatrix), intent(inout) this,
type(mformspace), intent(in) space,
class(coordtransformabstract), intent(in), optional coord_transform,
procedure(user_function_3d_interface), optional userfun,
procedure(user_function_3d_mat_interface), optional userfun_mat,
integer, intent(in), optional n_quad_extra )

Initialize the mass matrix for the given m-form space.

Parameters
[in,out]thisThe MassMatrix object to initialize
[in]spaceThe MFormSpace for which to initialize the mass matrix
[in]coord_transform_(optional)_ The coordinate transformation associated with the m-form space
[in]userfun_(optional)_ A user-defined function to used to scale the inner product that defines the mass matrix
[in]userfun_mat_(optional)_ A user-defined matrix-valued function to used to scale the inner product that defines the mass matrix
[in]n_quad_extra_(optional)_ The number of extra quadrature points to use for the mass matrix on top of those needed for the exact integration of the product of the B-spline basis functions

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