Note: this is documentation for an old release. View the latest documentation at docs.fenicsproject.org/basix/v0.9.0/cpp/interpolation_8h_source.html

Basix 0.8.0

Home     Installation     Demos     C++ docs     Python docs

Loading...
Searching...
No Matches
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
12namespace basix
13{
14template <std::floating_point T>
15class FiniteElement;
16
47template <std::floating_point T>
48std::pair<std::vector<T>, std::array<std::size_t, 2>>
49compute_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