From 727aa2b5210a557c1ca23f143d3e7243c4496425 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 9 Sep 2010 14:03:15 +0000 Subject: [PATCH] Preparation of MEDMEM for SALOME 6x obsolete --- doc/doxygen/dualmesh.dox | 42 ---------------------------------------- 1 file changed, 42 deletions(-) delete mode 100644 doc/doxygen/dualmesh.dox diff --git a/doc/doxygen/dualmesh.dox b/doc/doxygen/dualmesh.dox deleted file mode 100644 index f4d462b30..000000000 --- a/doc/doxygen/dualmesh.dox +++ /dev/null @@ -1,42 +0,0 @@ -/*! -\page dualmesh DualMESH - -The \ref INTERP_KERNEL::DualMESH "DualMESH" class is an auxiliary class used to perform P0->P1 -interpolation in \ref interpkernel. It takes place of target mesh in -interpolation process and is initialized by the target mesh. - -DualMESH inherits from MEDMEM::MESH. It's API consists of only a -constructor with one argument of the input target MEDMEM::MESH. - -The dual mesh is a polygonal mesh in 2D space or polyhedral mesh in 3D space -consisting of dual cells built around each node of input target mesh. - -In 2D the dual cell is bound by edges connecting barycentres of cells -sharing the input node with middles of cell edges ending at the input node. - -In 3D the dual polyhedron is bound by triangle faces. Each triangle is built -on three following points: -- barycentre of a cell sharing the input node; -- barycentre of a face bounding the cell and sharing the input node; -- middle of an edge bounding the face and ending at the input node. - -\section DualMESHUsage DualMESH usage - -An exemple of DualMESH usage to perform P0->P1 interpolation with INTERP_KERNEL::Remapper : - -\code -... -std::string sourceFileName("source.med"); -MEDMEM::MESH med_source_mesh(MED_DRIVER,sourceFileName,"Source_Mesh"); -std::string targetFileName("target.med"); -MEDMEM::MESH med_target_mesh(MED_DRIVER,targetFileName,"Target_Mesh"); -FIELD sourceField(MED_DRIVER,sourceFileName,"Density",0,0); -FIELD targetField; -Remapper mapper; -mapper.prepare(med_source_mesh, DualMESH(med_target_mesh), "P0P1"); //<--- DualMESH -mapper.transfer(sourceField,targetField); -//use targetField -... -\endcode - -*/ -- 2.39.2