コード例 #1
0
ファイル: chebyshev_basis.py プロジェクト: MiroK/fem-dofs
def mass_matrix(deg, unroll=True):
    '''Mass matrix of Chebyshev polynomials of first kind.'''
    return common.mass_matrix(deg, basis_functions, unroll)
コード例 #2
0
ファイル: bernstein_basis.py プロジェクト: MiroK/fem-dofs
def mass_matrix(deg, unroll=True):
    '''Mass matrix of Bernstein basis.'''
    return common.mass_matrix(deg, basis_functions, unroll)
コード例 #3
0
ファイル: h1ON_basis.py プロジェクト: MiroK/fem-dofs
def mass_matrix(deg, unroll=True):
    '''Mass matrix of the H1 orthonormal basis.'''
    return common.mass_matrix(deg, basis_functions, unroll)