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 "ComMod.h"
6#include "Array.h"
7
8#ifndef VTK_XML_H
9#define VTK_XML_H
10
11namespace vtk_xml {
12
13void do_test();
14
15void int_msh_data(const ComMod& com_mod, const CmMod& cm_mod, const mshType& lM, dataType& d, const int outDof, const int nOute);
16
17void read_vtp(const std::string& file_name, faceType& face);
18
19void read_vtp_pdata(const std::string& fName, const std::string& kwrd, const int nsd, const int m, const int idx, faceType& face);
20
21void read_vtu(const std::string& file_name, mshType& mesh);
22
23void read_precomputed_solution_vtu(const std::string& file_name, const std::string& field_name, mshType& mesh);
24
25void read_vtu_pdata(const std::string& fName, const std::string& kwrd, const int nsd, const int m, const int idx, mshType& mesh);
26
27void read_vtus(Simulation* simulation, Array<double>& lA, Array<double>& lY, Array<double>& lD, const std::string& fName);
28
29void write_vtp(ComMod& com_mod, faceType& lFa, const std::string& fName);
30
31void write_vtu(ComMod& com_mod, mshType& lM, const std::string& fName);
32
33void write_vtu_debug(ComMod& com_mod, mshType& lM, const std::string& fName);
34
35void write_vtus(Simulation* simulation, const Array<double>& lA, const Array<double>& lY, const Array<double>& lD, const bool lAve);
36
37};
38
39#endif
40
41
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:1514
Definition Simulation.h:14
This type will be used to write data in the VTK files.
Definition ComMod.h:1212
The face type containing mesh at boundary.
Definition ComMod.h:511
This is the container for a mesh or NURBS patch, those specific to NURBS are noted.
Definition ComMod.h:863