maybe now...
[engrid.git] / src / cgnswriter.h
bloba2c9003d25c584253965e9a2caea9fa6dfa4b88b
1 //
2 // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 // + +
4 // + This file is part of enGrid. +
5 // + +
6 // + Copyright 2008-2010 enGits GmbH +
7 // + +
8 // + enGrid is free software: you can redistribute it and/or modify +
9 // + it under the terms of the GNU General Public License as published by +
10 // + the Free Software Foundation, either version 3 of the License, or +
11 // + (at your option) any later version. +
12 // + +
13 // + enGrid is distributed in the hope that it will be useful, +
14 // + but WITHOUT ANY WARRANTY; without even the implied warranty of +
15 // + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +
16 // + GNU General Public License for more details. +
17 // + +
18 // + You should have received a copy of the GNU General Public License +
19 // + along with enGrid. If not, see <http://www.gnu.org/licenses/>. +
20 // + +
21 // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
23 #ifndef CGNSWRITER_H
24 #define CGNSWRITER_H
26 class CgnsWriter;
28 #include "iooperation.h"
30 #ifdef CGNS_SUPPORT
31 #include "cgnslib.h"
32 #endif
34 /**
35 * Writer for CGNS files.
37 class CgnsWriter : public IOOperation
40 protected: // attributes
42 int fn;
43 int B;
44 int Z;
45 QVector<int> eg2cgns;
47 protected: // methods
49 void writeGrid();
50 void writeBcs();
51 virtual void operate();
53 public: // methods
55 CgnsWriter();
59 #endif // CGNSWRITER_H