ONBasis

An ONBasis (=orthonormal basis) stores information for the orthogonal polynomials of the disctribution, like norms, quadrature rules and cached evaluations at quadrature points. It is the main building brick for the tensorized basis associated to the multi-indices of the stochastic discretization.

ExtendableASGFEM.ONBasisType
ONBasis(
    OBT::Type{<:OrthogonalPolynomialType},
    maxorder;
    ...
) -> ONBasis{Float64}
ONBasis(
    OBT::Type{<:OrthogonalPolynomialType},
    maxorder,
    maxquadorder;
    T
) -> ONBasis{Float64}

Constructs an ONBasis for the given OrthogonalPolynomialType (and the associated weight function) and the maximal polynomial order.

source
ExtendableASGFEM.ONBasisType
struct ONBasis{T<:Real, OBT<:OrthogonalPolynomialType, npoly, nquad}

Structure that stores information of an orthogonal basis, i.e., their norms, quadrature rules and values at reference points, and the result of the last evaluate call.

source
ExtendableASGFEM.qpMethod
qp(
    ONB::ONBasis
) -> StaticArraysCore.SVector{nquad, T} where {T<:Real, nquad}

returns the quadrature points

source
ExtendableASGFEM.qwMethod
qw(
    ONB::ONBasis
) -> StaticArraysCore.SVector{nquad, T} where {T<:Real, nquad}

returns the quadrature weights

source
ExtendableASGFEM.vals4xrefMethod
vals4xref(
    ONB::ONBasis
) -> StaticArraysCore.SMatrix{nquad, npoly, T} where {T<:Real, npoly, nquad}

returns the values of all polynomials at the quadrature points

source