svMultiPhysics
Loading...
Searching...
No Matches
vtk_xml_parser.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 "ComMod.h"
5
6#ifndef VTK_XML_PARSER
7#define VTK_XML_PARSER
8
9namespace vtk_xml_parser {
10
11enum class VtkFileFormat {
12 VTP,
13 VTU
14};
15
17 public:
18 const static std::string VTK_VTU_EXTENSION;
19 const static std::string VTK_VTP_EXTENSION;
20};
21
22void load_fiber_direction_vtu(const std::string& file_name, const std::string& data_name, const int idx,
23 const int nsd, mshType& mesh);
24
25void load_vtp(const std::string& file_name, faceType& face);
26
27void load_vtp(const std::string& file_name, mshType& mesh);
28
29void load_vtu(const std::string& file_name, mshType& mesh);
30
31void load_vtu(const std::string& file_name, faceType& face);
32
33void load_time_varying_field_vtu(const std::string file_name, const std::string field_name, mshType& mesh);
34
35};
36
37#endif
38
39
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
Definition vtk_xml_parser.h:16