svMultiPhysics
Loading...
Searching...
No Matches
vtk_xml.h
1// SPDX-FileCopyrightText: Copyright (c) Stanford University, The Regents of the University of California, and others.
2// SPDX-License-Identifier: BSD-3-Clause
3
4#include "Simulation.h"
5#include "SolutionStates.h"
6#include "ComMod.h"
7#include "Array.h"
8
9#ifndef VTK_XML_H
10#define VTK_XML_H
11
12namespace vtk_xml {
13
14void do_test();
15
16void int_msh_data(const ComMod& com_mod, const CmMod& cm_mod, const mshType& lM, dataType& d, const int outDof, const int nOute);
17
18void read_vtp(const std::string& file_name, faceType& face);
19
20void read_vtp_pdata(const std::string& fName, const std::string& kwrd, const int nsd, const int m, const int idx, faceType& face);
21
22void read_vtu(const std::string& file_name, mshType& mesh);
23
24void read_precomputed_solution_vtu(const std::string& file_name, const std::string& field_name, mshType& mesh);
25
26void read_element_data(const mshType& mesh, const std::string& fName, const std::string& kwrd, Vector<int>& tmpR);
27
28void read_vtu_pdata(const std::string& fName, const std::string& kwrd, const int nsd, const int m, const int idx, mshType& mesh);
29
30void read_vtus(Simulation* simulation, Array<double>& lA, Array<double>& lY, Array<double>& lD, const std::string& fName);
31
32void write_vtp(ComMod& com_mod, faceType& lFa, const std::string& fName);
33
34void write_vtu(ComMod& com_mod, mshType& lM, const std::string& fName);
35
36void write_vtu_debug(ComMod& com_mod, mshType& lM, const std::string& fName);
37
38void write_vtus(Simulation* simulation, const SolutionStates& solutions, const bool lAve);
39
40};
41
42#endif
43
44
The CmMod class duplicates the data structures in the Fortran CMMOD module defined in COMU....
Definition CmMod.h:35
The ComMod class duplicates the data structures in the Fortran COMMOD module defined in MOD....
Definition ComMod.h:1525
Definition Simulation.h:19
The Vector template class is used for storing int and double data.
Definition Vector.h:24
This type will be used to write data in the VTK files.
Definition ComMod.h:1223
The face type containing mesh at boundary.
Definition ComMod.h:519
This is the container for a mesh or NURBS patch, those specific to NURBS are noted.
Definition ComMod.h:871
Holds solution state at old, current, and intermediate time levels.
Definition SolutionStates.h:39