xref: /libCEED/julia/LibCEED.jl/docs/src/Basis.md (revision 60582ab9b3ef171ccadb118aa08c7babfe040fa4)
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
17create_hdiv_basis
18create_hcurl_basis
19apply!(b::Basis, nelem, tmode::TransposeMode, emode::EvalMode, u::LibCEED.AbstractCeedVector, v::LibCEED.AbstractCeedVector)
20apply(b::Basis, u::AbstractVector; nelem=1, tmode=NOTRANSPOSE, emode=EVAL_INTERP)
21getdimension
22gettopology
23getnumcomponents
24getnumnodes
25getnumnodes1d
26getnumqpts
27getnumqpts1d
28getqref
29getqweights
30getinterp
31getinterp1d
32getgrad
33getgrad1d
34getdiv
35getcurl
36```
37