waves
Basic FE playground
wVtkExport_KIM2CLEAN.h
Go to the documentation of this file.
1 /*
2  * Copyright 2022 University of Liège
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef WVTKEXPORT_KIM2CLEAN_H
18 #define WVTKEXPORT_KIM2CLEAN_H
19 
20 #include "katoptron.h"
21 #include <string>
22 #include <memory>
23 #include <vector>
24 #include <map>
25 
26 #ifndef SWIG
27 
28 namespace tboxVtk
29 {
30 
46 {
47 public:
48  std::shared_ptr<tbox::MshData> msh;
49 
50  VtkExport_KIM2CLEAN(std::shared_ptr<tbox::MshData> _msh);
51  virtual ~VtkExport_KIM2CLEAN() {}
52 
53  void save_MPI(std::string const &fname,
54  tbox::Results const &r,
55  std::map<int, int> nodeWO_LO_to_GO,
56  std::map<int, int> nodeWO_GO_to_LO,
57  std::map<int, int> elements_GO_to_LO) const;
58  void save_MPI(std::string const &fname,
59  tbox::Results const &r,
60  std::vector<int> contactElementID,
61  std::map<int, int> nodeWO_LO_to_GO,
62  std::map<int, int> nodeWO_GO_to_LO) const;
63 };
64 
65 } // namespace tboxVtk
66 
67 #endif
68 
69 #endif //WVTKUTILS_KIMTOCLEAN_H
KATOPTRON_API
#define KATOPTRON_API
Definition: katoptron.h:13
tboxVtk
Definition: wVtkExport_KIM2CLEAN.h:28
tboxVtk::VtkExport_KIM2CLEAN
Save routines of Kim.
Definition: wVtkExport_KIM2CLEAN.h:45
tboxVtk::VtkExport_KIM2CLEAN::~VtkExport_KIM2CLEAN
virtual ~VtkExport_KIM2CLEAN()
Definition: wVtkExport_KIM2CLEAN.h:51
tboxVtk::VtkExport_KIM2CLEAN::msh
std::shared_ptr< tbox::MshData > msh
Definition: wVtkExport_KIM2CLEAN.h:48
katoptron.h