xref: /libCEED/julia/LibCEED.jl/docs/src/Basis.md (revision 9c774eddf8c0b4f5416196d32c5355c9591a7190)
1# Basis
2
3!!! info "Column-major vs. row-major storage"
4    libCEED internally uses row-major (C convention) storage of matrices,
5    while Julia uses column-major (Fortran convention) storage.
6
7    LibCEED.jl will typically handle the conversion between these formats by
8    transposing or permuting the dimensions of the input and output matrices
9    and tensors.
10
11```@docs
12Basis
13BasisCollocated
14create_tensor_h1_lagrange_basis
15create_tensor_h1_basis
16create_h1_basis
17apply!(b::Basis, nelem, tmode::TransposeMode, emode::EvalMode, u::LibCEED.AbstractCeedVector, v::LibCEED.AbstractCeedVector)
18apply(b::Basis, u::AbstractVector; nelem=1, tmode=NOTRANSPOSE, emode=EVAL_INTERP)
19getdimension
20gettopology
21getnumcomponents(b::Basis)
22getnumnodes
23getnumnodes1d
24getnumqpts
25getnumqpts1d
26getqref
27getqweights
28getinterp
29getinterp1d
30getgrad
31getgrad1d
32```
33