|
DOLFINx 0.12.0.0
DOLFINx C++
|
Factories for finite element dofmaps and function spaces. More...
#include "DofMap.h"#include "ElementDofLayout.h"#include "FiniteElement.h"#include "FunctionSpace.h"#include <algorithm>#include <concepts>#include <cstdint>#include <dolfinx/common/IndexMap.h>#include <dolfinx/graph/AdjacencyList.h>#include <dolfinx/mesh/Mesh.h>#include <dolfinx/mesh/Topology.h>#include <functional>#include <memory>#include <mpi.h>#include <span>#include <stdexcept>#include <utility>#include <vector>

Go to the source code of this file.
Namespaces | |
| namespace | dolfinx |
| Top-level namespace. | |
| namespace | dolfinx::fem |
| Finite element method functionality. | |
Functions | |
| template<std::floating_point T> | |
| ElementDofLayout | create_element_dof_layout (const fem::FiniteElement< T > &element, const std::vector< int > &parent_map={}) |
| Create an ElementDofLayout from a FiniteElement. | |
| DofMap | create_dofmap (MPI_Comm comm, const ElementDofLayout &layout, mesh::Topology &topology, const std::function< void(std::span< std::int32_t >, std::uint32_t)> &permute_inv, const std::function< std::vector< int >(const graph::AdjacencyList< std::int32_t > &)> &reorder_fn) |
| Create a dof map on mesh. | |
| std::vector< DofMap > | create_dofmaps (MPI_Comm comm, const std::vector< ElementDofLayout > &layouts, mesh::Topology &topology, const std::function< void(std::span< std::int32_t >, std::uint32_t)> &permute_inv, const std::function< std::vector< int >(const graph::AdjacencyList< std::int32_t > &)> &reorder_fn) |
| Create a set of dofmaps on a given topology. | |
| template<std::floating_point T> | |
| FunctionSpace< T > | create_functionspace (std::shared_ptr< mesh::Mesh< T > > mesh, std::shared_ptr< const fem::FiniteElement< T > > e, std::function< std::vector< int >(const graph::AdjacencyList< std::int32_t > &)> reorder_fn=nullptr) |
| NEW Create a function space from a fem::FiniteElement. | |
Factories for finite element dofmaps and function spaces.