]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Docs refactoring.
authorageay <ageay>
Wed, 4 Jul 2012 12:21:44 +0000 (12:21 +0000)
committerageay <ageay>
Wed, 4 Jul 2012 12:21:44 +0000 (12:21 +0000)
doc/doxygen/medcouplingexamples.doxy
src/MEDCoupling_Swig/MEDCouplingExamplesTest.py

index 65a0b3bf22db3a4d47e10f6c70201dd6ac6e6581..1c03b7855683bcc46c435fd32e4ccab08fd29f95 100644 (file)
@@ -69,7 +69,7 @@ At this level mesh is usable. When this mesh is no more needed simply call decrR
 /*!
 \page medcouplingcppexamplesUmeshAdvBuild1 <br><h1> Example of advanced build of an unstructured mesh from scratch in C++ </h1>
 
-Firstly retrieve basic data in full interlace mode for coordinates, and nodal connectivity cell per cell.
+Firstly retrieve basic data in full interlace mode for coordinates, and nodal connectivity cell per cell, cell type \b included (3 for INTERP_KERNEL::NORM_TRI3 and 4 for INTERP_KERNEL::QUAD4).
 \snippet MEDCouplingExamplesTest.cxx CppSnippetUMeshAdvBuild1_1
 
 Then create ParaMEDMEM::MEDCouplingUMesh instance giving its meshdimension (2 here) and a name.
index eac187a30ddcff816b60f3d1c1e96948424da1ac..5083ec11872cfcdd8ee5fb8f807375b16e14b003 100644 (file)
@@ -137,6 +137,7 @@ class MEDCouplingBasicsTest(unittest.TestCase):
         pass
 
     def testExampleUMeshStdBuild1(self):
+# ! [PySnippetUMeshStdBuild1_1]
         coords=[-0.3,-0.3,0.,   0.2,-0.3,0.,   0.7,-0.3,0.,   -0.3,0.2,0.,   0.2,0.2,0., 
                  0.7,0.2,0.,    -0.3,0.7,0.,    0.2,0.7,0.,     0.7,0.7,0. ]
         nodalConnPerCell=[0,3,4,1, 1,4,2, 4,5,2, 6,7,4,3, 7,8,5,4]
@@ -163,6 +164,7 @@ class MEDCouplingBasicsTest(unittest.TestCase):
         pass
 
     def testExampleUMeshAdvBuild1(self):
+# ! [PySnippetUMeshAdvBuild1_1]
         coords=[-0.3,-0.3,0.,   0.2,-0.3,0.,   0.7,-0.3,0.,   -0.3,0.2,0.,   0.2,0.2,0., 
                  0.7,0.2,0.,    -0.3,0.7,0.,    0.2,0.7,0.,     0.7,0.7,0. ]
         nodalConnPerCell=[4,0,3,4,1, 3,1,4,2, 3,4,5,2, 4,6,7,4,3, 4,7,8,5,4]