Salome HOME
MEDMEM suppression
[modules/med.git] / src / MEDSPLITTER / MEDSPLITTER_SequentialTopology.cxx
1 // Copyright (C) 2007-2013  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.
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 #include "MEDMEM_SkyLineArray.hxx"
20 #include "MEDMEM_ConnectZone.hxx"
21 #include "MEDMEM_DriversDef.hxx"
22 #include "MEDMEM_Mesh.hxx"
23 #include "MEDMEM_Exception.hxx"
24
25 #include "MEDSPLITTER_Topology.hxx"
26 #include "MEDSPLITTER_SequentialTopology.hxx"
27
28 using namespace MEDSPLITTER;
29   
30 SequentialTopology::SequentialTopology(){throw MEDEXCEPTION("SequentialTopology - not implemented yet");}
31
32 SequentialTopology::SequentialTopology(std::vector<MEDMEM::MESH*>, std::vector<MEDMEM::CONNECTZONE*>){throw MEDEXCEPTION("SequentialTopology - not implemented yet");}
33
34 //!converts a list of global cell numbers
35 //!to a distributed array with local cell numbers
36 void SequentialTopology::convertGlobalNodeList(const int*, int,int*,int*){}
37
38 //!converts a list of global node numbers
39 //!to a distributed array with local cell numbers
40 void SequentialTopology::convertGlobalCellList(const int*, int , int*, int *){}
41
42 //number of doamins
43 int SequentialTopology::nbDomain() const
44 {
45   return 0;
46 }
47
48 //number of cells
49 int SequentialTopology::nbCells() const
50 {
51   return 0;
52 }
53
54 //number of cells on a specific domain
55 int SequentialTopology::nbCells(int idomain) const
56 {
57   return 0;
58 }
59
60 //!creating node mapping 
61 void SequentialTopology::createNodeMapping(vector<int*> type_connectivity,int* present_type_numbers, int idomain){}
62
63 //!converting node global numberings to local numberings
64 void SequentialTopology::convertToLocal(vector<int*> type_connectivity,int* present_type_numbers){}
65
66 //!retrieving number of nodes
67 int SequentialTopology::getNodeNumber(int idomain) const
68 {
69   return 0;
70 }
71
72 //!retrieving list of nodes
73 void SequentialTopology::getNodeList(int idomain, int* list) const{}
74
75 //!retrieving number of cells
76 int SequentialTopology::getCellNumber(int idomain) const
77 {
78   return 0;
79 }
80
81 //!retrieving list of cells
82 void SequentialTopology::getCellList(int idomain, int* list) const{}