diff --git a/src/mesh/PrimalToDiamondDualConnectivityDataMapper.hpp b/src/mesh/PrimalToDiamondDualConnectivityDataMapper.hpp index ce695a4d3eb4f261677c1e5f2d2ff191890efdc1..a803732dbb59be501f2a6ae995c57505a6dc4b0a 100644 --- a/src/mesh/PrimalToDiamondDualConnectivityDataMapper.hpp +++ b/src/mesh/PrimalToDiamondDualConnectivityDataMapper.hpp @@ -116,8 +116,8 @@ class PrimalToDiamondDualConnectivityDataMapper : public IPrimalToDualConnectivi template <typename OriginDataType, typename DestinationDataType, ItemType destination_face_type> void - fromDualCell(const CellValue<DestinationDataType>& dual_cell_value, - const ItemValue<OriginDataType, destination_face_type>& primal_face_value) const + fromDualCell(const CellValue<OriginDataType>& dual_cell_value, + const ItemValue<DestinationDataType, destination_face_type>& primal_face_value) const { static_assert(not std::is_const_v<DestinationDataType>, "destination data type must not be constant"); static_assert(std::is_same_v<std::remove_const_t<OriginDataType>, DestinationDataType>, "incompatible types"); diff --git a/src/mesh/PrimalToDual1DConnectivityDataMapper.hpp b/src/mesh/PrimalToDual1DConnectivityDataMapper.hpp index 723025ca793cac1b558a18673a8179298c0ac330..22570810227cbff09c1a72c680f5d34c0f522a44 100644 --- a/src/mesh/PrimalToDual1DConnectivityDataMapper.hpp +++ b/src/mesh/PrimalToDual1DConnectivityDataMapper.hpp @@ -142,8 +142,8 @@ class PrimalToDual1DConnectivityDataMapper : public IPrimalToDualConnectivityDat template <typename OriginDataType, typename DestinationDataType, ItemType destination_node_type> void - fromDualCell(const CellValue<DestinationDataType>& dual_cell_value, - const ItemValue<OriginDataType, destination_node_type>& primal_node_value) const + fromDualCell(const CellValue<OriginDataType>& dual_cell_value, + const ItemValue<DestinationDataType, destination_node_type>& primal_node_value) const { static_assert(is_node_in_1d_v<destination_node_type>, "invalid destination node type"); diff --git a/src/mesh/PrimalToMedianDualConnectivityDataMapper.hpp b/src/mesh/PrimalToMedianDualConnectivityDataMapper.hpp index 8f11d66520d975b9c98e336751f5097cec1e4a96..366508eb3e6b09026529b9ff75b9d822e98e4b1f 100644 --- a/src/mesh/PrimalToMedianDualConnectivityDataMapper.hpp +++ b/src/mesh/PrimalToMedianDualConnectivityDataMapper.hpp @@ -159,8 +159,8 @@ class PrimalToMedianDualConnectivityDataMapper : public IPrimalToDualConnectivit template <typename OriginDataType, typename DestinationDataType> void - fromDualCell(const CellValue<DestinationDataType>& dual_cell_value, - const NodeValue<OriginDataType>& primal_node_value) const + fromDualCell(const CellValue<OriginDataType>& dual_cell_value, + const NodeValue<DestinationDataType>& primal_node_value) const { static_assert(not std::is_const_v<DestinationDataType>, "destination data type must not be constant"); static_assert(std::is_same_v<std::remove_const_t<OriginDataType>, DestinationDataType>, "incompatible types");