MCPcopy Create free account
hub / github.com/FEniCS/dolfinx / DofMap

Method DofMap

cpp/dolfinx/fem/DofMap.h:93–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91 and std::is_convertible_v<std::remove_cvref_t<U>,
92 std::vector<std::int32_t>>
93 DofMap(E&& element, std::shared_ptr<const common::IndexMap> index_map,
94 int index_map_bs, U&& dofmap, int bs)
95 : index_map(std::move(index_map)), _index_map_bs(index_map_bs),
96 _element_dof_layout(std::forward<E>(element)),
97 _dofmap(std::forward<U>(dofmap)), _bs(bs),
98 _shape1(_element_dof_layout.num_dofs()
99 * _element_dof_layout.block_size() / _bs)
100 {
101 // Do nothing
102 }
103
104 // Copy constructor
105 DofMap(const DofMap& dofmap) = delete;

Callers

nothing calls this directly

Calls 2

num_dofsMethod · 0.80
block_sizeMethod · 0.45

Tested by

no test coverage detected