feec.multipatch.fem_linear_operators#

Classes#

Inheritance diagram of psydac.feec.multipatch.fem_linear_operators

ComposedLinearOperator(operators)

operator L = L_1 .

FemLinearOperator([fem_domain, ...])

Linear operators with an additional Fem layer

IdLinearOperator(V)

MultLinearOperator(c, A)

SumLinearOperator(B, A)

Details#

class FemLinearOperator(fem_domain=None, fem_codomain=None, matrix=None, sparse_matrix=None)[source]#

Bases: LinearOperator

Linear operators with an additional Fem layer

property domain#

The domain of the linear operator - an element of Vectorspace

property codomain#

The codomain of the linear operator - an element of Vectorspace

property fem_domain#
property fem_codomain#
property matrix#
property T#

Calls transpose method to return the transpose of self.

property dtype#
toarray()[source]#

Convert to Numpy 2D array.

tosparse()[source]#
transpose(conjugate=False)[source]#

Transpose the LinearOperator .

If conjugate is True, return the Hermitian transpose.

to_sparse_matrix(**kwargs)[source]#
dot(f_coeffs, out=None)[source]#

Apply linear operator to Vector v. Result is written to Vector out, if provided.

class ComposedLinearOperator(operators)[source]#

Bases: FemLinearOperator

operator L = L_1 .. L_n with L_i = self._operators[i-1] (so, the last one is applied first, like in a product)

to_sparse_matrix(**kwargs)[source]#
dot(f_coeffs, out=None)[source]#

Apply linear operator to Vector v. Result is written to Vector out, if provided.

class IdLinearOperator(V)[source]#

Bases: FemLinearOperator

to_sparse_matrix(**kwargs)[source]#
dot(f_coeffs, out=None)[source]#

Apply linear operator to Vector v. Result is written to Vector out, if provided.

class SumLinearOperator(B, A)[source]#

Bases: FemLinearOperator

to_sparse_matrix(**kwargs)[source]#
dot(f_coeffs, out=None)[source]#

Apply linear operator to Vector v. Result is written to Vector out, if provided.

class MultLinearOperator(c, A)[source]#

Bases: FemLinearOperator

to_sparse_matrix(**kwargs)[source]#
dot(f_coeffs, out=None)[source]#

Apply linear operator to Vector v. Result is written to Vector out, if provided.