Basix 0.9.0

Home     Installation     Demos     C++ docs     Python docs

interpolation.h
1 // Copyright (c) 2021 Matthew Scroggs
2 // FEniCS Project
3 // SPDX-License-Identifier: MIT
4 
5 #pragma once
6 
7 #include <array>
8 #include <concepts>
9 #include <utility>
10 #include <vector>
11 
12 namespace basix
13 {
14 template <std::floating_point T>
15 class FiniteElement;
16 
47 template <std::floating_point T>
48 std::pair<std::vector<T>, std::array<std::size_t, 2>>
49 compute_interpolation_operator(const FiniteElement<T>& element_from,
50  const FiniteElement<T>& element_to);
51 
52 } // namespace basix
Basix: FEniCS runtime basis evaluation library.
Definition: cell.h:17
std::pair< std::vector< T >, std::array< std::size_t, 2 > > compute_interpolation_operator(const FiniteElement< T > &element_from, const FiniteElement< T > &element_to)
Compute a matrix that represents the interpolation between two elements.
Definition: interpolation.cpp:21