Note: this is documentation for an old release. View the latest documentation at
docs.fenicsproject.org/basix/v0.8.0/cpp/dof-transformations_8h_source.html
People of FEniCS
Roadmap 2021-
FEniCS 2022
Download
Documentation
Community
Governance
Citing
Donate
Basix 0.4.0
Home
Installation
Demos
C++ docs
Python docs
cpp
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 <vector>
10
12
15
namespace
basix::doftransforms
16
{
17
27
std::map<cell::type, xt::xtensor<double, 3>>
compute_entity_transformations
(
28
cell::type
cell_type,
29
const
std::array<std::vector<xt::xtensor<double, 2>>, 4>& x,
30
const
std::array<std::vector<xt::xtensor<double, 3>>, 4>& M,
31
const
xt::xtensor<double, 2>& coeffs,
const
int
degree,
const
int
vs,
32
maps::type
map_type);
33
34
}
// namespace basix::doftransforms
basix::cell::type
type
Cell type.
Definition:
cell.h:18
basix::maps::type
type
Map type.
Definition:
maps.h:19
basix::doftransforms::compute_entity_transformations
std::map< cell::type, xt::xtensor< double, 3 > > compute_entity_transformations(cell::type cell_type, const std::array< std::vector< xt::xtensor< double, 2 >>, 4 > &x, const std::array< std::vector< xt::xtensor< double, 3 >>, 4 > &M, const xt::xtensor< double, 2 > &coeffs, const int degree, const int vs, maps::type map_type)
Definition:
dof-transformations.cpp:398
basix::doftransforms
Functions to transform DOFs in high degree Lagrange spaces.
Definition:
dof-transformations.h:15