Salome HOME
Merge branch 'master' into gni/adaptation
[modules/smesh.git] / src / ADAPTFrontTrack / FrontTrack.hxx
1 // Copyright (C) 2017-2020  CEA/DEN, EDF R&D
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License, or (at your option) any later version.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19 // File      : FrontTrack.hxx
20 // Created   : Tue Apr 25 17:08:52 2017
21 // Author    : Edward AGAPOV (eap)
22
23
24 #ifndef __FrontTrack_HXX__
25 #define __FrontTrack_HXX__
26
27 #include <vector>
28 #include <string>
29
30 class FrontTrack
31 {
32 public:
33
34   /*!
35    * \brief Relocate nodes to lie on geometry
36    *  \param [in] theInputMedFile - a MED file holding a mesh including nodes that will be
37    *         moved onto the geometry
38    *  \param [in] theOutputMedFile - a MED file to create, that will hold a modified mesh
39    *  \param [in] theInputNodeFiles - an array of names of files describing groups of nodes that
40    *         will be moved onto the geometry
41    *  \param [in] theXaoFileName - a path to a file in XAO format  holding the geometry and
42    *         the geometrical groups.
43    *  \param [in] theIsParallel - if \c true, all processors are used to treat boundary shapes
44    *          in parallel.
45    */
46   void track( const std::string&                 theInputMedFile,
47               const std::string&                 theOutputMedFile,
48               const std::vector< std::string > & theInputNodeFiles,
49               const std::string&                 theXaoFileName,
50               bool                               theIsParallel=true);
51
52 };
53
54 #endif