1 # SOME DESCRIPTIVE TITLE.
2 # Copyright (C) 2015-2020, Geay, Bruneton
3 # This file is distributed under the same license as the MEDCoupling User's
5 # FIRST AUTHOR <EMAIL@ADDRESS>, 2018.
10 "Project-Id-Version: MEDCoupling User's Guide 8.4.0\n"
11 "Report-Msgid-Bugs-To: \n"
12 "POT-Creation-Date: 2018-05-14 14:14+0300\n"
13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
15 "Language-Team: LANGUAGE <LL@li.org>\n"
17 "Content-Type: text/plain; charset=utf-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Generated-By: Babel 2.0\n"
21 # ccc0f4502971404bb98ef4ff2f7901f4
22 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:2
26 # 48552fbfd5ea49b78aea30fa83d9a9f2
27 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:5
28 msgid "Object size in memory"
31 # a47ff2b84ce24947b5f909bcb8d884a2
32 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:7
34 "medcoupling provides information on memory occupied by every object: "
35 "mesh, field, array etc.:"
38 # 8824315c08944d6bb207964f13d518cd
39 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:14
43 # 358bb088780342e6a5d2542e6a5dffee
44 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:19
45 msgid "Extract for meshes"
48 # aff67f901cae4028ad0c1859dfd1b334
49 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:21
51 "If *m* is a mesh (MEDCouplingUMesh) and *Ids* a list of cell ids, you can"
52 " extract the mesh ids by simply doing :"
55 # cff3cbd7d4fc4abb9c7cc2724c87c290
56 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:30
58 "*m* (to the left) and *part* extracted by calling m[1,2,4,5,7,8] (to the "
62 # e0b1ec21292b43c0a8155200cae7bb00
63 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:32
64 msgid "in medcoupling ids count from zero unlike SMESH where they count from one."
67 # 4ce9bac3df0c4908be951ec654317ffe
68 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:34
70 "*part* is also a MEDCouplingUMesh with same coordinates than *m*. Reason "
71 "is that medcoupling tries to reduce memory effort."
74 # 819727e2481b4868981c0abc8c083284
75 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:36
77 "But it's highly likely that some nodes in part will be not fetched by "
81 # 4eba3e39bfae4854b2ea36c8d3be6ad1
82 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:38
83 msgid "It can be interesting to locate the fetched nodes."
86 # a058f4f2a5d1425b98ae4785cd743561
87 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:47
89 "part.computeFetchedNodeIds() returns [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, "
90 "12, 13, 14, 15, 16]. Ids 0 and 17 are not fetched"
93 # cfa0842d7650425e989358c11032c5b8
94 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:49
95 msgid "To extract coordinates, simply invoke"
98 # df1b4205d6e14d39b8676331153baa1a
99 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:55
101 "It can be interesting to reduce set of points *part* is lying on. Simply "
105 # 2385a00c95e44f1d88b3aa7ae88e8373
106 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:61
108 "Or it can be interesting for further data handling to have both reduction"
112 # 8bf3c07be8ac48bbafb0ed4848fb647c
113 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:67
114 msgid "To have more information about *o2n* read renumbering_ section."
117 # 9184686efb5c4dcfa24ad90f20641649
118 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:71
120 "Extraction in meshes often leads to locate cells/nodes regarding their "
124 # 92332ed062ac4fe8ba1be6ae5eb2e5de
125 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:73
126 msgid "Let's consider *m2* 3D mesh. To locate nodes on boundaries simply invoke :"
129 # facd3e1c4cff4cc49b606ce00cc1029a
130 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:79
131 msgid "And now to extract cells lying on boundary nodes simply call :"
134 # 6e5940d6180e4737896b080686d44304
135 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:85
137 "False means if a cell has at least one node in *bn*, take it. True means "
138 "if all nodes of cell are in *bn*, take it."
141 # 5942293262a1405da7ae131187372966
142 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:87
144 "If a mesh consists of several contiguous zones of cells, it is possible "
145 "to retrieve cell ids of each zone:"
148 # 192b40a09d6e4f089ff1684f967af715
149 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:92
150 msgid "A mesh with two zones"
153 # 2beed69cf53d46589263f237228926ee
154 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:98
155 msgid "Zones returned by partitionBySpreadZone are::"
158 # 457ad15813134b65840368d746309b2b
159 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:103
160 msgid "Extract for arrays"
163 # f609934b9fec46df8d194e6526d52888
164 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:105
166 "Arrays are the common entry point to selection. If *arr* is a 2 component"
167 " DataArrayDouble you can locate tuple ids by finding those whose first "
168 "component is in [a,b):"
171 # e7393446b08347febd75786cbcce74bb
172 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:111
173 msgid "Or you can find tuples whose magnitude is in [c,d):"
176 # e44ff0cf176547a994d679ccd0d6d763
177 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:117
178 msgid "To find which of *tupleIds* are missing from *tupleIds1*, call"
181 # b1c2e151b0714c178f903a90d5a475da
182 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:125
183 msgid "Extract for fields"
186 # 0c6debe20e13486daa6e13354b67ccde
187 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:127
189 "If *field4* is a MEDCouplingFieldDouble, you can extract a sub-part of "
190 "*field4* on a specified cell ids *ids4* by doing"
193 # c24189fc03e649989f6f791a8c89e48b
194 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:133
195 msgid "It works whatever the spatial discretization of *field4*"
198 # 35cbd297f40d4be4a3803e421735b9c8
199 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:138
201 "A field on nodes (to the left) and its sub-field on a half of nodes (to "
205 # bbe4aa2431e14578970b9404d5698f99
206 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:140
207 msgid "You can extract a field on plane by cutting *field5* like this:"
210 # 632193d8ffea4b73a52bba73a4391516
211 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:146
213 "The plane is defined by its *origin* and its normal vector *normvec*. The"
214 " last argument is a half-thickness of the plane."
217 # 6db3a5fbf32c4e989362e222b35dc3cd
218 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:148
219 msgid "It works for fields on cells only"
222 # edc2927c5ee2479594c2437be7421716
223 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:153
224 msgid "A field on cells (to the left) and a sub-field on a plane (to the right)"
227 # 9831255d19864f77b5f223c3462a85cb
228 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:159
229 msgid "Geometric handling of unstructured meshes"
232 # 5e2faf5cfdd14b1788772f03a399dacd
233 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:161
235 "Consider *m2* as a 3D MEDCouplingUMesh instance. You can translate it by "
239 # cf0c3af4895849299a1700292a6f33c8
240 # 9ac56283057e4ab1a0c041de99ed465e
241 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:167
242 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:179
243 msgid "Which is equivalent to"
246 # 2936437cde6341e59cd47aa99d7843cf
247 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:173
249 "Samely you can simply rotate it around the point [1,2,1] along Y axis "
250 "with an angle of pi/3 by doing"
253 # d1c1cacf9a9d4163b77f7786fbdea457
254 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:185
255 msgid "To scale *m2* relative to point [1,2,4] by a factor of 6, call"
258 # 5744c0eec4a6487c92e18c3acd7701e6
259 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:191
261 "It can also interesting to retrieve volume of cells in m2 (resp area, "
265 # 91a5f984e9474f29b80fd7a8a57a2557
266 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:197
268 "*volPerCell* is a field on cell (MEDCouplingFieldDouble). *True* means I "
269 "don't care of cell orientation. *False* tells I care of cell orientation "
270 "using signed values."
273 # 06fc9120bd4b4fba9416271ba5be33f5
274 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:202
275 msgid "Area field of a cartesian mesh"
278 # 62e7fe979c3a4ee88ef1a6b434ea1d51
279 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:204
280 msgid "You can compute total volume covered by mesh by doing"
283 # 9bdd0a1e57714495b2f7c3eae95d5e0d
284 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:210
286 "You also can locate cells (using *cellIds*) having volume greater than a "
290 # 1294aa862e81419b9ebd476cb496499c
291 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:216
293 "In this case it is easy to :ref:`build a sub-mesh<extract_for_meshes>` "
294 "containing cells having a volume higher than *t1*:"
297 # 4eaf169e0eb6407493f5232d0e303203
298 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:222
299 msgid "There are other common geometric methods on meshes:"
302 # f2a89143b81b428f86be275a6b178b91
303 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:228
305 "*centers* will be a DataArrayDouble giving for each cell of *m2* its "
309 # 2040297dab7f434aaf8d5a50adabdbab
310 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:230
312 "It's possible to compute a DataArrayDouble giving the center of mass of "
313 "*m2* simply by doing"
316 # d35aee9d090349929fe0f06b3d884734
317 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:236
318 msgid "Iso barycenter of nodes constituting each cell can be computed by calling"
321 # cc9cb665bce14af49a2f43a011a2d49f
322 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:242
323 msgid "*ibc* will be a DataArrayDouble."
326 # 525e5b78edbb4371abe23f10dc01ec93
327 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:244
329 "You can retrieve a field (MEDCouplingFieldDouble) of unitary vectors "
333 # c3e083095f174584933fd5ca8d9b3c6d
334 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:253
336 "A skin mesh with a normal field on it computed by buildOrthogonalField "
340 # b46f8b1f9059453ea7fdeec97022d9ed
341 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:255
343 "You also have a set of methods to caracterize mesh quality: "
344 "getEdgeRatioField, getAspectRatioField, getWarpField, getSkewField, "
345 "computeDiameterField."
348 # 53047aa31028496cbcc6be12565fa692
349 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:258
351 "medcoupling provides methods to intersect 2D meshes in 2D space. "
352 "MEDCouplingUMesh.Intersect2DMeshWith1DLine partitions a 2D and a 1D mesh:"
355 # 942fde1e54ca4299ac545024ffd19e91
356 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:264
358 "The last argument is a precision used to perform intersections and "
359 "localization operations."
362 # 0b09a0881fbd4513b67c0747d8fdfe80
363 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:269
364 msgid "2D and 1D meshes before and after intersection"
367 # 81ad5cfdbc8641dcbb670c243d1d6bbb
368 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:271
370 "Intersect2DMeshWith1DLine returns new 2D and 1D meshes and two arrays. "
371 "*a2d* gives for each cell in *m2d* the id in *mesh2d* it comes from. "
372 "*a1d* is an array of pair that gives for each cell id i in *m1d* the cell"
373 " in *md2* on the left for the 1st component and the cell in *m2d* on the "
374 "right for the 2nd component. -1 means no cell."
377 # 967d6c9dc64f42a1a5946e41c9c7bd7b
378 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:273
379 msgid "For the example in the picture above *a2d* is::"
382 # 7014ddb55ea249a688e2d85eedc2d298
383 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:277
384 msgid "and *a1d* is::"
387 # ae51d6687aa04888b29987eef1f2b135
388 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:281
389 msgid "There also a method to partition a 2D mesh by another 2D mesh:"
392 # fa4718067f704d5e9e65ba9c2753c6ab
393 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:290
395 "Two 2D meshes before partitioning (to the left) and a result mesh after "
396 "partitioning (to the right)"
399 # 625a1767d1704712af9a6883503ba150
400 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:292
402 "Intersect2DMeshes returns a new 2D mesh and two arrays. *a1* gives for "
403 "each result cell an id of the cell of *mesh1* it comes from. *a2* for "
404 "each result cell gives an id of the cell of *mesh2* it comes from."
407 # db5ca252adf54438b222a1e8bd76ed8a
408 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:294
410 "You can compute distance from a set of points to cells of a mesh by "
414 # f5a657b58eae45549766808f8aaa4a78
415 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:300
417 "This method returns distance and a closest cell id for each of given "
418 "*points*. *points* is a DataArrayDouble with 3 components. Returned "
419 "*dist* is a DataArrayDouble and *cells* is a DataArrayInt."
422 # 6ca71e019ada4e3d9e867ea016754e69
423 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:303
424 msgid "Mesh comparison"
427 # 219cbe7a55bf4a8e8d4ea2a3fe76805a
428 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:305
430 "It is a common question. You have two meshes *m1* and *m2* coming from 2 "
431 "different sources (2 files) and expected to be more or less equivalent."
434 # e01c6ae4e7dc466f82e5b61b43a37ffc
435 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:307
437 "medcoupling proposes some methods to help to caracterize equivalence of "
441 # 9ad14ff7da9c42728f14369025b553f0
442 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:309
443 msgid "The first, the strongest, is informatical equality:"
446 # 0cac768b3c0c4068980bf1289df5fd3d
447 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:315
448 msgid "*eps* is the tolerance in coordinates."
451 # 2e94e699afbf4254a0af799517f5e3d4
452 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:317
453 msgid "If true is returned, you are lucky."
456 # 12a398bbc2a243158f9243b2945dfea0
457 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:319
458 msgid "Sometimes only names (and or component names or units) are not the same:"
461 # bff6d14773744daaa1f037cc5f234c3d
462 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:325
464 "But sometime the last call also returns False. It may mean that there is "
465 "a permutation of nodes and or cells."
468 # f01d328afb914c4e8feecb25e3599ff8
469 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:327
471 "If you know by construction that *m1* and *m2* share the same coords "
475 # e7e7df8dfebd4e76b797661493c4fea3
476 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:333
478 "checkGeoEquivalWith returns 2 elements. The first one is relative to "
479 "cells and the second one is relative to nodes."
482 # 081cdffbfe0a4a79a9712a0fae92e01f
483 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:335
485 "If the mapping between *m1* and *m2* is impossible regarding the "
486 "specified code an exception is thrown. Code meaning:"
489 # c3323332ab6b42a4b62f3bf6b490a9b9
490 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:338
492 "20=2*10+0. 2 tells I know that coords are the same. 0 tells two cells are"
493 " equal if and only if their connectivity is exactly the same."
496 # d19fb1e351d74b61a1f78a7dd51641a6
497 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:339
499 "21=2*10+1. 2 tells I know that coords are the same. 1 tells two cells are"
500 " equal if and only if their connectivity is equal within a circular "
504 # 00a3c108006e431ba8484bfea37c4ea0
505 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:340
507 "22=2*10+2 . 2 tells I know that coords are the same. 2 tells two cells "
508 "are equal if and only if nodes set is the same independently from "
509 ":ref:`order <renumber_for_MED>`."
512 # 028a6030afb94053b1a36bb667b6b4e4
513 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:342
515 "If you expect that two meshes are geometrically the same without knowing "
516 "if there is any cell/node permutation use code 12:"
519 # 70e30890cc2b4ea58f979e56484d58dd
520 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:348
522 "Code meaning: 12=1*10+2. 1 tells coords can be different. 2 tells two "
523 "cells are equal if and only if nodes set is the same independently from "
527 # 31d650961eb04249b76864746e75f644
528 # de9c3317cf72475e8ccc61e2619b8331
529 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:350
530 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:369
534 # db4203bc3df24c7db4b77e513cad9d25
535 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:352
537 "*a* and/or *b* may be *None*. It's not a bug it only means that "
538 "renumbering is equal to identity, meaning that no associated permutation "
542 # ce729fd6a7af43b3a3c3d37ab2898ffa
543 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:355
544 msgid "Common handling mesh"
547 # eb7ac9dea5494b3f93654d58e926e46a
548 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:357
550 "*field1* is a node field containing non simplex cells. simplexize on "
551 "field1.getMesh() can help to overpass this limitation."
554 # 9e4f6908d5634bf4866da2e95184933c
555 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:367
556 msgid "Initial mesh (to the left) and its simplexization (to the right)"
559 # b879d71bdf444e6795cc5e133a089d2a
560 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:371
562 "The mesh has been modified by simplexize. This method of simplexization "
563 "is fast but leads to non conform mesh that can be a problem in some "
567 # 71404e6d56fb40d2bbb40016f2ebf82d
568 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:373
570 "tetrahedrize method is dedicated to simplexization of 3D meshes only. It "
571 "can create a conform mesh. Unlike simplexize method, tetrahedrize method "
572 "can add new points to the result mesh."
575 # f35b4cbdaf8a458c834cc3f9968b3f12
576 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:379
578 "The argument specifies how to split hexahedral cells. it must be in "
579 "(PLANAR_FACE_5, PLANAR_FACE_6, GENERAL_24, GENERAL_48). *n2ocells* is a "
580 "DataArrayInt holding, for each new cell, an id of old cell producing it. "
581 "*np* is a number of new points."
584 # 4c4252426c0241cd9dd7f1e0fccafb89
585 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:383
587 "Using medcoupling you can create a 3D extruded mesh. To do that you need "
588 "a 2D mesh and a 1D mesh, which defines the vector of extrusion and the "
589 "number of steps. The both meshes must be in 3D space. To extrude a 2D "
590 "mesh *m2* along a 1D mesh *m1*, call"
593 # 4f1da84836374e3aa73a2187ab679566
594 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:389
595 msgid "The last argument is a policy defining the type of extrusion:"
598 # e8a4d82d1c734e328efb9471525fd10f
599 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:391
601 "0 means \"translation only\": the cells of the 1D mesh represent the "
602 "vectors along which the 2D mesh will be repeated to build each level."
605 # 2bfacb219712433ebc79f4e1c17c78eb
606 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:392
608 "1 means \"translation and rotation\": the translation is done as above. "
609 "For each level, an arc of circle is fitted on the 3 preceding points of "
610 "the 1D mesh. The center of the arc is the center of rotation for each "
611 "level, the rotation is done along an axis normal to the plane containing "
612 "the arc, and finally the angle of rotation is defined by the first two "
616 # 37bf817efcb04ffb8fd98354b7d6a3f3
617 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:398
619 "A 2D mesh and an 1D mesh (to the left), an extrusion mesh built with "
620 "policy=0 (in the middle) and with policy=1 (to the right)"
623 # 408fcfdb7c4040c6941eb2e6655f82ef
624 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:401
626 "In order to aggregate several meshes of the same dimension into one mesh,"
630 # 76f1412967b84d72a5eb1d609b446c05
631 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:407
632 msgid "To transform a linear mesh into a quadratic one, call"
635 # be7ff7ac30bd42c5a089720cff825303
636 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:413
637 msgid "A parameter of convertLinearCellsToQuadratic provides type of conversion:"
640 # 62e7b1ee31e7420b8b3595188e08af71
641 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:415
642 msgid "0 creates cells of simple quadratic types, e.g. NORM_TRI6 and NORM_QUAD8"
645 # ce879de72e6b443b92ca65ed6ed33094
646 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:416
647 msgid "1 creates cells of complex quadratic types, e.g. NORM_TRI7 and NORM_QUAD9"
650 # bad055d04747446a87eb3f23a849ea6f
651 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:421
653 "Result quadratic 2D meshes converted with typeOfConversion=0 (to the "
654 "left) and typeOfConversion=1 (to the right)"
657 # db113d3d38e54939b557d6cf56e674f5
658 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:423
659 msgid "It's common to deduce skin of a mesh *m1*:"
662 # 3d4ec07a1ed44ba9946e6dd6a365a88f
663 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:429
664 msgid "*skin* and *m1* share the same coordinate array."
667 # fa0441823ce3400283377bc1142eb982
668 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:434
669 msgid "A 2D mesh (to the left) and its skin (to the right)"
672 # 936f7ba80493444fb116740386d10873
673 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:438
674 msgid "In order to get a 1D mesh from a given 2D or 3D mesh, call"
677 # e66ce51e7a494f28bb576511d07a0c1d
678 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:444
680 "In addition to *mesh1d*, explodeIntoEdges method returns four arrays "
681 "describing descending connectivity and reverse descending connectivity in"
682 " indirect-indexing_ format. *d* and *di* describe the descending "
683 "connectivity, i.e. enumerate cells of *mesh1d* bounding each cell of "
684 "*mesh3d*. *r* and *ri* describe the reverse descending connectivity, i.e."
685 " enumerate cells of *mesh3d* bounded by each cell of *mesh1d*."
688 # 114011e35261476b81abc3b7b5133de7
689 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:451
691 "A 2D mesh (to the left) and a 1D mesh returned by explodeIntoEdges (to "
695 # 3cbd0097f88540c88ee0a3509715b185
696 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:453
698 "There is also a method similar to explodeIntoEdges_ which returns a mesh "
699 "of one less dimensions than a given mesh, i.e. 3D->2D or 2D->1D:"
702 # cec04dc5eb174a27b2d5b1387e425121
703 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:459
705 "If a mesh is non-conformal, medcoupling can make it conformal. "
706 "conformize2D method is to conformize a 2D mesh in 2D space, conformize3D "
707 "is to conformize a 3D mesh in 3D space:"
710 # 7540d0c02b1c4ae19e93f5c1f74cc0ac
711 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:465
713 "*changedCells* is an array of ids of changed cells. The changed cells "
714 "become polygons in 2D and polyhedrons in 3D. *eps* is the relative error "
715 "to detect merged edges."
718 # ae9c14efacaa422ba1678fec271fce3f
719 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:467
720 msgid "You can duplicate some nodes in a mesh by calling"
723 # fba2db54d418445587cd81be1df9d1b8
724 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:473
726 "This will create new nodes at locations of nodes #3 and #4, the new nodes"
727 " will replace nodes #3 and #4 within cells so that the nodes #3 and #4 "
728 "will become orphan."
731 # 8c9fee34bea74ad3a18d33f92085bc1a
732 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:475
733 msgid "Inversly it is possible to merges nodes equal within a given precision:"
736 # 1204d037405e4dc8b910cc4dda1b4b50
737 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:481
739 "If your 2D mesh in 3D space includes incorrectly oriented cells, you can "
740 "fix their orientation by calling:"
743 # 06ebadb9784a437da89a8ef36cb9cf45
744 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:487
746 "The last argument if True, only polygons are checked, else, all cells are"
750 # f983944be9ef41c6a35e2d220966d19b
751 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:492
753 "A mesh before applying orientCorrectly2DCells (to the left) and after (to"
757 # 7bfa2f0def7841078cff03023f328edd
758 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:494
760 "If your mesh includes incorrectly oriented polyhedra, the following "
761 "method can help to fix your mesh:"
764 # 833104bfec2b4dc49e90423cdfad3fdc
765 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:500
767 "If *m1d* is a 1D line mesh, you can ensure consecutive order of its "
768 "segments by calling"
771 # 41c0d95f0ec043e189edabd63af48aa3
772 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:509
773 msgid "1D mesh before and after renumbering"
776 # 7c6126f3e2364deeb90321d5fcb5f368
777 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:511
779 "orderConsecutiveCells1D method returns a permutation map in new-to-old_ "
780 "mode but renumberCells method requires the map in old-to-new_ mode, hence"
781 " we use invertArrayN2O2O2N method to fit to that requirement."
784 # dc9a64e66f73459a834f9c4e7a4dd87b
785 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:519
787 "To arrange cells to comply with MED format requirement you can call "
788 "either of the following methods:"
791 # ed1a5d48791742c0873ccbd0bc598c55
792 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:526
794 "It is also possible to rearrange, and even remove, nodes by calling "
798 # 754edb49fbf44278abeb714d0b84b58c
799 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:532
801 "The code above rearranges a mesh with 4 nodes so that old node #0 "
802 "becomes #2, old node #1 remains #1, old node #2 becomes #0, old node #3 "
803 "is removed. The last argument 3 means that number of nodes becomes 3."
806 # d2ffd70e9a1e418bb891bc73f9f537f9
807 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:537
809 "The mesh before renumberNodes (to the left) and after (to the right). "
810 "Shown Ids are a unit more than Ids in medcoupling"
813 # d0f1ae55b5f14f95a2bc771ab9e1f361
814 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:540
815 msgid "Operations on fields"
818 # df5f52750c4640928b649f5834a54ca5
819 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:542
820 msgid "Integral of a *field* can be computed by calling"
823 # 110625252a644bf7b94503e54ed48d30
824 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:548
826 "The first call returns a list of integrals of all components. The second,"
827 " returns integral of 0-th component. True means that abs is applied to "
828 "support size used for computing the integral."
831 # 223abe29aa81459783bc324283294cee
832 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:550
834 "deviator method returns the stress deviator tensor field of a stress "
835 "tensor *field* (with 6 components):"
838 # fb6cd2a195b04ded862302ccd288416d
839 #: ../../../../MEDCOUPLING_SRC/doc/user/input/data_analysis.rst:556
840 msgid "To get value of a *field* at certain *points* call"