<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: times new roman,new york,times,serif; font-size: 12pt; color: #000000'>Hi Ilya,<br><br><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
<p>Hi Iulian!</p><p>Thank you for your answer.<br>I solved my problem with reading h5m meshes, converted from vtk files. Utility addfield realy helped me. Thank you again!</p><p>And about problem that the meshes don't cover the same domain. Yes, this is intentional. In my research I'm going to use the similar covering of meshes.</p><p id="DWT247">Could you please explain or give advice if it is possible to use coupling solution only in the region, that is common for both meshes.</p></blockquote>At the core of the method is a locate function, which tries to locate points of interest (from the target mesh) in the source mesh. You will have to call that yourself, and then handle the error. <br><br><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><p></p><p id="DWT250">In {$MOAB_dir}/tools/mbcoupler/mbcoupler_test.cpp on line 639 I found subtract function. Maybe I can use it in my situation or something analogous...</p></blockquote>that subtract is a "moab::Range" subtract, not a geometry subtract. Range is a std-like container for EntityHandle.<br><br>You can (probably) use "locate" to intersect the target and the source meshes. <br><br>Anyway, this is the "geometric" part of the coupling. After you locate the target points in the source mesh, you have to decide how to transfer the field of interest from source to target. <br><br><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><p></p><p id="DWT251">P.S. Unfortunatly I can't check par_coupler_test because of problems with compilation on my cluster, but I check mbcoupler_test running with 2 processors, this the same, if I'm not wrong.<br><br></p></blockquote>yes, it should be the same thing; <br>What compilation problems? If tools/mbcoupler is compiled fine, test/parallel should compile fine too. Maybe there are issues with "make check", as it will try to run the tests on the cluster. But compilation should be fine.<br><blockquote id="DWT252" style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><p>Thank you.</p><span style="font-size: 12px;">_______________________________
</span><br><span style="font-family: Helvetica, Arial, sans-serif; font-size: 12px;">Best regards, Ilya</span><br><br></blockquote>Thanks,<br>Iulian<br><br></div></body></html>