#! /usr/bin/env python3
# -*- coding: utf-8 -*-
-# Copyright (C) 2021 CEA/DEN, EDF R&D
+# Copyright (C) 2021-2024 CEA, EDF
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
:return: a matrix with the same format than mc.MEDCouplingRemapper.getCrudeMatrix (use mc.MEDCouplingRemapper.ToCSRMatrix to convert it into scipy sparse format)
"""
- mat_geom = trgMesh.getNumberOfCells()*[{}]
+ mat_geom = [ {} for i in range(trgMesh.getNumberOfCells()) ]
for j in range(trgMesh.getNumberOfCells()):
for i in range(srcMesh.getNumberOfCells()):
mc_src_mesh = srcMesh[i]