Salome HOME
projects
/
tools
/
medcoupling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Stash 6.
[tools/medcoupling.git]
/
src
/
MEDCoupling_Swig
/
MEDCouplingRemapperTest.py
diff --git
a/src/MEDCoupling_Swig/MEDCouplingRemapperTest.py
b/src/MEDCoupling_Swig/MEDCouplingRemapperTest.py
index 9974af73dd45311db1b24e436cb2e656546f4e56..44b0f8bd399674ba33bb3df3185dee4b7b90e099 100644
(file)
--- a/
src/MEDCoupling_Swig/MEDCouplingRemapperTest.py
+++ b/
src/MEDCoupling_Swig/MEDCouplingRemapperTest.py
@@
-765,11
+765,11
@@
class MEDCouplingBasicsTest(unittest.TestCase):
""" This test is the origin of the ref values for MEDCouplingBasicsTest.testAMR2"""
coarse=DataArrayDouble(35) ; coarse.iota(0) #X=5,Y=7
fine=DataArrayDouble(3*2*4*4) ; fine.iota(0) #X=3,Y=2 refined by 4
""" This test is the origin of the ref values for MEDCouplingBasicsTest.testAMR2"""
coarse=DataArrayDouble(35) ; coarse.iota(0) #X=5,Y=7
fine=DataArrayDouble(3*2*4*4) ; fine.iota(0) #X=3,Y=2 refined by 4
- MEDCouplingIMesh.CondenseFineToCoarse(
coarse,[5,7],fine,[(1,4),(2,4)]
)
+ MEDCouplingIMesh.CondenseFineToCoarse(
[5,7],fine,[(1,4),(2,4)],[4,4],coarse
)
#
m=MEDCouplingCartesianAMRMesh("mesh",2,[6,8],[0.,0.],[1.,1.])
trgMesh=m.buildUnstructured()
#
m=MEDCouplingCartesianAMRMesh("mesh",2,[6,8],[0.,0.],[1.,1.])
trgMesh=m.buildUnstructured()
- m.addPatch([(1,4),(2,4)],
4
)
+ m.addPatch([(1,4),(2,4)],
[4,4]
)
srcMesh=m[0].getMesh().buildUnstructured()
srcField=MEDCouplingFieldDouble(ON_CELLS)
fine2=DataArrayDouble(3*2*4*4) ; fine2.iota(0) ; srcField.setArray(fine2)
srcMesh=m[0].getMesh().buildUnstructured()
srcField=MEDCouplingFieldDouble(ON_CELLS)
fine2=DataArrayDouble(3*2*4*4) ; fine2.iota(0) ; srcField.setArray(fine2)