From c9c10bd3e518483d77dab3dcd77a5ee21a636838 Mon Sep 17 00:00:00 2001 From: ageay Date: Wed, 4 Jul 2012 12:21:44 +0000 Subject: [PATCH] Docs refactoring. --- doc/doxygen/medcouplingexamples.doxy | 2 +- src/MEDCoupling_Swig/MEDCouplingExamplesTest.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/doxygen/medcouplingexamples.doxy b/doc/doxygen/medcouplingexamples.doxy index 65a0b3bf2..1c03b7855 100644 --- a/doc/doxygen/medcouplingexamples.doxy +++ b/doc/doxygen/medcouplingexamples.doxy @@ -69,7 +69,7 @@ At this level mesh is usable. When this mesh is no more needed simply call decrR /*! \page medcouplingcppexamplesUmeshAdvBuild1

Example of advanced build of an unstructured mesh from scratch in C++

-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. diff --git a/src/MEDCoupling_Swig/MEDCouplingExamplesTest.py b/src/MEDCoupling_Swig/MEDCouplingExamplesTest.py index eac187a30..5083ec118 100644 --- a/src/MEDCoupling_Swig/MEDCouplingExamplesTest.py +++ b/src/MEDCoupling_Swig/MEDCouplingExamplesTest.py @@ -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] -- 2.39.2