Skip to content
Snippets Groups Projects
Commit 8d811230 authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Use WeakSubItemValuePerItem in computeLocalItemNumberInChildItem

parent fcfe8779
No related branches found
No related tags found
1 merge request!11Feature/mpi
......@@ -79,7 +79,7 @@ _computeInverse(const ConnectivityMatrix& item_to_child_matrix) const
template <ItemType item_type,
ItemType child_item_type,
typename ConnectivityType>
SubItemValuePerItem<const unsigned short, child_item_type, item_type>
WeakSubItemValuePerItem<const unsigned short, child_item_type, item_type>
ConnectivityComputer::computeLocalItemNumberInChildItem(const ConnectivityType& connectivity) const
{
const ConnectivityMatrix& child_item_to_items_matrix
......@@ -87,7 +87,7 @@ ConnectivityComputer::computeLocalItemNumberInChildItem(const ConnectivityType&
const ConnectivityMatrix& item_to_child_items_matrix
= connectivity._getMatrix(item_type, child_item_type);
SubItemValuePerItem<unsigned short, child_item_type, item_type> item_number_in_child_item(connectivity);
WeakSubItemValuePerItem<unsigned short, child_item_type, item_type> item_number_in_child_item(connectivity);
for (ItemIdT<item_type> r=0; r<item_to_child_items_matrix.numRows(); ++r) {
const auto& item_to_child_items = item_to_child_items_matrix.rowConst(r);
for (unsigned short J=0; J<item_to_child_items.length; ++J) {
......@@ -108,51 +108,51 @@ ConnectivityComputer::computeLocalItemNumberInChildItem(const ConnectivityType&
// 1D
template SubItemValuePerItem<const unsigned short, ItemType::cell, ItemType::node>
template WeakSubItemValuePerItem<const unsigned short, ItemType::cell, ItemType::node>
ConnectivityComputer::
computeLocalItemNumberInChildItem<ItemType::node,
ItemType::cell>(const Connectivity1D&) const;
template SubItemValuePerItem<const unsigned short, ItemType::cell, ItemType::face>
template WeakSubItemValuePerItem<const unsigned short, ItemType::cell, ItemType::face>
ConnectivityComputer::
computeLocalItemNumberInChildItem<ItemType::face,
ItemType::cell>(const Connectivity1D&) const;
template SubItemValuePerItem<const unsigned short, ItemType::node, ItemType::cell>
template WeakSubItemValuePerItem<const unsigned short, ItemType::node, ItemType::cell>
ConnectivityComputer::
computeLocalItemNumberInChildItem<ItemType::cell,
ItemType::node>(const Connectivity1D&) const;
// 2D
template SubItemValuePerItem<const unsigned short, ItemType::cell, ItemType::node>
template WeakSubItemValuePerItem<const unsigned short, ItemType::cell, ItemType::node>
ConnectivityComputer::
computeLocalItemNumberInChildItem<ItemType::node,
ItemType::cell>(const Connectivity2D&) const;
template SubItemValuePerItem<const unsigned short, ItemType::cell, ItemType::face>
template WeakSubItemValuePerItem<const unsigned short, ItemType::cell, ItemType::face>
ConnectivityComputer::
computeLocalItemNumberInChildItem<ItemType::face,
ItemType::cell>(const Connectivity2D&) const;
template SubItemValuePerItem<const unsigned short, ItemType::node, ItemType::cell>
template WeakSubItemValuePerItem<const unsigned short, ItemType::node, ItemType::cell>
ConnectivityComputer::
computeLocalItemNumberInChildItem<ItemType::cell,
ItemType::node>(const Connectivity2D&) const;
// 3D
template SubItemValuePerItem<const unsigned short, ItemType::cell, ItemType::node>
template WeakSubItemValuePerItem<const unsigned short, ItemType::cell, ItemType::node>
ConnectivityComputer::
computeLocalItemNumberInChildItem<ItemType::node,
ItemType::cell>(const Connectivity3D&) const;
template SubItemValuePerItem<const unsigned short, ItemType::cell, ItemType::face>
template WeakSubItemValuePerItem<const unsigned short, ItemType::cell, ItemType::face>
ConnectivityComputer::
computeLocalItemNumberInChildItem<ItemType::face,
ItemType::cell>(const Connectivity3D&) const;
template SubItemValuePerItem<const unsigned short, ItemType::node, ItemType::cell>
template WeakSubItemValuePerItem<const unsigned short, ItemType::node, ItemType::cell>
ConnectivityComputer::
computeLocalItemNumberInChildItem<ItemType::cell,
ItemType::node>(const Connectivity3D&) const;
......@@ -21,7 +21,7 @@ class ConnectivityComputer
template <ItemType item_type,
ItemType child_item_type,
typename ConnectivityType>
SubItemValuePerItem<const unsigned short, child_item_type, item_type>
WeakSubItemValuePerItem<const unsigned short, child_item_type, item_type>
computeLocalItemNumberInChildItem(const ConnectivityType& connectivity) const;
ConnectivityComputer(const ConnectivityComputer&) = default;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment