Salome HOME
*** empty log message ***
[modules/multipr.git] / src / MULTIPR / MULTIPR_MeshDis.hxx
index f71a066d1e8a43dec134059d4857a6824b372df0..603bff655d0a322418a58dff1470a765c6ff1299 100644 (file)
@@ -288,6 +288,7 @@ public:
        
        /**
         * Removes all the part beginning by pPrefixPartName from this distributed mesh.
+        * Example: if pPrefixPartName="PART_4" => remove "PART_4" and all sub-parts "PART_4_*", but not "PART41".
         * \param  pPrefixPartName name of the part.
         */
        void removeParts(const char* pPrefixPartName);
@@ -376,6 +377,23 @@ public:
                med_float   pTLow,
                med_float   pRadius,
                int         pBoxing = 100);
+               
+       /**
+        * Returns useful information to configure decimation parameters.
+        * Depends on part, field and filter: generic operation.
+        * \param  pPartName     name of the part.
+        * \param  pFieldName    name of the field used for decimation.
+        * \param  pFieldIt      iteration (time step) of the field.
+        * \param  pFilterName   name of the filter to be used.
+        * \param  pFilterParams params to be used with the filter (depends on filter; this string will be parsed).
+        * \return 
+        */
+       std::string evalDecimationParams(
+               const char* pPartName, 
+               const char* pFieldName, 
+               int         pFieldIt, 
+               const char* pFilterName,
+               const char* pFilterParams);
        
        //---------------------------------------------------------------------
        // I/O