1 // Copyright (C) 2012-2013 EDF
3 // This file is part of SALOME HYDRO module.
5 // SALOME HYDRO module is free software: you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License as published by
7 // the Free Software Foundation, either version 3 of the License, or
8 // (at your option) any later version.
10 // SALOME HYDRO module is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with SALOME HYDRO module. If not, see <http://www.gnu.org/licenses/>.
25 #include "Mascaret.hxx"
28 // Instantiate template used by Mascaret
29 %template(MascaretFileVector) std::vector<SalomeHydro::MascaretFile>;
32 %catches(SalomeHydro::MascaretException, ...) SalomeHydro::Mascaret::Mascaret();
33 %catches(SalomeHydro::MascaretException, ...) SalomeHydro::Mascaret::~Mascaret();
34 %catches(SalomeHydro::MascaretException, ...) SalomeHydro::Mascaret::importModel(const MascaretFileList & fileList);
35 %catches(SalomeHydro::MascaretException, ...) SalomeHydro::Mascaret::initState(const std::string & ligFileName);
36 %catches(SalomeHydro::MascaretException, ...) SalomeHydro::Mascaret::compute(double startTime, double endTime, double timeStep);
37 %catches(SalomeHydro::MascaretException, ...) SalomeHydro::Mascaret::compute();
38 %catches(SalomeHydro::MascaretException, ...) SalomeHydro::Mascaret::getInt(const std::string & varName, int index1, int index2, int index3);
39 %catches(SalomeHydro::MascaretException, ...) SalomeHydro::Mascaret::getDouble(const std::string & varName, int index1, int index2, int index3);
40 %catches(SalomeHydro::MascaretException, ...) SalomeHydro::Mascaret::setInt(const std::string & varName, int index1, int index2, int index3, int value);
41 %catches(SalomeHydro::MascaretException, ...) SalomeHydro::Mascaret::setDouble(const std::string & varName, int index1, int index2, int index3, double value);
43 %include "Mascaret.hxx"