Loading...
Searching...
No Matches
interpolation.h
// Copyright (c) 2021 Matthew Scroggs
// FEniCS Project
// SPDX-License-Identifier: MIT
#pragma once
#include <array>
#include <concepts>
#include <utility>
#include <vector>
namespace basix
{
template <std::floating_point T>
class FiniteElement;
template <std::floating_point T>
std::pair<std::vector<T>, std::array<std::size_t, 2>>
compute_interpolation_operator(const FiniteElement<T>& element_from,
const FiniteElement<T>& element_to);
} // namespace basix
basix::FiniteElement
A finite element.
Definition finite-element.h:137
basix
Basix: FEniCS runtime basis evaluation library.
Definition cell.h:17
basix::compute_interpolation_operator
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:18