Basix
Toggle main menu visibility
Loading...
Searching...
No Matches
cpp
basix
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::
float
ing_po
int
T>
15
class
FiniteElement
;
16
47
template
<std::
float
ing_po
int
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::FiniteElement
A finite element.
Definition
finite-element.h:138
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
Generated by
1.17.0