Basix
dof-transformations.h
1// Copyright (c) 2020 Chris Richardson & Matthew Scroggs
2// FEniCS Project
3// SPDX-License-Identifier: MIT
4
5#pragma once
6
7#include "cell.h"
8#include "maps.h"
9#include "mdspan.hpp"
10#include <array>
11#include <map>
12#include <utility>
13#include <vector>
14
20{
21
37std::map<cell::type, std::pair<std::vector<double>, std::array<std::size_t, 3>>>
39 cell::type cell_type,
40 const std::array<
41 std::vector<std::experimental::mdspan<
42 const double, std::experimental::dextents<std::size_t, 2>>>,
43 4>& x,
44 const std::array<
45 std::vector<std::experimental::mdspan<
46 const double, std::experimental::dextents<std::size_t, 4>>>,
47 4>& M,
48 const std::experimental::mdspan<
49 const double, std::experimental::dextents<std::size_t, 2>>& coeffs,
50 int degree, std::size_t vs, maps::type map_type);
51
52} // namespace basix::doftransforms
type
Cell type.
Definition: cell.h:20
Definition: dof-transformations.h:20
std::map< cell::type, std::pair< std::vector< double >, std::array< std::size_t, 3 > > > compute_entity_transformations(cell::type cell_type, const std::array< std::vector< std::experimental::mdspan< const double, std::experimental::dextents< std::size_t, 2 > > >, 4 > &x, const std::array< std::vector< std::experimental::mdspan< const double, std::experimental::dextents< std::size_t, 4 > > >, 4 > &M, const std::experimental::mdspan< const double, std::experimental::dextents< std::size_t, 2 > > &coeffs, int degree, std::size_t vs, maps::type map_type)
Compute the entity DOF transformations for an element.
Definition: dof-transformations.cpp:414
type
Map type.
Definition: maps.h:17